diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ff366ad5..f3185183b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,15 @@ # Changelog ## 2025 * `mar` + * updated `teamcity-server` iamge + * added new `atlassian images`: `conflunece` 4 - 9, updated `jira` and `bitbucket`, added new `crowd` iamges. + * added new base images: `android-sdk` and `amxx-sdk` + * cleaned up `teamcity-agent` and `gitlab-runner` images * updated `kaniko-wrapper` to `2.0.0.1` * installed `buildah-wrapper` `0.0.0.2` - * Makefiles switched to buildah build runtime - * GHA switched to buildah build runtime - * updated nodejs, jdk images + * Makefiles switched to `buildah` build runtime + * `GHA` switched to `buildah` build runtime + * updated `nodejs`, `jdk` base images * `feb` * added `zabbix` images with `7.2` version * added `OpenSSL` version `3.4.x` and `1.0.2u`. diff --git a/Makefile b/Makefile index 82423b7c1..1ac8ed86e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = "2024.12.03" +VERSION = "2025.03.22" AUTHOR = "EpicMorg" MODIFIED = "STAM" DOCKER_SCAN_SUGGEST = false @@ -35,6 +35,9 @@ ansible.gen.jira: ansible.gen.confluence: cd `pwd`/bin/ansible && ansible-playbook ./generate.confluence.yml +ansible.gen.crowd: + cd `pwd`/bin/ansible && ansible-playbook ./generate.crowd.yml + ansible.gen.bitbucket: cd `pwd`/bin/ansible && ansible-playbook ./generate.bitbucket.yml @@ -98,7 +101,6 @@ advanced-images: advanced-mattermost-images: cd `pwd`/linux/advanced/mattermost && pwd && make build && make deploy - advanced-nextcloud-all-images: make advanced-nextcloud-all-latest-images make advanced-nextcloud-images @@ -116,12 +118,13 @@ advanced-nextcloud-patched-latest-images: advanced-teamcity-server-images: cd `pwd`/linux/advanced/teamcity/server/latest && pwd && make build && make deploy + cd `pwd`/linux/advanced/teamcity/server/2025.03 && pwd && make build && make deploy cd `pwd`/linux/advanced/teamcity/server/2024.12 && pwd && make build && make deploy - cd `pwd`/linux/advanced/teamcity/server/2024.07.3 && pwd && make build && make deploy - cd `pwd`/linux/advanced/teamcity/server/2024.03.3 && pwd && make build && make deploy - cd `pwd`/linux/advanced/teamcity/server/2023.05.6 && pwd && make build && make deploy - cd `pwd`/linux/advanced/teamcity/server/2022.10.6 && pwd && make build && make deploy - cd `pwd`/linux/advanced/teamcity/server/2022.04.7 && pwd && make build && make deploy +# cd `pwd`/linux/advanced/teamcity/server/2024.07.3 && pwd && make build && make deploy +# cd `pwd`/linux/advanced/teamcity/server/2024.03.3 && pwd && make build && make deploy +# cd `pwd`/linux/advanced/teamcity/server/2023.05.6 && pwd && make build && make deploy +# cd `pwd`/linux/advanced/teamcity/server/2022.10.6 && pwd && make build && make deploy +# cd `pwd`/linux/advanced/teamcity/server/2022.04.7 && pwd && make build && make deploy #################################################################################################################### @@ -1173,77 +1176,9 @@ ecosystem-postgres-images: ecosystem-teamcity-agent-images: cd `pwd`/linux/ecosystem/teamcity/agent/latest && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/amxx-sdk/1.9 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/amxx-sdk/1.10 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/android-sdk/jdk8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/android-sdk/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/android-sdk/jdk17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/atlassian-sdk && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/dotnet-sdk && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node0.12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node4 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node5 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node6 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node7 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node9 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node10 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node13 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node14 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node15 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node16 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node18 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node19 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node20 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node21 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/teamcity/agent/node22 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/php7.2 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/php8.0 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/php8.1 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/php8.2 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/php8.3 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy ecosystem-gitlab-runner-images: cd `pwd`/linux/ecosystem/gitlab/runner/latest && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/amxx-sdk/1.9 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/amxx-sdk/1.10 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/android-sdk/jdk8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/android-sdk/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/android-sdk/jdk17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/atlassian-sdk && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/dotnet-sdk && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node0.12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node4 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node5 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node6 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node7 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node9 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node10 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node13 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node14 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node15 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node16 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node18 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node19 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node20 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node21 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/gitlab/runner/node22 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/gitlab/runner/php7.2 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/gitlab/runner/php7.3 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/gitlab/runner/php7.4 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/gitlab/runner/php8.1 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/gitlab/runner/php8.2 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/gitlab/runner/php8.3 && pwd && make build && make deploy ecosystem-nginx-images: cd `pwd`/linux/ecosystem/nginx/latest/mainline/main && pwd && make build && make deploy @@ -1931,6 +1866,10 @@ ecosystem-bitbucket-8-images: cd `pwd`/linux/ecosystem/atlassian/bitbucket/8/8.19.10 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/bitbucket/8/8.19.11 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/bitbucket/8/8.19.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/bitbucket/8/8.19.13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/bitbucket/8/8.19.14 && pwd && make build && make deploy + 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 @@ -1943,7 +1882,697 @@ ecosystem-bitbucket-9-images: cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.3.1 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.3.2 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.4.4 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.5.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/bitbucket/9/9.5.1 && pwd && make build && make deploy + 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/5.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.0.3 && 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.10.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.10.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.1.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.1.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.2.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.2.5 && 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.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.4.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.5.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.5.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.5.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.5.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.6.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.6.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.6.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.6.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.6.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.7.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.7.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.7.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.7.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.7.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.8.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/5/5.9.9 && pwd && make build && make deploy + +ecosystem-confluence-6-images: + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.0.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.0.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.0.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.10.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.10.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.10.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.10.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.11.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.11.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.11.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.12.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.12.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.12.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.12.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.12.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.23 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.13.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.1.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.14.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.14.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.14.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.14.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.15.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.2.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.2.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.5.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.5.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.5.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.5.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.6.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.7.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.7.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.7.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.7.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.8.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.8.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.8.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.8.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.8.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.9.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.9.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/6/6.9.3 && pwd && make build && make deploy + +ecosystem-confluence-7-images: + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.0.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.10.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.10.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.10.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.11.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.11.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.11.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.11.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.11.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.12.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.12.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.12.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.12.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.12.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.12.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.13.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.14.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.14.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.14.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.14.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.14.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.15.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.15.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.15.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.15.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.16.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.16.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.16.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.16.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.16.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.16.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.17.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.17.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.17.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.17.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.17.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.17.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.18.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.18.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.18.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.18.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.22 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.23 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.24 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.25 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.26 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.27 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.28 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.29 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.30 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.20.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.20.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.20.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.20.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.3.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.4.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.5.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.5.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.5.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.6.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.6.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.6.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.6.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.7.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.7.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.7.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.8.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.8.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.8.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.9.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.9.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.9.3 && pwd && make build && make deploy + +ecosystem-confluence-8-images: + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.1.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.2.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.3.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.4.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.4.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.6.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.6.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.6.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.7.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.7.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.8.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.8.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.9.8 && pwd && make build && make deploy + +ecosystem-confluence-9-images: + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/9/9.3.2 && pwd && make build && make deploy + +ecosystem-crowd-0-images: + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.4.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/0/0.4.5 && pwd && make build && make deploy + +ecosystem-crowd-1-images: + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.0.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.2.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.4.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.4.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.4.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.5.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.5.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.5.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.6.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/1.6.3 && pwd && make build && make deploy + + +ecosystem-crowd-2-images: + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.0.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.1.0-beta4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.2.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.2.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.2.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.3.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.3.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.3.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.5.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.5.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.5.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.5.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.5.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.5.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.5.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.6.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.6.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.6.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.6.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.6.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.6.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.6.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.7.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.7.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.7.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.8.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.8.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.8.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.8.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.8.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.9.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.9.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.9.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.10.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.10.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.10.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.11.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.11.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.11.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/2/2.12.0 && pwd && make build && make deploy + + +ecosystem-crowd-3-images: + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.0.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.1.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.1.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.1.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.2.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.3.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.3.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.3.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.3.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.4.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.4.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.4.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.5.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.5.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.6.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.6.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.7.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.7.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/3/3.7.2 && pwd && make build && make deploy + + +ecosystem-crowd-4-images: + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.0.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.1.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.2.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.2.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.2.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.3.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.3.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.3.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.3.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.3.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.3.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.3.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.4.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.4.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.4.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.4.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/4/4.4.6 && pwd && make build && make deploy + +ecosystem-crowd-5-images: + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.0.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.1.13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.2.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.3.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.3.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.3.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/5/5.3.6 && pwd && make build && make deploy + +ecosystem-crowd-6-images: + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.0.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.0.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.0.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.0.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.0.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.1.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.1.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.1.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.1.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.1.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.2.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.2.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crowd/6/6.2.3 && pwd && make build && make deploy ecosystem-jira-4-images: cd `pwd`/linux/ecosystem/atlassian/jira/4/4.1.1 && pwd && make build && make deploy @@ -2383,6 +3012,8 @@ ecosystem-jira-9-lts-images: cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.15 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.16 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.19 && pwd && make build && make deploy ecosystem-jira-10-images: cd `pwd`/linux/ecosystem/atlassian/jira/10/10.0.0 && pwd && make build && make deploy @@ -2394,6 +3025,11 @@ ecosystem-jira-10-images: cd `pwd`/linux/ecosystem/atlassian/jira/10/10.3.0 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/jira/10/10.3.1 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/jira/10/10.3.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/jira/10/10.3.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/jira/10/10.3.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/jira/10/10.4.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/jira/10/10.4.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/jira/10/10.5.0 && pwd && make build && make deploy bundle-base-images: @echo "=======================================" @@ -2414,6 +3050,32 @@ bundle-gitlab: @echo "=======================================" make ecosystem-gitlab-runner-images +bundle-confluence: + @echo "=======================================" + @echo "===== Building All Confluence images =====" + @echo "=======================================" +# make ecosystem-confluence-1-images +# make ecosystem-confluence-2-images +# make ecosystem-confluence-3-images + make ecosystem-confluence-4-images + make ecosystem-confluence-5-images + make ecosystem-confluence-6-images + make ecosystem-confluence-7-images + make ecosystem-confluence-8-images + make ecosystem-confluence-9-images + +bundle-crowd: + @echo "=======================================" + @echo "===== Building All Crowd images =====" + @echo "=======================================" + make ecosystem-crowd-0-images + make ecosystem-crowd-1-images + make ecosystem-crowd-2-images + make ecosystem-crowd-3-images + make ecosystem-crowd-4-images + make ecosystem-crowd-5-images + make ecosystem-crowd-6-images + bundle-bitbucket: @echo "=======================================" @echo "===== Building All Bitbucket images =====" diff --git a/bin/ansible/generate.crowd.yml b/bin/ansible/generate.crowd.yml new file mode 100644 index 000000000..2835d379b --- /dev/null +++ b/bin/ansible/generate.crowd.yml @@ -0,0 +1,21 @@ +- name: Clear log file before write new stdout to it at this session + hosts: localhost + connection: local + tasks: + - name: echo -n > output.log + shell: echo -n > output.log + +- name: Lets Go! + hosts: localhost + connection: local + tasks: + - name: Create directory for ansible custom facts + debug: + msg: "[ Python: {{ ansible_facts['python_version'] }}, OS: {{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }} ({{ansible_architecture }}), Ansible: {{ ansible_version.full }}]" + +- name: Generate Crowd images + hosts: localhost + connection: local + gather_facts: false + roles: + - atlassian.crowd diff --git a/bin/ansible/roles/atlassian.bitbucket/tasks/main.yml b/bin/ansible/roles/atlassian.bitbucket/tasks/main.yml index de5be1f20..0a7b0bb3b 100644 --- a/bin/ansible/roles/atlassian.bitbucket/tasks/main.yml +++ b/bin/ansible/roles/atlassian.bitbucket/tasks/main.yml @@ -1,23 +1,23 @@ -- name: "Generate images for Stash (Bitbucket) 1 (jdk7)" - import_tasks: atlassian.bitbucket.1.jdk7.yml - -- name: "Generate images for Stash (Bitbucket) 2 (jdk7)" - import_tasks: atlassian.bitbucket.2.jdk7.yml - -- name: "Generate images for Stash (Bitbucket) 3 (jdk8)" - import_tasks: atlassian.bitbucket.3.jdk8.yml - -- name: "Generate images for Bitbucket 4 (jdk8)" - import_tasks: atlassian.bitbucket.4.jdk8.yml - -- name: "Generate images for Bitbucket 5 (jdk8)" - import_tasks: atlassian.bitbucket.5.jdk8.yml - -- name: "Generate images for Bitbucket 6 (jdk8 + jdk11)" - import_tasks: atlassian.bitbucket.6.jdk8-11.yml - -- name: "Generate images for Bitbucket 7 (jdk8 + jdk11)" - import_tasks: atlassian.bitbucket.7.jdk8-11.yml +# - name: "Generate images for Stash (Bitbucket) 1 (jdk7)" +# import_tasks: atlassian.bitbucket.1.jdk7.yml +# +# - name: "Generate images for Stash (Bitbucket) 2 (jdk7)" +# import_tasks: atlassian.bitbucket.2.jdk7.yml +# +# - name: "Generate images for Stash (Bitbucket) 3 (jdk8)" +# import_tasks: atlassian.bitbucket.3.jdk8.yml +# +# - name: "Generate images for Bitbucket 4 (jdk8)" +# import_tasks: atlassian.bitbucket.4.jdk8.yml +# +# - name: "Generate images for Bitbucket 5 (jdk8)" +# import_tasks: atlassian.bitbucket.5.jdk8.yml +# +# - name: "Generate images for Bitbucket 6 (jdk8 + jdk11)" +# import_tasks: atlassian.bitbucket.6.jdk8-11.yml +# +# - name: "Generate images for Bitbucket 7 (jdk8 + jdk11)" +# import_tasks: atlassian.bitbucket.7.jdk8-11.yml - name: "Generate images for Bitbucket 8 (jdk8 + jdk11)" import_tasks: atlassian.bitbucket.8.jdk8-11.yml diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17-21.yml.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17-21.yml.j2 index e24713c30..0803d0959 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17-21.yml.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17-21.yml.j2 @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:{{ item }}" diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17.yml.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17.yml.j2 index 16adbc79a..7939d90c0 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17.yml.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk17.yml.j2 @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:{{ item }}" diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk7.yml.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk7.yml.j2 index 5f32b5672..654bdaef2 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk7.yml.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk7.yml.j2 @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:{{ item }}" diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 index f68849053..5cb96239a 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:{{ item }}" diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8.yml.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8.yml.j2 index 6ee54bd84..7da7bcaef 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8.yml.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/docker-compose/template.docker-compose.jdk8.yml.j2 @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:{{ item }}" diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk11.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk11.j2 index 283cfdff9..452ad037b 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk11.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk11.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk17.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk17.j2 index 8acf670fa..028680b0e 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk17.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk17.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk21.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk21.j2 index 9a7b2ef9b..094ea7e96 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk21.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk21.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk8.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk8.j2 index 1fed4773f..42655fe6d 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk8.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.jdk8.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk7.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk7.j2 index 9788cbcac..0408fc761 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk7.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk7.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk8.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk8.j2 index f0c45dacf..afe4437b7 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk8.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/dockerfile/template.Dockerfile.legacy.jdk8.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/env/template.bitbucket.4-9.env.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/env/template.bitbucket.4-9.env.j2 index 320f49a16..708e6b398 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/env/template.bitbucket.4-9.env.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/env/template.bitbucket.4-9.env.j2 @@ -1,2 +1,3 @@ RELEASE={{ item }} DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/bin/ansible/roles/atlassian.bitbucket/templates/env/template.stash.1-3.env.j2 b/bin/ansible/roles/atlassian.bitbucket/templates/env/template.stash.1-3.env.j2 index 29bd4caa3..179de5182 100644 --- a/bin/ansible/roles/atlassian.bitbucket/templates/env/template.stash.1-3.env.j2 +++ b/bin/ansible/roles/atlassian.bitbucket/templates/env/template.stash.1-3.env.j2 @@ -1,2 +1,3 @@ RELEASE={{ item }} DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/confluence/templates/5/Makefile b/bin/ansible/roles/atlassian.confluence/files/Makefile similarity index 100% rename from linux/ecosystem/atlassian/confluence/templates/5/Makefile rename to bin/ansible/roles/atlassian.confluence/files/Makefile diff --git a/linux/ecosystem/atlassian/confluence/templates/5/entrypoint.sh b/bin/ansible/roles/atlassian.confluence/files/entrypoint.sh similarity index 100% rename from linux/ecosystem/atlassian/confluence/templates/5/entrypoint.sh rename to bin/ansible/roles/atlassian.confluence/files/entrypoint.sh diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.4.jdk6-jdk7.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.4.jdk6-jdk7.yml new file mode 100644 index 000000000..9bb7d15a4 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.4.jdk6-jdk7.yml @@ -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 }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.4.jdk6.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.4.jdk6.yml new file mode 100644 index 000000000..b3181b8b2 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.4.jdk6.yml @@ -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 }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.5.jdk7-jdk8.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.5.jdk7-jdk8.yml new file mode 100644 index 000000000..4590c7861 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.5.jdk7-jdk8.yml @@ -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 }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.5.jdk7.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.5.jdk7.yml new file mode 100644 index 000000000..a74f6151d --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.5.jdk7.yml @@ -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 }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.6.jdk8.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.6.jdk8.yml new file mode 100644 index 000000000..57cad2ab2 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.6.jdk8.yml @@ -0,0 +1,52 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/confluence/6.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_6 }}/{{ 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_6 }}/{{ 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.jdk8.yml.j2" + dest: "{{ target_directory_confluence_6 }}/{{ item }}/docker-compose.yml" + 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_6 }}/{{ 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_6 }}/{{ 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_6 }}/{{ item }}/Makefile" + force: true + with_items: "{{ confluence_versions }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.7.jdk8-jdk11.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.7.jdk8-jdk11.yml new file mode 100644 index 000000000..75548d73d --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.7.jdk8-jdk11.yml @@ -0,0 +1,59 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/confluence/7.jdk8-11.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_7 }}/{{ 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_7 }}/{{ 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.jdk8-11.yml.j2" + dest: "{{ target_directory_confluence_7 }}/{{ item }}/docker-compose.yml" + 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_7 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ confluence_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk11.j2" + dest: "{{ target_directory_confluence_7 }}/{{ item }}/Dockerfile.jdk11" + 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_7 }}/{{ 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_7 }}/{{ item }}/Makefile" + force: true + with_items: "{{ confluence_versions }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.7.jdk8.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.7.jdk8.yml new file mode 100644 index 000000000..d9e66aaf6 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.7.jdk8.yml @@ -0,0 +1,52 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/confluence/7.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_7 }}/{{ 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_7 }}/{{ 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.jdk8.yml.j2" + dest: "{{ target_directory_confluence_7 }}/{{ item }}/docker-compose.yml" + 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_7 }}/{{ 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_7 }}/{{ 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_7 }}/{{ item }}/Makefile" + force: true + with_items: "{{ confluence_versions }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.8.jdk11-jdk17.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.8.jdk11-jdk17.yml new file mode 100644 index 000000000..be106882c --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.8.jdk11-jdk17.yml @@ -0,0 +1,59 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/confluence/8.jdk11-17.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_8 }}/{{ 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_8 }}/{{ 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.jdk11-17.yml.j2" + dest: "{{ target_directory_confluence_8 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ confluence_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk11.j2" + dest: "{{ target_directory_confluence_8 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ confluence_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk17.j2" + dest: "{{ target_directory_confluence_8 }}/{{ item }}/Dockerfile.jdk17" + 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_8 }}/{{ 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_8 }}/{{ item }}/Makefile" + force: true + with_items: "{{ confluence_versions }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.9.jdk17-jdk21.yml b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.9.jdk17-jdk21.yml new file mode 100644 index 000000000..cf908af37 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/atlassian.confluence.9.jdk17-jdk21.yml @@ -0,0 +1,59 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/confluence/9.jdk17-21.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_9 }}/{{ 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_9 }}/{{ 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.jdk17-21.yml.j2" + dest: "{{ target_directory_confluence_9 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ confluence_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk17.j2" + dest: "{{ target_directory_confluence_9 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ confluence_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk21.j2" + dest: "{{ target_directory_confluence_9 }}/{{ item }}/Dockerfile.jdk21" + 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_9 }}/{{ 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_9 }}/{{ item }}/Makefile" + force: true + with_items: "{{ confluence_versions }}" diff --git a/bin/ansible/roles/atlassian.confluence/tasks/main.yml b/bin/ansible/roles/atlassian.confluence/tasks/main.yml new file mode 100644 index 000000000..02df74cb0 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/tasks/main.yml @@ -0,0 +1,26 @@ +# - 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 +# +# - name: "Generate images for Confluence 6 (jdk8)" +# import_tasks: atlassian.confluence.6.jdk8.yml +# +# - name: "Generat images for Confluence 7 (jdk8)" +# import_tasks: atlassian.confluence.7.jdk8.yml +# +# - name: "Generate images for Confluence 7 (jdk8 + jdk11)" +# import_tasks: atlassian.confluence.7.jdk8-jdk11.yml +# +# - name: "Generate images for Confluence 8 (jdk11 + jdk17)" +# import_tasks: atlassian.confluence.8.jdk11-jdk17.yml + +- name: "Generate images for Confluence 9 (jdk17 + jdk21)" + import_tasks: atlassian.confluence.9.jdk17-jdk21.yml diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk11-17.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk11-17.yml.j2 new file mode 100644 index 000000000..9f8b5e74c --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk11-17.yml.j2 @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:{{ item }}" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:{{ item }}-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:{{ item }}-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk17-21.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk17-21.yml.j2 new file mode 100644 index 000000000..c9fd30f07 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk17-21.yml.j2 @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:{{ item }}" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:{{ item }}-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:{{ item }}-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 new file mode 100644 index 000000000..3cda3f539 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 @@ -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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk6.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk6.yml.j2 new file mode 100644 index 000000000..d739453ca --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk6.yml.j2 @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:{{ item }}" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:{{ item }}-jdk6" + build: + context: . diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk7-8.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk7-8.yml.j2 new file mode 100644 index 000000000..55dde02d0 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk7-8.yml.j2 @@ -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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk7.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk7.yml.j2 new file mode 100644 index 000000000..c9eb71032 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk7.yml.j2 @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:{{ item }}" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:{{ item }}-jdk7" + build: + context: . diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 new file mode 100644 index 000000000..7c2376037 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 @@ -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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk8.yml.j2 b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk8.yml.j2 new file mode 100644 index 000000000..779495d21 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/docker-compose/template.docker-compose.jdk8.yml.j2 @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:{{ item }}" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:{{ item }}-jdk8" + build: + context: . diff --git a/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk11.j2 b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk11.j2 new file mode 100644 index 000000000..eeddafcc0 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk11.j2 @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk17.j2 b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk17.j2 new file mode 100644 index 000000000..e9a89a642 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk17.j2 @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk21.j2 b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk21.j2 new file mode 100644 index 000000000..6884fbc5a --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk21.j2 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk6.j2 b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk6.j2 new file mode 100644 index 000000000..f1d7e20f6 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk6.j2 @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk7.j2 b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk7.j2 new file mode 100644 index 000000000..31d416a75 --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk7.j2 @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk8.j2 b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk8.j2 new file mode 100644 index 000000000..bffdff30d --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/dockerfile/template.Dockerfile.jdk8.j2 @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/bin/ansible/roles/atlassian.confluence/templates/env/template.env.j2 b/bin/ansible/roles/atlassian.confluence/templates/env/template.env.j2 new file mode 100644 index 000000000..6b8a5f7ab --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/env/template.env.j2 @@ -0,0 +1,3 @@ +RELEASE={{ item }} +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz diff --git a/bin/ansible/roles/atlassian.confluence/templates/env/template.env.legacy.j2 b/bin/ansible/roles/atlassian.confluence/templates/env/template.env.legacy.j2 new file mode 100644 index 000000000..6b8a5f7ab --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/templates/env/template.env.legacy.j2 @@ -0,0 +1,3 @@ +RELEASE={{ item }} +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz diff --git a/bin/ansible/roles/atlassian.confluence/vars/main.yml b/bin/ansible/roles/atlassian.confluence/vars/main.yml new file mode 100644 index 000000000..3993ce12c --- /dev/null +++ b/bin/ansible/roles/atlassian.confluence/vars/main.yml @@ -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" diff --git a/linux/ecosystem/atlassian/confluence/templates/6/Makefile b/bin/ansible/roles/atlassian.crowd/files/Makefile similarity index 100% rename from linux/ecosystem/atlassian/confluence/templates/6/Makefile rename to bin/ansible/roles/atlassian.crowd/files/Makefile diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/README.md b/bin/ansible/roles/atlassian.crowd/files/README.md similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/README.md rename to bin/ansible/roles/atlassian.crowd/files/README.md diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/config/server.xml.j2 b/bin/ansible/roles/atlassian.crowd/files/config/server.xml.j2 similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/config/server.xml.j2 rename to bin/ansible/roles/atlassian.crowd/files/config/server.xml.j2 diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/entrypoint.py b/bin/ansible/roles/atlassian.crowd/files/entrypoint.py similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/entrypoint.py rename to bin/ansible/roles/atlassian.crowd/files/entrypoint.py diff --git a/bin/ansible/roles/atlassian.crowd/files/entrypoint.sh b/bin/ansible/roles/atlassian.crowd/files/entrypoint.sh new file mode 100644 index 000000000..66f97b77a --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/files/entrypoint.sh @@ -0,0 +1,37 @@ +#!/bin/bash +set -euo pipefail + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + + +# Start Bamboo 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" "${CROWD_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${CROWD_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${CROWD_HOME}" + fi + # Now drop privileges + cd /opt/atlassian/crowd + exec su -s /bin/bash "${RUN_USER}" -c "$CROWD_INSTALL_DIR/start_crowd.sh $@" +else + cd /opt/atlassian/crowd + exec "$CROWD_INSTALL_DIR/start_crowd.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/.gitignore b/bin/ansible/roles/atlassian.crowd/files/shared-components/.gitignore similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/.gitignore rename to bin/ansible/roles/atlassian.crowd/files/shared-components/.gitignore diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/LICENSE b/bin/ansible/roles/atlassian.crowd/files/shared-components/LICENSE similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/LICENSE rename to bin/ansible/roles/atlassian.crowd/files/shared-components/LICENSE diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/README.md b/bin/ansible/roles/atlassian.crowd/files/shared-components/README.md similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/README.md rename to bin/ansible/roles/atlassian.crowd/files/shared-components/README.md diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/image/entrypoint_helpers.py b/bin/ansible/roles/atlassian.crowd/files/shared-components/image/entrypoint_helpers.py similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/image/entrypoint_helpers.py rename to bin/ansible/roles/atlassian.crowd/files/shared-components/image/entrypoint_helpers.py diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/common.sh b/bin/ansible/roles/atlassian.crowd/files/shared-components/support/common.sh similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/common.sh rename to bin/ansible/roles/atlassian.crowd/files/shared-components/support/common.sh diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/heap-dump.sh b/bin/ansible/roles/atlassian.crowd/files/shared-components/support/heap-dump.sh similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/heap-dump.sh rename to bin/ansible/roles/atlassian.crowd/files/shared-components/support/heap-dump.sh diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/send-sig.sh b/bin/ansible/roles/atlassian.crowd/files/shared-components/support/send-sig.sh similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/send-sig.sh rename to bin/ansible/roles/atlassian.crowd/files/shared-components/support/send-sig.sh diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/thread-dumps.sh b/bin/ansible/roles/atlassian.crowd/files/shared-components/support/thread-dumps.sh similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/thread-dumps.sh rename to bin/ansible/roles/atlassian.crowd/files/shared-components/support/thread-dumps.sh diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/wait-pid.sh b/bin/ansible/roles/atlassian.crowd/files/shared-components/support/wait-pid.sh similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/wait-pid.sh rename to bin/ansible/roles/atlassian.crowd/files/shared-components/support/wait-pid.sh diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/waitport b/bin/ansible/roles/atlassian.crowd/files/shared-components/support/waitport similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shared-components/support/waitport rename to bin/ansible/roles/atlassian.crowd/files/shared-components/support/waitport diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/shutdown-wait.sh b/bin/ansible/roles/atlassian.crowd/files/shutdown-wait.sh similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/shutdown-wait.sh rename to bin/ansible/roles/atlassian.crowd/files/shutdown-wait.sh diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.0.jdk6.initial.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.0.jdk6.initial.yml new file mode 100644 index 000000000..54723fddc --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.0.jdk6.initial.yml @@ -0,0 +1,91 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/0.jdk6.init.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_0 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.initial.j2" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_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_crowd_0 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.initial.jdk6.j2" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.0.jdk6.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.0.jdk6.yml new file mode 100644 index 000000000..5f7d92b92 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.0.jdk6.yml @@ -0,0 +1,91 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/0.jdk6.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_0 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.legacy.j2" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_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_crowd_0 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.old.jdk6.j2" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_0 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.1.jdk6-jdk7-old.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.1.jdk6-jdk7-old.yml new file mode 100644 index 000000000..f512a8ca1 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.1.jdk6-jdk7-old.yml @@ -0,0 +1,98 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/1.jdk6-jdk7-old.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_1 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.legacy.j2" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_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_crowd_1 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.old.jdk6.j2" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile.jdk7 from template to each version directory + template: + src: "dockerfile/template.Dockerfile.old.jdk7.j2" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/Dockerfile.jdk7" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_1 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_1 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_0 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_1 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.1.jdk6-jdk7.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.1.jdk6-jdk7.yml new file mode 100644 index 000000000..0e63ddc5f --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.1.jdk6-jdk7.yml @@ -0,0 +1,98 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/1.jdk6-jdk7.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_1 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_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_crowd_1 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk6.nosed.j2" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile.jdk7 from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk7.nosed.j2" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/Dockerfile.jdk7" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_1 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_1 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_1 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_1 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_1 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.2.jdk6-jdk7.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.2.jdk6-jdk7.yml new file mode 100644 index 000000000..3cbe490fd --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.2.jdk6-jdk7.yml @@ -0,0 +1,98 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/2.jdk6-jdk7.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_2 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_crowd_2 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_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_crowd_2 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk6.nosed.j2" + dest: "{{ target_directory_crowd_2 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile.jdk7 from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk7.nosed.j2" + dest: "{{ target_directory_crowd_2 }}/{{ item }}/Dockerfile.jdk7" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_2 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_2 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_2 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_2 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_2 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_2 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_2 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.3.jdk6-jdk7.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.3.jdk6-jdk7.yml new file mode 100644 index 000000000..7514bc493 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.3.jdk6-jdk7.yml @@ -0,0 +1,98 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/3.jdk6-jdk7.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_3 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_crowd_3 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_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_crowd_3 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk6.j2" + dest: "{{ target_directory_crowd_3 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile.jdk7 from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk7.j2" + dest: "{{ target_directory_crowd_3 }}/{{ item }}/Dockerfile.jdk7" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_3 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_3 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_3 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_3 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_3 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_3 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_3 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.4.jdk8-jdk11.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.4.jdk8-jdk11.yml new file mode 100644 index 000000000..bdfe0a765 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.4.jdk8-jdk11.yml @@ -0,0 +1,98 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/4.jdk8-jdk11.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_4 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_crowd_4 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy docker-compose.yml from template to each version directory + template: + src: "docker-compose/template.docker-compose.jdk8-11.yml.j2" + dest: "{{ target_directory_crowd_4 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk8.j2" + dest: "{{ target_directory_crowd_4 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk11.j2" + dest: "{{ target_directory_crowd_4 }}/{{ item }}/Dockerfile.jdk11" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_4 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_4 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_4 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_4 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_4 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_4 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_4 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.5.jdk8-jdk11.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.5.jdk8-jdk11.yml new file mode 100644 index 000000000..42e506194 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.5.jdk8-jdk11.yml @@ -0,0 +1,98 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/5.jdk8-jdk11.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_5 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_crowd_5 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy docker-compose.yml from template to each version directory + template: + src: "docker-compose/template.docker-compose.jdk8-11.yml.j2" + dest: "{{ target_directory_crowd_5 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk8.j2" + dest: "{{ target_directory_crowd_5 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk11.j2" + dest: "{{ target_directory_crowd_5 }}/{{ item }}/Dockerfile.jdk11" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_5 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_5 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_5 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_5 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_5 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_5 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_5 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.6.jdk17.yml b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.6.jdk17.yml new file mode 100644 index 000000000..d8e57c990 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/atlassian.crowd.6.jdk17.yml @@ -0,0 +1,91 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/crowd/6.jdk17.txt" + register: version_output + +- name: Set version variable + set_fact: + crowd_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_crowd_6 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_crowd_6 }}/{{ item }}/.env" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy docker-compose.yml from template to each version directory + template: + src: "docker-compose/template.docker-compose.jdk17.yml.j2" + dest: "{{ target_directory_crowd_6 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk17.j2" + dest: "{{ target_directory_crowd_6 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy config from 'files' directory to each version directory +# copy: +# src: "config" +# dest: "{{ target_directory_crowd_6 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +#- name: Copy shared-components from 'files' directory to each version directory +# copy: +# src: "shared-components" +# dest: "{{ target_directory_crowd_6 }}/{{ item }}/" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_crowd_6 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy entrypoint.py from 'files' directory to each version directory +# copy: +# src: "entrypoint.py" +# dest: "{{ target_directory_crowd_6 }}/{{ item }}/entrypoint.py" +# mode: "0777" +# force: true +# with_items: "{{ crowd_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_crowd_6 }}/{{ item }}/Makefile" + force: true + with_items: "{{ crowd_versions }}" + +- name: Copy README.md from 'files' directory to each version directory + copy: + src: "README.md" + dest: "{{ target_directory_crowd_6 }}/{{ item }}/README.md" + force: true + with_items: "{{ crowd_versions }}" + +#- name: Copy shutdown-wait.sh from 'files' directory to each version directory +# copy: +# src: "shutdown-wait.sh" +# mode: "0777" +# dest: "{{ target_directory_crowd_6 }}/{{ item }}/shutdown-wait.sh" +# force: true +# with_items: "{{ crowd_versions }}" diff --git a/bin/ansible/roles/atlassian.crowd/tasks/main.yml b/bin/ansible/roles/atlassian.crowd/tasks/main.yml new file mode 100644 index 000000000..24285319c --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/tasks/main.yml @@ -0,0 +1,23 @@ +- name: "Generate images for Crowd 0 (jdk6) [init]" + import_tasks: atlassian.crowd.0.jdk6.initial.yml + +- name: "Generate images for Crowd 0 (jdk6)" + import_tasks: atlassian.crowd.0.jdk6.yml + +- name: "Generate images for Crowd 1 (jdk6 + jdk7)" + import_tasks: atlassian.crowd.1.jdk6-jdk7.yml + +- name: "Generate images for Crowd 2 (jdk6 + jdk7)" + import_tasks: atlassian.crowd.2.jdk6-jdk7.yml + +- name: "Generate images for Crowd 3 (jdk6 + jdk7)" + import_tasks: atlassian.crowd.3.jdk6-jdk7.yml + +- name: "Generate images for Crowd 4 (jdk8 + jdk11)" + import_tasks: atlassian.crowd.4.jdk8-jdk11.yml + +- name: "Generate images for Crowd 5 (jdk8 + jdk11)" + import_tasks: atlassian.crowd.5.jdk8-jdk11.yml + +- name: "Generate images for Crowd 6 (jdk17)" + import_tasks: atlassian.crowd.6.jdk17.yml diff --git a/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk17.j2 b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk17.j2 new file mode 100644 index 000000000..2b52a1438 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk17.j2 @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/crowd:{{ item }}" + build: + context: . + app-jdk17: + image: "epicmorg/crowd:{{ item }}-jdk17" + build: + context: . diff --git a/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 new file mode 100644 index 000000000..71195f6c8 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/crowd:{{ item }}" + build: + context: . + app-jdk6: + image: "epicmorg/crowd:{{ item }}-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/crowd:{{ item }}-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk6.yml.j2 b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk6.yml.j2 new file mode 100644 index 000000000..c51284291 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk6.yml.j2 @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/crowd:{{ item }}" + build: + context: . + app-jdk6: + image: "epicmorg/crowd:{{ item }}-jdk6" + build: + context: . diff --git a/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 new file mode 100644 index 000000000..c4e3891e1 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/crowd:{{ item }}" + build: + context: . + app-jdk8: + image: "epicmorg/crowd:{{ item }}-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/crowd:{{ item }}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.initial.jdk6.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.initial.jdk6.j2 new file mode 100644 index 000000000..672b4e1e3 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.initial.jdk6.j2 @@ -0,0 +1,87 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-{{ item }}.zip +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-{{ item }}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/crowd-temp && \ + mv /tmp/crowd-temp/*/* "${CROWD_INSTALL_DIR}" && \ + sed -i -e '2s/^exec/cd "`dirname "$0"`" \&\& exec/' ${CROWD_INSTALL_DIR}/start_crowd.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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ +# sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk11.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk11.j2 new file mode 100644 index 000000000..c306f29ac --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk11.j2 @@ -0,0 +1,85 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk17.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk17.j2 new file mode 100644 index 000000000..03a595f34 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk17.j2 @@ -0,0 +1,85 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk21.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk21.j2 new file mode 100644 index 000000000..919d8f58b --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk21.j2 @@ -0,0 +1,86 @@ +FROM epicmorg/debian:bookworm-jdk21 + +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk6.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk6.j2 new file mode 100644 index 000000000..1ca795c13 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk6.j2 @@ -0,0 +1,85 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk6.nosed.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk6.nosed.j2 new file mode 100644 index 000000000..47889f150 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk6.nosed.j2 @@ -0,0 +1,87 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_INSTALL_DIR}" && \ + sed -i -e '2s/^exec/cd "`dirname "$0"`" \&\& exec/' ${CROWD_INSTALL_DIR}/start_crowd.sh && \ + sed -i -e 's#exec "$PRGDIR"/"$EXECUTABLE" start "$@"#exec "$PRGDIR"/"$EXECUTABLE" run "$@"#g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/startup.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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk7.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk7.j2 new file mode 100644 index 000000000..6f459ed07 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk7.j2 @@ -0,0 +1,85 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk7.nosed.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk7.nosed.j2 new file mode 100644 index 000000000..0c0fea02e --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk7.nosed.j2 @@ -0,0 +1,87 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_INSTALL_DIR}" && \ + sed -i -e '2s/^exec/cd "`dirname "$0"`" \&\& exec/' ${CROWD_INSTALL_DIR}/start_crowd.sh && \ + sed -i -e 's#exec "$PRGDIR"/"$EXECUTABLE" start "$@"#exec "$PRGDIR"/"$EXECUTABLE" run "$@"#g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/startup.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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk8.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk8.j2 new file mode 100644 index 000000000..0ecde36ed --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.jdk8.j2 @@ -0,0 +1,85 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ + sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.old.jdk6.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.old.jdk6.j2 new file mode 100644 index 000000000..4a45d8728 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.old.jdk6.j2 @@ -0,0 +1,87 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/crowd-{{ item }}-std.zip +ARG TEMP_ARCHIVE=/tmp/crowd-{{ item }}-std.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/crowd-temp && \ + mv /tmp/crowd-temp/*/* "${CROWD_INSTALL_DIR}" && \ + sed -i -e '2s/^exec/cd "`dirname "$0"`" \&\& exec/' ${CROWD_INSTALL_DIR}/start_crowd.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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ +# sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.old.jdk7.j2 b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.old.jdk7.j2 new file mode 100644 index 000000000..881e84dff --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/dockerfile/template.Dockerfile.old.jdk7.j2 @@ -0,0 +1,87 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/crowd-{{ item }}-std.zip +ARG TEMP_ARCHIVE=/tmp/crowd-{{ item }}-std.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon +ENV APP_NAME crowd + +#2004 +#ENV RUN_UID 0 +#ENV RUN_GID 0 + +# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html +ENV CROWD_HOME /var/atlassian/application-data/crowd +ENV CROWD_INSTALL_DIR /opt/atlassian/crowd +ENV CROWD_DB ${CROWD_INSTALL_DIR}/database + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && \ + apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p ${CROWD_INSTALL_DIR} ${CROWD_DB} /opt/atlassian/support /opt/atlassian/etc && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/crowd-temp && \ + mv /tmp/crowd-temp/*/* "${CROWD_INSTALL_DIR}" && \ + sed -i -e '2s/^exec/cd "`dirname "$0"`" \&\& exec/' ${CROWD_INSTALL_DIR}/start_crowd.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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ +# sed -i -e 's/port="8095"/port="8095" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${CROWD_INSTALL_DIR}/apache-tomcat/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/* + +COPY entrypoint.sh / +#COPY shutdown-wait.sh / +#COPY shared-components/image/entrypoint_helpers.py / +#COPY shared-components/support /opt/atlassian/support +#COPY config/* /opt/atlassian/etc/ + +RUN chmod +x /entrypoint.sh && \ +# chmod +x /entrypoint.py && \ +# chmod +x /shutdown-wait.sh && \ +# chmod +x /entrypoint_helpers.py && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${CROWD_INSTALL_DIR} + +################################################################## +# 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/* + +# Expose HTTP port +EXPOSE 8095 + +VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms +VOLUME ["${CROWD_DB}"] # Must be declared after setting perms +WORKDIR ${CROWD_HOME} + +CMD ["/entrypoint.sh", "-fg"] +#CMD ["/entrypoint.py"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/bin/ansible/roles/atlassian.crowd/templates/env/template.env.initial.j2 b/bin/ansible/roles/atlassian.crowd/templates/env/template.env.initial.j2 new file mode 100644 index 000000000..ad03d0655 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/env/template.env.initial.j2 @@ -0,0 +1,3 @@ +RELEASE={{ item }} +DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.zip diff --git a/bin/ansible/roles/atlassian.crowd/templates/env/template.env.j2 b/bin/ansible/roles/atlassian.crowd/templates/env/template.env.j2 new file mode 100644 index 000000000..13e1d2f16 --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/env/template.env.j2 @@ -0,0 +1,3 @@ +RELEASE={{ item }} +DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-crowd-${RELEASE}.tar.gz diff --git a/bin/ansible/roles/atlassian.crowd/templates/env/template.env.legacy.j2 b/bin/ansible/roles/atlassian.crowd/templates/env/template.env.legacy.j2 new file mode 100644 index 000000000..78888e54b --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/templates/env/template.env.legacy.j2 @@ -0,0 +1,3 @@ +RELEASE={{ item }} +DOWNLOAD_URL=https://www.atlassian.com/software/crowd/downloads/binary/crowd-${RELEASE}-std.zip +TEMP_ARCHIVE=/tmp/crowd-${RELEASE}-std.zip diff --git a/bin/ansible/roles/atlassian.crowd/vars/main.yml b/bin/ansible/roles/atlassian.crowd/vars/main.yml new file mode 100644 index 000000000..c295f2fbe --- /dev/null +++ b/bin/ansible/roles/atlassian.crowd/vars/main.yml @@ -0,0 +1,8 @@ +# Defaults +target_directory_crowd_0: "/opt/tmp/crowd/0" +target_directory_crowd_1: "/opt/tmp/crowd/1" +target_directory_crowd_2: "/opt/tmp/crowd/2" +target_directory_crowd_3: "/opt/tmp/crowd/3" +target_directory_crowd_4: "/opt/tmp/crowd/4" +target_directory_crowd_5: "/opt/tmp/crowd/5" +target_directory_crowd_6: "/opt/tmp/crowd/6" diff --git a/bin/ansible/roles/atlassian.jira/tasks/main.yml b/bin/ansible/roles/atlassian.jira/tasks/main.yml index 26c85d802..ef50677e3 100644 --- a/bin/ansible/roles/atlassian.jira/tasks/main.yml +++ b/bin/ansible/roles/atlassian.jira/tasks/main.yml @@ -1,31 +1,31 @@ # broken envs, generating without it #- name: "Generate images for Jira 4 (jdk6)" # import_tasks: atlassian.jira.4.jdk6.yml - -- name: "Generate images for Jira 5.0-5.1 (jdk6)" - import_tasks: atlassian.jira.5.jdk6.yml - -- name: "Generate images for Jira 5.2 (jdk6, jdk7)" - import_tasks: atlassian.jira.5.jdk6-7.yml - -- name: "Generate images for Jira 6.0-6.2 (jdk7)" - import_tasks: atlassian.jira.6.jdk7.yml - -- name: "Generate images for Jira 6.3-6.4 (jdk7, jdk8)" - import_tasks: atlassian.jira.6.jdk7-8.yml - -- name: "Generate images for Jira 7 (jdk8) - old links" - import_tasks: atlassian.jira.7.jdk8p1.yml - -- name: "Generate images for Jira 7 (jdk8)" - import_tasks: atlassian.jira.7.jdk8p2.yml - -- name: "Generate images for Jira 8.0-8.1 (jdk8)" - import_tasks: atlassian.jira.8.jdk8.yml - -- name: "Generate images for Jira 8.2-8.20 (jdk8, jdk11)" - import_tasks: atlassian.jira.8.jdk8-11.yml - +# +# - name: "Generate images for Jira 5.0-5.1 (jdk6)" +# import_tasks: atlassian.jira.5.jdk6.yml +# +# - name: "Generate images for Jira 5.2 (jdk6, jdk7)" +# import_tasks: atlassian.jira.5.jdk6-7.yml +# +# - name: "Generate images for Jira 6.0-6.2 (jdk7)" +# import_tasks: atlassian.jira.6.jdk7.yml +# +# - name: "Generate images for Jira 6.3-6.4 (jdk7, jdk8)" +# import_tasks: atlassian.jira.6.jdk7-8.yml +# +# - name: "Generate images for Jira 7 (jdk8) - old links" +# import_tasks: atlassian.jira.7.jdk8p1.yml +# +# - name: "Generate images for Jira 7 (jdk8)" +# import_tasks: atlassian.jira.7.jdk8p2.yml +# +# - name: "Generate images for Jira 8.0-8.1 (jdk8)" +# import_tasks: atlassian.jira.8.jdk8.yml +# +# - name: "Generate images for Jira 8.2-8.20 (jdk8, jdk11)" +# import_tasks: atlassian.jira.8.jdk8-11.yml +# - name: "Generate images for Jira 9.0-9.5 (jdk8, jdk11)" import_tasks: atlassian.jira.9.jdk8-11.yml diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk17.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk17.yml.j2 index cb88da0f0..3aa50774e 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk17.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk17.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 index fc788c491..5a451f393 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6.yml.j2 index 7c0712a62..330394070 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk6.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7-8.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7-8.yml.j2 index 62547b6af..a846937e8 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7-8.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7-8.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7.yml.j2 index e72251d13..baa21b7fc 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk7.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11-17.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11-17.yml.j2 index 19485a51b..740c7b70d 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11-17.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11-17.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 index accdeba7e..04ce86f12 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8-11.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8.yml.j2 b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8.yml.j2 index c6937be1e..bb2ba0d44 100644 --- a/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8.yml.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/docker-compose/template.docker-compose.jdk8.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:{{ item }}" diff --git a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk11.j2 b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk11.j2 index 30226eb66..5011b4e77 100644 --- a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk11.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk11.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk17.j2 b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk17.j2 index 5c29676f2..c55fc35a2 100644 --- a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk17.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk17.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk6.j2 b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk6.j2 index 4a182537e..03b51ee4f 100644 --- a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk6.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk6.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk7.j2 b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk7.j2 index c67ffe8e6..33c550183 100644 --- a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk7.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk7.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy.j2 b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy.j2 index 5bf48b8eb..a4c15572a 100644 --- a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy2software.j2 b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy2software.j2 index 310b0a374..9328dc88d 100644 --- a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy2software.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8-legacy2software.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8.j2 b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8.j2 index 22799ca68..8411ff0ca 100644 --- a/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/dockerfile/template.Dockerfile.jdk8.j2 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE={{ item }} ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/bin/ansible/roles/atlassian.jira/templates/env/template.env.j2 b/bin/ansible/roles/atlassian.jira/templates/env/template.env.j2 index 5d7eb59e2..8b4694d79 100644 --- a/bin/ansible/roles/atlassian.jira/templates/env/template.env.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/env/template.env.j2 @@ -1,2 +1,3 @@ RELEASE={{ item }} -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy.j2 b/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy.j2 index 6a7300d01..72e2b04bb 100644 --- a/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy.j2 @@ -1,2 +1,3 @@ RELEASE={{ item }} DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz \ No newline at end of file diff --git a/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy2software.j2 b/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy2software.j2 index 7d71cfca9..98df53971 100644 --- a/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy2software.j2 +++ b/bin/ansible/roles/atlassian.jira/templates/env/template.env.legacy2software.j2 @@ -1,2 +1,3 @@ RELEASE={{ item }} DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}-jira-${RELEASE}.tar.gz \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/0.txt b/bin/ansible/roles/common/files/versions/bamboo/0.txt new file mode 100644 index 000000000..f514a2f0b --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/0.txt @@ -0,0 +1 @@ +0.9.1 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/1.txt b/bin/ansible/roles/common/files/versions/bamboo/1.txt new file mode 100644 index 000000000..c6eecac43 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/1.txt @@ -0,0 +1,17 @@ +1.0 +1.0-beta +1.0-rc1 +1.0-rc2 +1.0.1 +1.0.2 +1.0.3 +1.0.4 +1.0.5 +1.1 +1.1.1 +1.1.2 +1.2 +1.2.1 +1.2.2 +1.2.3 +1.2.4 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/10.txt b/bin/ansible/roles/common/files/versions/bamboo/10.txt new file mode 100644 index 000000000..50ba69232 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/10.txt @@ -0,0 +1,9 @@ +10.0.0 +10.0.1 +10.0.2 +10.0.3 +10.1.0 +10.1.1 +10.2.0 +10.2.1 +10.2.2 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/2.txt b/bin/ansible/roles/common/files/versions/bamboo/2.txt new file mode 100644 index 000000000..201d63ceb --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/2.txt @@ -0,0 +1,37 @@ +2.0 +2.0.1 +2.0.2 +2.0.3 +2.0.4 +2.0.5 +2.0.6 +2.1 +2.1.1 +2.1.2 +2.1.3 +2.1.4 +2.1.5 +2.2 +2.2.1 +2.2.2 +2.2.3 +2.2.4 +2.3.1 +2.3.2-beta2 +2.4.0 +2.4.1 +2.4.2 +2.4.3 +2.5 +2.5.1 +2.5.2 +2.5.3 +2.5.5 +2.6 +2.6.1 +2.6.2 +2.6.3 +2.7.1 +2.7.2 +2.7.3 +2.7.4 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/3.txt b/bin/ansible/roles/common/files/versions/bamboo/3.txt new file mode 100644 index 000000000..6886e93a3 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/3.txt @@ -0,0 +1,22 @@ +3.0 +3.0.1 +3.0.2 +3.0.3 +3.0.5 +3.1 +3.1.1 +3.1.4 +3.2 +3.2.2 +3.3 +3.3.1 +3.3.2 +3.3.3 +3.3.4 +3.3.4.0 +3.4 +3.4.1 +3.4.2 +3.4.3 +3.4.4 +3.4.5 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/4.txt b/bin/ansible/roles/common/files/versions/bamboo/4.txt new file mode 100644 index 000000000..7bd3c2110 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/4.txt @@ -0,0 +1,20 @@ +4.0 +4.0.1 +4.1 +4.1.1 +4.1.2 +4.2 +4.2.1 +4.2.2 +4.3 +4.3.1 +4.3.2 +4.3.3 +4.3.4 +4.4.0 +4.4.1 +4.4.2 +4.4.3 +4.4.4 +4.4.5 +4.4.8 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/5.txt b/bin/ansible/roles/common/files/versions/bamboo/5.txt new file mode 100644 index 000000000..88f3680f7 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/5.txt @@ -0,0 +1,63 @@ +5.0 +5.0-beta1 +5.0-beta2 +5.0-beta3 +5.0.1 +5.1.0 +5.1.1 +5.2 +5.2.1 +5.2.2 +5.3 +5.4 +5.4.1 +5.4.2 +5.4.3 +5.5.0 +5.5.1 +5.6.0 +5.6.1 +5.6.2 +5.6.3 +5.7.0 +5.7.1 +5.7.2 +5.8.0 +5.8.1 +5.8.2 +5.8.5 +5.9.0 +5.9.1 +5.9.3 +5.9.7 +5.9.10 +5.10.0 +5.10.0-beta01 +5.10.1.1 +5.10.2 +5.10.3 +5.11.1 +5.11.1.1 +5.11.3 +5.11.4.1 +5.12.0.2 +5.12.1 +5.12.2 +5.12.2.1 +5.12.3.1 +5.12.4 +5.12.5 +5.13.0.1 +5.13.1 +5.13.2 +5.14.0.1 +5.14.0.2 +5.14.1 +5.14.3.1 +5.14.4.1 +5.14.5 +5.15.0.1 +5.15.2 +5.15.3 +5.15.5 +5.15.7 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/6.txt b/bin/ansible/roles/common/files/versions/bamboo/6.txt new file mode 100644 index 000000000..5c3a04b69 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/6.txt @@ -0,0 +1,51 @@ +6.0.0 +6.0.1 +6.0.2 +6.0.3 +6.0.4 +6.0.5 +6.1.0 +6.1.0-rc3 +6.1.1 +6.1.4 +6.1.6 +6.2.0-eap3 +6.2.1 +6.2.2 +6.2.3 +6.2.5 +6.2.8 +6.2.9 +6.3.0 +6.3.0-rc3 +6.3.1 +6.3.2 +6.3.3 +6.3.4 +6.4.0 +6.4.0-rc1 +6.4.1 +6.4.2 +6.5.0 +6.5.0-rc1 +6.5.1 +6.6.0 +6.6.1 +6.6.2 +6.6.3 +6.7.0-rc2 +6.7.1 +6.7.2 +6.7.3 +6.8.0 +6.8.1 +6.8.2 +6.8.3 +6.9.0 +6.9.1 +6.9.2 +6.10.2 +6.10.3 +6.10.4 +6.10.5 +6.10.6 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/7.txt b/bin/ansible/roles/common/files/versions/bamboo/7.txt new file mode 100644 index 000000000..bc4720a6f --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/7.txt @@ -0,0 +1,18 @@ +7.0.1 +7.0.2 +7.0.3 +7.0.4 +7.0.6 +7.1.0-rc1 +7.1.1 +7.1.2 +7.1.3 +7.1.4 +7.2.1 +7.2.2 +7.2.3 +7.2.4 +7.2.5 +7.2.6 +7.2.7 +7.2.10 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/8.txt b/bin/ansible/roles/common/files/versions/bamboo/8.txt new file mode 100644 index 000000000..5f830d6b0 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/8.txt @@ -0,0 +1,34 @@ +8.0.0 +8.0.1 +8.0.2 +8.0.3 +8.0.4 +8.0.5 +8.0.6 +8.0.7 +8.0.8 +8.0.9 +8.0.10 +8.0.11 +8.0.12 +8.0.13 +8.1.1 +8.1.2 +8.1.3 +8.1.5 +8.1.6 +8.1.7 +8.1.8 +8.1.9 +8.1.10 +8.1.11 +8.1.12 +8.2.1 +8.2.2 +8.2.3 +8.2.4 +8.2.5 +8.2.6 +8.2.7 +8.2.8 +8.2.9 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bamboo/9.txt b/bin/ansible/roles/common/files/versions/bamboo/9.txt new file mode 100644 index 000000000..10769ea8c --- /dev/null +++ b/bin/ansible/roles/common/files/versions/bamboo/9.txt @@ -0,0 +1,60 @@ +9.0.0 +9.0.1 +9.0.2 +9.0.3 +9.0.4 +9.1.0 +9.1.1 +9.1.2 +9.1.3 +9.2.1 +9.2.3 +9.2.4 +9.2.5 +9.2.6 +9.2.7 +9.2.8 +9.2.9 +9.2.10 +9.2.11 +9.2.12 +9.2.13 +9.2.14 +9.2.15 +9.2.16 +9.2.17 +9.2.18 +9.2.19 +9.2.20 +9.2.21 +9.2.22 +9.2.24 +9.3.0 +9.3.1 +9.3.2 +9.3.3 +9.3.4 +9.3.5 +9.3.6 +9.4.0 +9.4.1 +9.4.2 +9.4.3 +9.4.4 +9.5.0 +9.5.1 +9.5.2 +9.5.3 +9.5.4 +9.6.0 +9.6.1 +9.6.2 +9.6.3 +9.6.4 +9.6.5 +9.6.6 +9.6.7 +9.6.8 +9.6.9 +9.6.10 +9.6.11 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bitbucket/8.jdk17.txt b/bin/ansible/roles/common/files/versions/bitbucket/8.jdk17.txt index d103df0fd..1bc47a721 100644 --- a/bin/ansible/roles/common/files/versions/bitbucket/8.jdk17.txt +++ b/bin/ansible/roles/common/files/versions/bitbucket/8.jdk17.txt @@ -15,4 +15,8 @@ 8.19.9 8.19.10 8.19.11 -8.19.12 \ No newline at end of file +8.19.12 +8.19.13 +8.19.14 +8.19.15 +8.19.16 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/bitbucket/9.jdk17-21.txt b/bin/ansible/roles/common/files/versions/bitbucket/9.jdk17-21.txt index 30bc78756..bb2ebc969 100644 --- a/bin/ansible/roles/common/files/versions/bitbucket/9.jdk17-21.txt +++ b/bin/ansible/roles/common/files/versions/bitbucket/9.jdk17-21.txt @@ -2,4 +2,11 @@ 9.3.1 9.3.2 9.4.0 +9.4.1 +9.4.2 +9.4.3 +9.4.4 9.5.0 +9.5.1 +9.5.2 +9.6.0 diff --git a/bin/ansible/roles/common/files/versions/confluence/1.jdk6.txt b/bin/ansible/roles/common/files/versions/confluence/1.jdk6.txt new file mode 100644 index 000000000..a74fd647a --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/1.jdk6.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/2.jdk6.txt b/bin/ansible/roles/common/files/versions/confluence/2.jdk6.txt new file mode 100644 index 000000000..f41fa7333 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/2.jdk6.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/3.jdk6.txt b/bin/ansible/roles/common/files/versions/confluence/3.jdk6.txt new file mode 100644 index 000000000..795d49529 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/3.jdk6.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/4.jdk6-jdk7.txt b/bin/ansible/roles/common/files/versions/confluence/4.jdk6-jdk7.txt new file mode 100644 index 000000000..f1075034b --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/4.jdk6-jdk7.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/4.jdk6.txt b/bin/ansible/roles/common/files/versions/confluence/4.jdk6.txt new file mode 100644 index 000000000..f18d6aa58 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/4.jdk6.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/5.jdk7-jdk8.txt b/bin/ansible/roles/common/files/versions/confluence/5.jdk7-jdk8.txt new file mode 100644 index 000000000..e40832d97 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/5.jdk7-jdk8.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/5.jdk7.txt b/bin/ansible/roles/common/files/versions/confluence/5.jdk7.txt new file mode 100644 index 000000000..d9fd92896 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/5.jdk7.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/6.jdk8.txt b/bin/ansible/roles/common/files/versions/confluence/6.jdk8.txt new file mode 100644 index 000000000..167a7eb94 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/6.jdk8.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/7.jdk8-11.txt b/bin/ansible/roles/common/files/versions/confluence/7.jdk8-11.txt new file mode 100644 index 000000000..482f2c220 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/7.jdk8-11.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/7.jdk8.txt b/bin/ansible/roles/common/files/versions/confluence/7.jdk8.txt new file mode 100644 index 000000000..e12af23b1 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/7.jdk8.txt @@ -0,0 +1,5 @@ +7.0.1 +7.0.2 +7.0.3 +7.0.4 +7.0.5 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/8.jdk11-17.txt b/bin/ansible/roles/common/files/versions/confluence/8.jdk11-17.txt new file mode 100644 index 000000000..27164bf14 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/8.jdk11-17.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/confluence/9.jdk17-21.txt b/bin/ansible/roles/common/files/versions/confluence/9.jdk17-21.txt new file mode 100644 index 000000000..839485877 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/confluence/9.jdk17-21.txt @@ -0,0 +1,11 @@ +9.0.0 +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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/0.jdk6.init.txt b/bin/ansible/roles/common/files/versions/crowd/0.jdk6.init.txt new file mode 100644 index 000000000..bbca54ce5 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/0.jdk6.init.txt @@ -0,0 +1,3 @@ +0.3.1 +0.3.2 +0.3.3 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/0.jdk6.txt b/bin/ansible/roles/common/files/versions/crowd/0.jdk6.txt new file mode 100644 index 000000000..7689839b4 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/0.jdk6.txt @@ -0,0 +1,6 @@ +0.4 +0.4.1 +0.4.2 +0.4.3 +0.4.4 +0.4.5 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/1.jdk6-jdk7-old.txt b/bin/ansible/roles/common/files/versions/crowd/1.jdk6-jdk7-old.txt new file mode 100644 index 000000000..eadfdea46 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/1.jdk6-jdk7-old.txt @@ -0,0 +1,15 @@ +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 diff --git a/bin/ansible/roles/common/files/versions/crowd/1.jdk6-jdk7.txt b/bin/ansible/roles/common/files/versions/crowd/1.jdk6-jdk7.txt new file mode 100644 index 000000000..034a1f584 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/1.jdk6-jdk7.txt @@ -0,0 +1,16 @@ +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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/2.jdk6-jdk7.txt b/bin/ansible/roles/common/files/versions/crowd/2.jdk6-jdk7.txt new file mode 100644 index 000000000..770a22e33 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/2.jdk6-jdk7.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/3.jdk6-jdk7.txt b/bin/ansible/roles/common/files/versions/crowd/3.jdk6-jdk7.txt new file mode 100644 index 000000000..09d5d1c88 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/3.jdk6-jdk7.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/4.jdk8-jdk11.txt b/bin/ansible/roles/common/files/versions/crowd/4.jdk8-jdk11.txt new file mode 100644 index 000000000..4298e7788 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/4.jdk8-jdk11.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/5.jdk8-jdk11.txt b/bin/ansible/roles/common/files/versions/crowd/5.jdk8-jdk11.txt new file mode 100644 index 000000000..fd793f2af --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/5.jdk8-jdk11.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crowd/6.jdk17.txt b/bin/ansible/roles/common/files/versions/crowd/6.jdk17.txt new file mode 100644 index 000000000..1837c54fd --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crowd/6.jdk17.txt @@ -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 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crucible/1.txt b/bin/ansible/roles/common/files/versions/crucible/1.txt new file mode 100644 index 000000000..a43027332 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crucible/1.txt @@ -0,0 +1,29 @@ +1.0 +1.1 +1.0.3 +1.0.4 +1.1.1 +1.1.2 +1.1.3 +1.1.4 +1.2 +1.2.1 +1.2.2 +1.2.3 +1.5 +1.5.1 +1.5.2 +1.5.3 +1.5.4 +1.6.0 +1.6.0Beta1 +1.6.0Beta2 +1.6.1 +1.6.2 +1.6.2.1 +1.6.3 +1.6.4 +1.6.5 +1.6.5.a +1.6.5a +1.6.6 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crucible/2.txt b/bin/ansible/roles/common/files/versions/crucible/2.txt new file mode 100644 index 000000000..4197327ff --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crucible/2.txt @@ -0,0 +1,90 @@ +2.0.0 +2.0.0.B3 +2.0.0.RC1 +2.0.0.RC2 +2.0.0.RC3 +2.0.1 +2.0.2 +2.0.3 +2.0.4 +2.0.5 +2.0.6 +2.1.0 +2.1.0.M2cc +2.1.0.RC1 +2.1.1 +2.1.2 +2.1.3 +2.1.4 +2.2.0 +2.2.1 +2.2.3 +2.3.0 +2.3.1 +2.3.2 +2.3.3 +2.3.4 +2.3.5 +2.3.6 +2.3.7 +2.3.8 +2.4.0 +2.4.1 +2.4.2 +2.4.3 +2.4.4 +2.4.5 +2.4.6 +2.5.0 +2.5.1 +2.5.2 +2.5.3 +2.5.4 +2.5.5 +2.5.6 +2.5.7 +2.5.8 +2.5.9 +2.6.0 +2.6.1 +2.6.2 +2.6.3 +2.6.4 +2.6.5 +2.6.6 +2.6.7 +2.6.8 +2.6.9 +2.7.0 +2.7.0-EAP-2 +2.7.1 +2.7.2 +2.7.3 +2.7.4 +2.7.5 +2.7.6 +2.7.7 +2.7.8 +2.7.9 +2.7.10 +2.7.11 +2.7.12 +2.7.13 +2.7.14 +2.7.15 +2.8.0 +2.8.0-m1 +2.8.1 +2.8.2 +2.9.0 +2.9.1 +2.9.2 +2.10.0 +2.10.1 +2.10.2 +2.10.3 +2.10.4 +2.10.5 +2.10.6 +2.10.7 +2.10.8 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crucible/3.txt b/bin/ansible/roles/common/files/versions/crucible/3.txt new file mode 100644 index 000000000..9eb7a5115 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crucible/3.txt @@ -0,0 +1,52 @@ +3.0.0 +3.0.1 +3.0.2 +3.0.3 +3.0.4 +3.1.0 +3.1.1 +3.1.2 +3.1.3 +3.1.4 +3.1.5 +3.1.6 +3.1.7 +3.2.0 +3.2.1 +3.2.2 +3.2.3 +3.2.4 +3.2.5 +3.3.0 +3.3.1 +3.3.2 +3.3.3 +3.3.4 +3.4.0 +3.4.3 +3.4.4 +3.4.5 +3.4.6 +3.4.7 +3.5.0 +3.5.1 +3.5.2 +3.5.3 +3.5.4 +3.5.5 +3.6.0 +3.6.1 +3.6.2 +3.6.3 +3.6.4 +3.7.0 +3.7.1 +3.8.0 +3.8.1 +3.9.0 +3.9.1 +3.9.2 +3.10.1 +3.10.2 +3.10.3 +3.10.4 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/crucible/4.txt b/bin/ansible/roles/common/files/versions/crucible/4.txt new file mode 100644 index 000000000..3d9656aa3 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/crucible/4.txt @@ -0,0 +1,51 @@ +4.0.2 +4.0.3 +4.0.4 +4.1.0 +4.1.1 +4.1.2 +4.1.3 +4.2.0 +4.2.1 +4.2.2 +4.2.3 +4.3.0 +4.3.1 +4.3.2 +4.3.3 +4.4.0 +4.4.1 +4.4.2 +4.4.3 +4.4.5 +4.4.6 +4.4.7 +4.5.0 +4.5.1 +4.5.2 +4.5.3 +4.5.4 +4.6.0 +4.6.1 +4.7.0 +4.7.1 +4.7.2 +4.7.3 +4.8.0 +4.8.1 +4.8.2 +4.8.3 +4.8.4 +4.8.5 +4.8.6 +4.8.7 +4.8.8 +4.8.9 +4.8.10 +4.8.11 +4.8.12 +4.8.13 +4.8.14 +4.8.15 +4.8.16 +4.9.0 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/fisheye/1.txt b/bin/ansible/roles/common/files/versions/fisheye/1.txt new file mode 100644 index 000000000..d955ef815 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/fisheye/1.txt @@ -0,0 +1,28 @@ +1.0.1a +1.1.3 +1.2.5 +1.3.3 +1.3.4 +1.3.5 +1.3.6 +1.3.7 +1.3.8 +1.4 +1.4.1 +1.4.2 +1.4.3 +1.5 +1.5.1 +1.5.2 +1.5.3 +1.5.4 +1.6.0 +1.6.0Beta1 +1.6.0Beta2 +1.6.1 +1.6.3 +1.6.4 +1.6.5 +1.6.5.a +1.6.5a +1.6.6 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/fisheye/2.txt b/bin/ansible/roles/common/files/versions/fisheye/2.txt new file mode 100644 index 000000000..781698457 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/fisheye/2.txt @@ -0,0 +1,91 @@ +2.0.0 +2.0.0.B3 +2.0.0.RC1 +2.0.0.RC2 +2.0.0.RC3 +2.0.1 +2.0.2 +2.0.3 +2.0.4 +2.0.5 +2.0.6 +2.1.0 +2.1.0.M2cc +2.1.0.RC1 +2.1.1 +2.1.2 +2.1.3 +2.1.4 +2.2.0 +2.2.1 +2.2.3 +2.3.0 +2.3.1 +2.3.2 +2.3.3 +2.3.4 +2.3.5 +2.3.6 +2.3.7 +2.3.8 +2.4.0 +2.4.1 +2.4.2 +2.4.3 +2.4.4 +2.4.5 +2.4.6 +2.5.0 +2.5.1 +2.5.2 +2.5.3 +2.5.4 +2.5.5 +2.5.6 +2.5.7 +2.5.8 +2.5.9 +2.6.0 +2.6.1 +2.6.2 +2.6.3 +2.6.4 +2.6.5 +2.6.6 +2.6.7 +2.6.8 +2.6.9 +2.7.0 +2.7.0-EAP-1 +2.7.0-EAP-2 +2.7.1 +2.7.2 +2.7.3 +2.7.4 +2.7.5 +2.7.6 +2.7.7 +2.7.8 +2.7.9 +2.7.10 +2.7.11 +2.7.12 +2.7.13 +2.7.14 +2.7.15 +2.8.0 +2.8.0-m1 +2.8.1 +2.8.2 +2.9.0 +2.9.1 +2.9.2 +2.10.0 +2.10.1 +2.10.2 +2.10.3 +2.10.4 +2.10.5 +2.10.6 +2.10.7 +2.10.8 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/fisheye/3.txt b/bin/ansible/roles/common/files/versions/fisheye/3.txt new file mode 100644 index 000000000..9eb7a5115 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/fisheye/3.txt @@ -0,0 +1,52 @@ +3.0.0 +3.0.1 +3.0.2 +3.0.3 +3.0.4 +3.1.0 +3.1.1 +3.1.2 +3.1.3 +3.1.4 +3.1.5 +3.1.6 +3.1.7 +3.2.0 +3.2.1 +3.2.2 +3.2.3 +3.2.4 +3.2.5 +3.3.0 +3.3.1 +3.3.2 +3.3.3 +3.3.4 +3.4.0 +3.4.3 +3.4.4 +3.4.5 +3.4.6 +3.4.7 +3.5.0 +3.5.1 +3.5.2 +3.5.3 +3.5.4 +3.5.5 +3.6.0 +3.6.1 +3.6.2 +3.6.3 +3.6.4 +3.7.0 +3.7.1 +3.8.0 +3.8.1 +3.9.0 +3.9.1 +3.9.2 +3.10.1 +3.10.2 +3.10.3 +3.10.4 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/fisheye/4.txt b/bin/ansible/roles/common/files/versions/fisheye/4.txt new file mode 100644 index 000000000..3d9656aa3 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/fisheye/4.txt @@ -0,0 +1,51 @@ +4.0.2 +4.0.3 +4.0.4 +4.1.0 +4.1.1 +4.1.2 +4.1.3 +4.2.0 +4.2.1 +4.2.2 +4.2.3 +4.3.0 +4.3.1 +4.3.2 +4.3.3 +4.4.0 +4.4.1 +4.4.2 +4.4.3 +4.4.5 +4.4.6 +4.4.7 +4.5.0 +4.5.1 +4.5.2 +4.5.3 +4.5.4 +4.6.0 +4.6.1 +4.7.0 +4.7.1 +4.7.2 +4.7.3 +4.8.0 +4.8.1 +4.8.2 +4.8.3 +4.8.4 +4.8.5 +4.8.6 +4.8.7 +4.8.8 +4.8.9 +4.8.10 +4.8.11 +4.8.12 +4.8.13 +4.8.14 +4.8.15 +4.8.16 +4.9.0 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/jira/10.jdk17.txt b/bin/ansible/roles/common/files/versions/jira/10.jdk17.txt index 3f1f2c5e6..1896d5e8f 100644 --- a/bin/ansible/roles/common/files/versions/jira/10.jdk17.txt +++ b/bin/ansible/roles/common/files/versions/jira/10.jdk17.txt @@ -6,4 +6,9 @@ 10.2.1 10.3.0 10.3.1 -10.3.2 \ No newline at end of file +10.3.2 +10.3.3 +10.3.4 +10.4.0 +10.4.1 +10.5.0 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/jira/9.jdk8-11-17.txt b/bin/ansible/roles/common/files/versions/jira/9.jdk8-11-17.txt index 9c76f871a..b25bce4f4 100644 --- a/bin/ansible/roles/common/files/versions/jira/9.jdk8-11-17.txt +++ b/bin/ansible/roles/common/files/versions/jira/9.jdk8-11-17.txt @@ -35,6 +35,8 @@ 9.12.15 9.12.16 9.12.17 +9.12.18 +9.12.19 9.13.0 9.13.1 9.14.0 @@ -47,4 +49,4 @@ 9.17.2 9.17.3 9.17.4 -9.17.5 +9.17.5 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/mesh/1.txt b/bin/ansible/roles/common/files/versions/mesh/1.txt new file mode 100644 index 000000000..62354e223 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/mesh/1.txt @@ -0,0 +1,25 @@ +1.0.0 +1.0.2 +1.0.4 +1.0.5 +1.0.6 +1.1.0 +1.1.2 +1.1.4 +1.1.5 +1.1.6 +1.2.0 +1.2.1 +1.2.2 +1.2.3 +1.3.0 +1.3.1 +1.3.3 +1.3.4 +1.4.0 +1.4.1 +1.4.2 +1.5.0 +1.5.1 +1.5.2 +1.5.6 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/mesh/2.txt b/bin/ansible/roles/common/files/versions/mesh/2.txt new file mode 100644 index 000000000..496df2c33 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/mesh/2.txt @@ -0,0 +1,51 @@ +2.0.1 +2.0.2 +2.0.4 +2.0.5 +2.0.8 +2.0.13 +2.0.16 +2.0.18 +2.0.19 +2.0.20 +2.0.21 +2.0.24 +2.0.25 +2.0.26 +2.0.28 +2.0.30 +2.0.31 +2.0.32 +2.0.33 +2.0.34 +2.0.35 +2.0.36 +2.0.37 +2.1.2 +2.1.7 +2.1.10 +2.1.12 +2.1.13 +2.1.14 +2.1.15 +2.2.0 +2.2.1 +2.2.2 +2.2.3 +2.3.0 +2.3.1 +2.4.0 +2.4.1 +2.5.0 +2.5.1 +2.5.2 +2.5.4 +2.5.6 +2.5.7 +2.5.8 +2.5.9 +2.5.10 +2.5.11 +2.5.12 +2.5.13 +2.5.14 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/mesh/3.txt b/bin/ansible/roles/common/files/versions/mesh/3.txt new file mode 100644 index 000000000..9ab11b2c9 --- /dev/null +++ b/bin/ansible/roles/common/files/versions/mesh/3.txt @@ -0,0 +1,15 @@ +3.0.0 +3.0.1 +3.1.0 +3.1.1 +3.2.0 +3.2.1 +3.3.0 +3.3.1 +3.4.0 +3.4.1 +3.4.2 +3.5.0 +3.5.1 +3.5.2 +3.6.0 \ No newline at end of file diff --git a/bin/ansible/roles/gurock.testrail/templates/php70/ad/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php70/ad/README.md.j2 index d2ee32ab4..f6c7217dd 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php70/ad/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php70/ad/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php70/ad/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php70/ad/docker-compose.yml.j2 index be32325fa..ce282e51c 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php70/ad/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php70/ad/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php70/ldap/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php70/ldap/README.md.j2 index c16c377f5..61e17b02f 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php70/ldap/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php70/ldap/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php70/ldap/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php70/ldap/docker-compose.yml.j2 index 76b9a61a5..d36074f6a 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php70/ldap/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php70/ldap/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php70/main/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php70/main/README.md.j2 index cd6b6110d..1aa23e83b 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php70/main/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php70/main/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php70/main/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php70/main/docker-compose.yml.j2 index 216ecd9af..2854727fa 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php70/main/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php70/main/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php71/ad/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php71/ad/README.md.j2 index 4b70bd4da..1ad6b3055 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php71/ad/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php71/ad/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php71/ad/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php71/ad/docker-compose.yml.j2 index be32325fa..ce282e51c 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php71/ad/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php71/ad/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php71/ldap/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php71/ldap/README.md.j2 index 4a42d0e2d..a5cb88001 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php71/ldap/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php71/ldap/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php71/ldap/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php71/ldap/docker-compose.yml.j2 index 76b9a61a5..d36074f6a 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php71/ldap/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php71/ldap/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php71/main/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php71/main/README.md.j2 index 278f2c9f5..dbd0f3221 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php71/main/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php71/main/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php71/main/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php71/main/docker-compose.yml.j2 index 216ecd9af..2854727fa 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php71/main/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php71/main/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php72/ad/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php72/ad/README.md.j2 index 4f6bf8f8c..6352ce5c3 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php72/ad/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php72/ad/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php72/ad/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php72/ad/docker-compose.yml.j2 index be32325fa..ce282e51c 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php72/ad/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php72/ad/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php72/ldap/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php72/ldap/README.md.j2 index f4ae571ae..a2cbd983f 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php72/ldap/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php72/ldap/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php72/ldap/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php72/ldap/docker-compose.yml.j2 index 76b9a61a5..d36074f6a 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php72/ldap/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php72/ldap/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php72/main/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php72/main/README.md.j2 index 83e349837..969dd38b3 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php72/main/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php72/main/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php72/main/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php72/main/docker-compose.yml.j2 index 216ecd9af..2854727fa 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php72/main/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php72/main/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php74/ad/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php74/ad/README.md.j2 index 81fada613..2edff5530 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php74/ad/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php74/ad/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php74/ad/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php74/ad/docker-compose.yml.j2 index be32325fa..ce282e51c 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php74/ad/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php74/ad/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php74/ldap/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php74/ldap/README.md.j2 index 34afe849e..2e75731c3 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php74/ldap/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php74/ldap/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php74/ldap/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php74/ldap/docker-compose.yml.j2 index 76b9a61a5..d36074f6a 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php74/ldap/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php74/ldap/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php74/main/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php74/main/README.md.j2 index 1fe01bf7c..87052efd8 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php74/main/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php74/main/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php74/main/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php74/main/docker-compose.yml.j2 index 216ecd9af..2854727fa 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php74/main/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php74/main/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php81/ad/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php81/ad/README.md.j2 index 4860e2681..75116a73a 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php81/ad/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php81/ad/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php81/ad/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php81/ad/docker-compose.yml.j2 index be32325fa..ce282e51c 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php81/ad/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php81/ad/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php81/ldap/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php81/ldap/README.md.j2 index 64bdb7b25..76a5d44e7 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php81/ldap/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php81/ldap/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php81/ldap/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php81/ldap/docker-compose.yml.j2 index 76b9a61a5..d36074f6a 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php81/ldap/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php81/ldap/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-{{ item }}" diff --git a/bin/ansible/roles/gurock.testrail/templates/php81/main/README.md.j2 b/bin/ansible/roles/gurock.testrail/templates/php81/main/README.md.j2 index ef5089f7b..24d16219f 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php81/main/README.md.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php81/main/README.md.j2 @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:{{ item }} diff --git a/bin/ansible/roles/gurock.testrail/templates/php81/main/docker-compose.yml.j2 b/bin/ansible/roles/gurock.testrail/templates/php81/main/docker-compose.yml.j2 index 216ecd9af..2854727fa 100644 --- a/bin/ansible/roles/gurock.testrail/templates/php81/main/docker-compose.yml.j2 +++ b/bin/ansible/roles/gurock.testrail/templates/php81/main/docker-compose.yml.j2 @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:{{ item }}" diff --git a/linux/advanced/mattermost/docker-compose.yml b/linux/advanced/mattermost/docker-compose.yml index b4649fe13..8e0072d10 100644 --- a/linux/advanced/mattermost/docker-compose.yml +++ b/linux/advanced/mattermost/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/mattermost-enterprise-edition:latest" diff --git a/linux/advanced/nextcloud/patched/14/README.md b/linux/advanced/nextcloud/patched/14/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/14/README.md +++ b/linux/advanced/nextcloud/patched/14/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/14/docker-compose.yml b/linux/advanced/nextcloud/patched/14/docker-compose.yml index 426ad6c31..26e8f2b1f 100644 --- a/linux/advanced/nextcloud/patched/14/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:14-patched" diff --git a/linux/advanced/nextcloud/patched/15/README.md b/linux/advanced/nextcloud/patched/15/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/15/README.md +++ b/linux/advanced/nextcloud/patched/15/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/15/docker-compose.yml b/linux/advanced/nextcloud/patched/15/docker-compose.yml index 40445eb08..3b0de4649 100644 --- a/linux/advanced/nextcloud/patched/15/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:15-patched" diff --git a/linux/advanced/nextcloud/patched/16/README.md b/linux/advanced/nextcloud/patched/16/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/16/README.md +++ b/linux/advanced/nextcloud/patched/16/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/16/docker-compose.yml b/linux/advanced/nextcloud/patched/16/docker-compose.yml index 68ae789a5..596a274b8 100644 --- a/linux/advanced/nextcloud/patched/16/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:16-patched" diff --git a/linux/advanced/nextcloud/patched/17/README.md b/linux/advanced/nextcloud/patched/17/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/17/README.md +++ b/linux/advanced/nextcloud/patched/17/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/17/docker-compose.yml b/linux/advanced/nextcloud/patched/17/docker-compose.yml index 7a6fe9eba..5646ef27c 100644 --- a/linux/advanced/nextcloud/patched/17/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:17-patched" diff --git a/linux/advanced/nextcloud/patched/18/README.md b/linux/advanced/nextcloud/patched/18/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/18/README.md +++ b/linux/advanced/nextcloud/patched/18/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/18/docker-compose.yml b/linux/advanced/nextcloud/patched/18/docker-compose.yml index 9e8d17356..fa10926d8 100644 --- a/linux/advanced/nextcloud/patched/18/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:18-patched" diff --git a/linux/advanced/nextcloud/patched/19/README.md b/linux/advanced/nextcloud/patched/19/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/19/README.md +++ b/linux/advanced/nextcloud/patched/19/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/19/docker-compose.yml b/linux/advanced/nextcloud/patched/19/docker-compose.yml index 9e229c350..3db41fff0 100644 --- a/linux/advanced/nextcloud/patched/19/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:19-patched" diff --git a/linux/advanced/nextcloud/patched/20/README.md b/linux/advanced/nextcloud/patched/20/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/20/README.md +++ b/linux/advanced/nextcloud/patched/20/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/20/docker-compose.yml b/linux/advanced/nextcloud/patched/20/docker-compose.yml index 072371e93..73539fbb8 100644 --- a/linux/advanced/nextcloud/patched/20/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:20-patched" diff --git a/linux/advanced/nextcloud/patched/21/README.md b/linux/advanced/nextcloud/patched/21/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/21/README.md +++ b/linux/advanced/nextcloud/patched/21/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/21/docker-compose.yml b/linux/advanced/nextcloud/patched/21/docker-compose.yml index cfdc5af4a..2d20970b0 100644 --- a/linux/advanced/nextcloud/patched/21/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:21-patched" diff --git a/linux/advanced/nextcloud/patched/22/README.md b/linux/advanced/nextcloud/patched/22/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/22/README.md +++ b/linux/advanced/nextcloud/patched/22/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/22/docker-compose.yml b/linux/advanced/nextcloud/patched/22/docker-compose.yml index 18ab6a1ff..e64e7b619 100644 --- a/linux/advanced/nextcloud/patched/22/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:22-patched" diff --git a/linux/advanced/nextcloud/patched/23/README.md b/linux/advanced/nextcloud/patched/23/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/23/README.md +++ b/linux/advanced/nextcloud/patched/23/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/23/docker-compose.yml b/linux/advanced/nextcloud/patched/23/docker-compose.yml index 2fc99dda7..de93ca34d 100644 --- a/linux/advanced/nextcloud/patched/23/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:23-patched" diff --git a/linux/advanced/nextcloud/patched/24/README.md b/linux/advanced/nextcloud/patched/24/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/24/README.md +++ b/linux/advanced/nextcloud/patched/24/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/24/docker-compose.yml b/linux/advanced/nextcloud/patched/24/docker-compose.yml index 666bcb6a7..6d5c3c390 100644 --- a/linux/advanced/nextcloud/patched/24/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/24/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:24-patched" diff --git a/linux/advanced/nextcloud/patched/25/README.md b/linux/advanced/nextcloud/patched/25/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/25/README.md +++ b/linux/advanced/nextcloud/patched/25/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/25/docker-compose.yml b/linux/advanced/nextcloud/patched/25/docker-compose.yml index 6d2879de5..ce51e1b45 100644 --- a/linux/advanced/nextcloud/patched/25/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/25/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:25-patched" diff --git a/linux/advanced/nextcloud/patched/26/README.md b/linux/advanced/nextcloud/patched/26/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/26/README.md +++ b/linux/advanced/nextcloud/patched/26/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/26/docker-compose.yml b/linux/advanced/nextcloud/patched/26/docker-compose.yml index e33db7993..fb38de289 100644 --- a/linux/advanced/nextcloud/patched/26/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/26/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:26-patched" diff --git a/linux/advanced/nextcloud/patched/27/README.md b/linux/advanced/nextcloud/patched/27/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/27/README.md +++ b/linux/advanced/nextcloud/patched/27/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/27/docker-compose.yml b/linux/advanced/nextcloud/patched/27/docker-compose.yml index a1493c1af..026086736 100644 --- a/linux/advanced/nextcloud/patched/27/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/27/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:27-patched" diff --git a/linux/advanced/nextcloud/patched/28/README.md b/linux/advanced/nextcloud/patched/28/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/28/README.md +++ b/linux/advanced/nextcloud/patched/28/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/28/docker-compose.yml b/linux/advanced/nextcloud/patched/28/docker-compose.yml index fde540b35..6beb79ed9 100644 --- a/linux/advanced/nextcloud/patched/28/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/28/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:28-patched" diff --git a/linux/advanced/nextcloud/patched/29/README.md b/linux/advanced/nextcloud/patched/29/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/29/README.md +++ b/linux/advanced/nextcloud/patched/29/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/29/docker-compose.yml b/linux/advanced/nextcloud/patched/29/docker-compose.yml index 33e2a9b32..b82ddb895 100644 --- a/linux/advanced/nextcloud/patched/29/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/29/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:29-patched" diff --git a/linux/advanced/nextcloud/patched/30/README.md b/linux/advanced/nextcloud/patched/30/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/30/README.md +++ b/linux/advanced/nextcloud/patched/30/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/30/docker-compose.yml b/linux/advanced/nextcloud/patched/30/docker-compose.yml index cfdb4efca..32db53335 100644 --- a/linux/advanced/nextcloud/patched/30/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/30/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:30-patched" diff --git a/linux/advanced/nextcloud/patched/latest/README.md b/linux/advanced/nextcloud/patched/latest/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/patched/latest/README.md +++ b/linux/advanced/nextcloud/patched/latest/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/patched/latest/docker-compose.yml b/linux/advanced/nextcloud/patched/latest/docker-compose.yml index c0be9a284..cdad72ea8 100644 --- a/linux/advanced/nextcloud/patched/latest/docker-compose.yml +++ b/linux/advanced/nextcloud/patched/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:latest-patched" diff --git a/linux/advanced/nextcloud/pure/14/README.md b/linux/advanced/nextcloud/pure/14/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/14/README.md +++ b/linux/advanced/nextcloud/pure/14/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/14/docker-compose.yml b/linux/advanced/nextcloud/pure/14/docker-compose.yml index a6317f46b..0376a4a7c 100644 --- a/linux/advanced/nextcloud/pure/14/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:14" diff --git a/linux/advanced/nextcloud/pure/15/README.md b/linux/advanced/nextcloud/pure/15/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/15/README.md +++ b/linux/advanced/nextcloud/pure/15/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/15/docker-compose.yml b/linux/advanced/nextcloud/pure/15/docker-compose.yml index 981f0b007..59117f95c 100644 --- a/linux/advanced/nextcloud/pure/15/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:15" diff --git a/linux/advanced/nextcloud/pure/16/README.md b/linux/advanced/nextcloud/pure/16/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/16/README.md +++ b/linux/advanced/nextcloud/pure/16/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/16/docker-compose.yml b/linux/advanced/nextcloud/pure/16/docker-compose.yml index ff512bb17..b35bdf3cc 100644 --- a/linux/advanced/nextcloud/pure/16/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:16" diff --git a/linux/advanced/nextcloud/pure/17/README.md b/linux/advanced/nextcloud/pure/17/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/17/README.md +++ b/linux/advanced/nextcloud/pure/17/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/17/docker-compose.yml b/linux/advanced/nextcloud/pure/17/docker-compose.yml index ad1ae0abe..475e41a0e 100644 --- a/linux/advanced/nextcloud/pure/17/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:17" diff --git a/linux/advanced/nextcloud/pure/18/README.md b/linux/advanced/nextcloud/pure/18/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/18/README.md +++ b/linux/advanced/nextcloud/pure/18/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/18/docker-compose.yml b/linux/advanced/nextcloud/pure/18/docker-compose.yml index 9554c76de..5beefd3ef 100644 --- a/linux/advanced/nextcloud/pure/18/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:18" diff --git a/linux/advanced/nextcloud/pure/19/README.md b/linux/advanced/nextcloud/pure/19/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/19/README.md +++ b/linux/advanced/nextcloud/pure/19/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/19/docker-compose.yml b/linux/advanced/nextcloud/pure/19/docker-compose.yml index 6e412d5c4..b89410df8 100644 --- a/linux/advanced/nextcloud/pure/19/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:19" diff --git a/linux/advanced/nextcloud/pure/20/README.md b/linux/advanced/nextcloud/pure/20/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/20/README.md +++ b/linux/advanced/nextcloud/pure/20/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/20/docker-compose.yml b/linux/advanced/nextcloud/pure/20/docker-compose.yml index 51a2ce49b..75bf0a2d9 100644 --- a/linux/advanced/nextcloud/pure/20/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:20" diff --git a/linux/advanced/nextcloud/pure/21/README.md b/linux/advanced/nextcloud/pure/21/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/21/README.md +++ b/linux/advanced/nextcloud/pure/21/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/21/docker-compose.yml b/linux/advanced/nextcloud/pure/21/docker-compose.yml index bc57c6b2c..b44eef6d3 100644 --- a/linux/advanced/nextcloud/pure/21/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:21" diff --git a/linux/advanced/nextcloud/pure/22/README.md b/linux/advanced/nextcloud/pure/22/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/22/README.md +++ b/linux/advanced/nextcloud/pure/22/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/22/docker-compose.yml b/linux/advanced/nextcloud/pure/22/docker-compose.yml index 3b037c4ce..a0f7000b3 100644 --- a/linux/advanced/nextcloud/pure/22/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:22" diff --git a/linux/advanced/nextcloud/pure/23/README.md b/linux/advanced/nextcloud/pure/23/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/23/README.md +++ b/linux/advanced/nextcloud/pure/23/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/23/docker-compose.yml b/linux/advanced/nextcloud/pure/23/docker-compose.yml index f9ac3e45e..79e0d2931 100644 --- a/linux/advanced/nextcloud/pure/23/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:23" diff --git a/linux/advanced/nextcloud/pure/24/README.md b/linux/advanced/nextcloud/pure/24/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/24/README.md +++ b/linux/advanced/nextcloud/pure/24/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/24/docker-compose.yml b/linux/advanced/nextcloud/pure/24/docker-compose.yml index 0a2be3626..7f71c01c0 100644 --- a/linux/advanced/nextcloud/pure/24/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/24/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:24" diff --git a/linux/advanced/nextcloud/pure/25/README.md b/linux/advanced/nextcloud/pure/25/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/25/README.md +++ b/linux/advanced/nextcloud/pure/25/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/25/docker-compose.yml b/linux/advanced/nextcloud/pure/25/docker-compose.yml index ece031909..4bff3b2fd 100644 --- a/linux/advanced/nextcloud/pure/25/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/25/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:25" diff --git a/linux/advanced/nextcloud/pure/26/README.md b/linux/advanced/nextcloud/pure/26/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/26/README.md +++ b/linux/advanced/nextcloud/pure/26/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/26/docker-compose.yml b/linux/advanced/nextcloud/pure/26/docker-compose.yml index 727437dc5..ae79b1570 100644 --- a/linux/advanced/nextcloud/pure/26/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/26/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:26" diff --git a/linux/advanced/nextcloud/pure/27/README.md b/linux/advanced/nextcloud/pure/27/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/27/README.md +++ b/linux/advanced/nextcloud/pure/27/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/27/docker-compose.yml b/linux/advanced/nextcloud/pure/27/docker-compose.yml index 9d3eab237..d6839a576 100644 --- a/linux/advanced/nextcloud/pure/27/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/27/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:27" diff --git a/linux/advanced/nextcloud/pure/28/README.md b/linux/advanced/nextcloud/pure/28/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/28/README.md +++ b/linux/advanced/nextcloud/pure/28/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/28/docker-compose.yml b/linux/advanced/nextcloud/pure/28/docker-compose.yml index 3bf77fe56..01a410e71 100644 --- a/linux/advanced/nextcloud/pure/28/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/28/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:28" diff --git a/linux/advanced/nextcloud/pure/29/README.md b/linux/advanced/nextcloud/pure/29/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/29/README.md +++ b/linux/advanced/nextcloud/pure/29/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/29/docker-compose.yml b/linux/advanced/nextcloud/pure/29/docker-compose.yml index 35e21d772..6973731fb 100644 --- a/linux/advanced/nextcloud/pure/29/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/29/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:29" diff --git a/linux/advanced/nextcloud/pure/30/README.md b/linux/advanced/nextcloud/pure/30/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/30/README.md +++ b/linux/advanced/nextcloud/pure/30/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/30/docker-compose.yml b/linux/advanced/nextcloud/pure/30/docker-compose.yml index 37de04149..60d05aa80 100644 --- a/linux/advanced/nextcloud/pure/30/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/30/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:30" diff --git a/linux/advanced/nextcloud/pure/latest/README.md b/linux/advanced/nextcloud/pure/latest/README.md index b6df71808..51e227b7a 100644 --- a/linux/advanced/nextcloud/pure/latest/README.md +++ b/linux/advanced/nextcloud/pure/latest/README.md @@ -216,12 +216,10 @@ This version will use the apache image and add a mariaDB container. The volumes Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -257,12 +255,10 @@ As this setup does **not include encryption**, it should be run behind a proxy. Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. ```yaml -version: '2' volumes: nextcloud: db: - services: db: image: mariadb @@ -302,8 +298,6 @@ Then run `docker-compose up -d`, now you can access Nextcloud at http://localhos # Docker Secrets As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: ```yaml -version: '3.2' - services: db: image: postgres diff --git a/linux/advanced/nextcloud/pure/latest/docker-compose.yml b/linux/advanced/nextcloud/pure/latest/docker-compose.yml index c5835dd58..b2f834e53 100644 --- a/linux/advanced/nextcloud/pure/latest/docker-compose.yml +++ b/linux/advanced/nextcloud/pure/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nextcloud:latest" diff --git a/linux/advanced/teamcity/server/2022.04.7/docker-compose.yml b/linux/advanced/teamcity/server/2022.04.7/docker-compose.yml index e6ceca134..b54a5cee2 100644 --- a/linux/advanced/teamcity/server/2022.04.7/docker-compose.yml +++ b/linux/advanced/teamcity/server/2022.04.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-server:2022.04.7" diff --git a/linux/advanced/teamcity/server/2022.10.6/docker-compose.yml b/linux/advanced/teamcity/server/2022.10.6/docker-compose.yml index ec9d8e5c1..a4b7b268a 100644 --- a/linux/advanced/teamcity/server/2022.10.6/docker-compose.yml +++ b/linux/advanced/teamcity/server/2022.10.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-server:2022.10.6" diff --git a/linux/advanced/teamcity/server/2023.05.6/docker-compose.yml b/linux/advanced/teamcity/server/2023.05.6/docker-compose.yml index e2fd76f0a..698700143 100644 --- a/linux/advanced/teamcity/server/2023.05.6/docker-compose.yml +++ b/linux/advanced/teamcity/server/2023.05.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-server:2023.05.6" diff --git a/linux/advanced/teamcity/server/2024.03.3/docker-compose.yml b/linux/advanced/teamcity/server/2024.03.3/docker-compose.yml index e48e4b5af..11c5281c6 100644 --- a/linux/advanced/teamcity/server/2024.03.3/docker-compose.yml +++ b/linux/advanced/teamcity/server/2024.03.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-server:2024.03.3" diff --git a/linux/advanced/teamcity/server/2024.07.3/docker-compose.yml b/linux/advanced/teamcity/server/2024.07.3/docker-compose.yml index a06de7d08..3823294c6 100644 --- a/linux/advanced/teamcity/server/2024.07.3/docker-compose.yml +++ b/linux/advanced/teamcity/server/2024.07.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-server:2024.07.3" diff --git a/linux/advanced/teamcity/server/2024.12/docker-compose.yml b/linux/advanced/teamcity/server/2024.12/docker-compose.yml index bd05dcd75..008cb8e4f 100644 --- a/linux/advanced/teamcity/server/2024.12/docker-compose.yml +++ b/linux/advanced/teamcity/server/2024.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-server:2024.12" diff --git a/linux/advanced/teamcity/server/2025.03/Dockerfile b/linux/advanced/teamcity/server/2025.03/Dockerfile new file mode 100644 index 000000000..0353d3eaf --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/Dockerfile @@ -0,0 +1,430 @@ +FROM jetbrains/teamcity-server:2025.03 +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, developer@epicm.org" +LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z" +LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker" +LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker" +LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg" +LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec" +LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2" +LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg" +LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6" +LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6" +LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB" +LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3" +LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE" +LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# Set temp user for advanced setup +################################################################# +USER root + +################################################################## +# Create Base directory for various soft +################################################################## +ENV EMG_LOCAL_BASE_DIR=/usr/local/share/epicmorg +RUN mkdir -p ${EMG_LOCAL_BASE_DIR} +COPY usr/local/epicmorg ${EMG_LOCAL_BASE_DIR} + +################################################################## +# prepare system +################################################################## +RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done +RUN mkdir -p /etc/apt/keyrings + +################################################################## +# ARGuments +################################################################## +ARG P4_VERSION=r24.1 +ARG P4_BIN_DIR=${EMG_LOCAL_BASE_DIR}/p4/${P4_VERSION}/bin +ARG P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4 + +ARG SZ_VERSION=7z2407 +ARG SZ_BIN_DIR=${EMG_LOCAL_BASE_DIR}/7z/${SZ_VERSION}/bin +ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz +ARG SZ_TEMP=/tmp/${SZ_VERSION}-linux-x64.tar.xz + +ARG LAZYGIT_VERSION=0.42.0 +ARG LAZYGIT_BIN_DIR=${EMG_LOCAL_BASE_DIR}/lazygit/${LAZYGIT_VERSION}/bin +ARG LAZYGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz +ARG LAZYGIT_TEMP=/tmp/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz + +ARG LAZYCLI_VERSION=0.1.15 +ARG LAZYCLI_BIN_DIR=${EMG_LOCAL_BASE_DIR}/lazycli/${LAZYCLI_VERSION}/bin +ARG LAZYCLI_DOWNLOAD_URL=https://github.com/jesseduffield/lazycli/releases/download/v${LAZYCLI_VERSION}/lazycli-linux-x64.tar.gz +ARG LAZYCLI_TEMP=/tmp/lazycli-linux-x64.tar.gz + +ARG LAZYNPM_VERSION=0.1.4 +ARG LAZYNPM_BIN_DIR=${EMG_LOCAL_BASE_DIR}/lazynpm/${LAZYNPM_VERSION}/bin +ARG LAZYNPM_DOWNLOAD_URL=https://github.com/jesseduffield/lazynpm/releases/download/v${LAZYNPM_VERSION}/lazynpm_${LAZYNPM_VERSION}_Linux_x86_64.tar.gz +ARG LAZYNPM_TEMP=/tmp/lazynpm_${LAZYNPM_VERSION}_Linux_x86_64.tar.gz + +ARG LAZYDOCKER_VERSION=0.23.3 +ARG LAZYDOCKER_BIN_DIR=${EMG_LOCAL_BASE_DIR}/lazydocker/${LAZYDOCKER_VERSION}/bin +ARG LAZYDOCKER_DOWNLOAD_URL=https://github.com/jesseduffield/lazydocker/releases/download/v${LAZYDOCKER_VERSION}/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz +ARG LAZYDOCKER_TEMP=/tmp/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz + +ARG DUMB_INIT_VERSION=1.2.5 +ARG DUMB_INIT_BIN_DIR=${EMG_LOCAL_BASE_DIR}/dumb-init/${DUMB_INIT_VERSION}/bin +ARG DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 + +ARG GOSU_VERSION=1.17 +ARG GOSU_BIN_DIR=${EMG_LOCAL_BASE_DIR}/gosu/${GOSU_VERSION}/bin +ARG GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64 + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.9 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=${EMG_LOCAL_BASE_DIR}/maven/${MAVEN_VERSION} +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip + +ENV GRADLE_VERSION=8.13 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=${EMG_LOCAL_BASE_DIR}/gradle/${GRADLE_VERSION} +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip + +ENV KTC_VERSION=2.1.10 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip +ENV KTC_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KTC_VERSION} +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +ENV KNPL_VERSION=${KTC_VERSION} +ENV KNPL_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KNPL_VERSION}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz +ARG KNPL_TEMP=/tmp/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz +ENV KNPL_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KNPL_VERSION} +ENV KNPL_PATH=${KNPL_ROOT}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION} +ENV KNPL_BIN=${KNPL_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${KNPL_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}:${KNPL_BIN} + +################################################################## +# update lists +################################################################## +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ + apt-get update + +################################################################## +# sources list +################################################################## +RUN rm -rfv /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list.d/*.sources +RUN rm -rfv /etc/locale.gen + +COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until +COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries +COPY etc/apt/sources.list /etc/apt/sources.list +COPY etc/locale.gen /etc/locale.gen +COPY usr/local/share/ca-certificates /usr/local/share/ca-certificates + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get dist-upgrade -y + +################################################################## +# installing utils +################################################################## +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + apt-transport-https \ + apt-utils \ + aptitude \ + bash \ + binutils \ + ca-certificates \ + cmatrix \ + cmatrix-xfont \ + console-cyrillic \ + cron \ + curl \ + git \ + gnupg \ + gnupg1 \ + gnupg2 \ + htop \ + iftop \ + iputils-ping \ + jq \ + kmod \ + locales \ + locate \ + lsb-release \ + lsof \ + lynx \ + mc \ + mercurial \ + nano \ + nload \ + nmap \ + openssl \ + perl \ + procps \ + rar \ + rsync \ + screenfetch \ + smbclient \ + software-properties-common \ + subversion \ + sudo \ + telnet \ + tini \ + tmux \ + tree \ + unrar \ + unrar-free \ + unzip \ + util-linux \ + uuid-runtime \ + wget \ + zip + +RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys +RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys + +RUN update-ca-certificates --fresh + +################################################################## +# update locales +################################################################## +RUN locale-gen + +################################################################## +# Install p4client +################################################################## +RUN mkdir -p ${P4_BIN_DIR} +ADD ${P4_DOWNLOAD_URL} ${P4_BIN_DIR} +RUN chmod +x ${P4_BIN_DIR}/p4 +ENV PATH="${P4_BIN_DIR}:${PATH}" + +# Update internal p4 binary to new +RUN rm -rfv /opt/perforce/bin/p4 && \ + ln -sfv ${P4_BIN_DIR}/p4 /opt/perforce/bin/p4 && \ + ln -sfv ${P4_BIN_DIR}/p4 /opt/perforce/usr/bin/p4 + +################################################################## +# Install 7z official binary +################################################################## +RUN mkdir -p ${SZ_BIN_DIR} +ADD ${SZ_DOWNLOAD_URL} /tmp + +RUN tar -xf ${SZ_TEMP} --directory ${SZ_BIN_DIR} && \ + chmod +x ${SZ_BIN_DIR}/7zz && \ + chmod +x ${SZ_BIN_DIR}/7zzs && \ + find ${SZ_BIN_DIR} -maxdepth 1 -mindepth 1 ! -name '7zz' ! -name '7zzs' -exec mv {} ${SZ_BIN_DIR}/.. \; + +ENV PATH="${SZ_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo 7zz $(7zz | head -4) && \ + echo 7z $(7z | head -4) && \ + echo "=============================================" + +################################################################## +# Install LazyGit official binary +################################################################## +RUN mkdir -p ${LAZYGIT_BIN_DIR} +ADD ${LAZYGIT_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${LAZYGIT_TEMP} --directory ${LAZYGIT_BIN_DIR} && \ + chmod +x ${LAZYGIT_BIN_DIR}/lazygit && \ + find ${LAZYGIT_BIN_DIR} -maxdepth 1 -mindepth 1 ! -name 'lazygit' -exec mv {} ${LAZYGIT_BIN_DIR}/.. \; + +ENV PATH="${LAZYGIT_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo lazygit $(lazygit --version) && \ + echo "=============================================" + +################################################################## +# Install LazyCLI official binary +################################################################## +RUN mkdir -p ${LAZYCLI_BIN_DIR} +ADD ${LAZYCLI_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${LAZYCLI_TEMP} --directory ${LAZYCLI_BIN_DIR} && \ + chmod +x ${LAZYCLI_BIN_DIR}/lazycli && \ + find ${LAZYCLI_BIN_DIR} -maxdepth 1 -mindepth 1 ! -name 'lazycli' -exec mv {} ${LAZYCLI_BIN_DIR}/.. \; + +ENV PATH="${LAZYCLI_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo lazycli $(lazycli --version) && \ + echo "=============================================" + +################################################################## +# Install LazyNPM official binary +################################################################## +RUN mkdir -p ${LAZYNPM_BIN_DIR} +ADD ${LAZYNPM_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${LAZYNPM_TEMP} --directory ${LAZYNPM_BIN_DIR} && \ + chmod +x ${LAZYNPM_BIN_DIR}/lazynpm && \ + find ${LAZYNPM_BIN_DIR} -maxdepth 1 -mindepth 1 ! -name 'lazynpm' -exec mv {} ${LAZYNPM_BIN_DIR}/.. \; + +ENV PATH="${LAZYNPM_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo lazynpm $(lazynpm --version) && \ + echo "=============================================" + +################################################################## +# Install LazyDocker official binary +################################################################## +RUN mkdir -p ${LAZYDOCKER_BIN_DIR} +ADD ${LAZYDOCKER_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${LAZYDOCKER_TEMP} --directory ${LAZYDOCKER_BIN_DIR} && \ + chmod +x -R ${LAZYDOCKER_BIN_DIR}/lazydocker && \ + find ${LAZYDOCKER_BIN_DIR} -maxdepth 1 -mindepth 1 ! -name 'lazydocker' -exec mv {} ${LAZYDOCKER_BIN_DIR}/.. \; + +ENV PATH="${LAZYDOCKER_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo lazydocker $(lazydocker --version) && \ + echo "=============================================" + +################################################################## +# dumb init +################################################################## +RUN mkdir -p ${DUMB_INIT_BIN_DIR} +ADD ${DUMB_INIT_DOWNLOAD_URL} ${DUMB_INIT_BIN_DIR} + +RUN mv -fv ${DUMB_INIT_BIN_DIR}/dumb-init_${DUMB_INIT_VERSION}_x86_64 ${DUMB_INIT_BIN_DIR}/dumb-init && \ + chmod +x ${DUMB_INIT_BIN_DIR}/dumb-init + +ENV PATH="${DUMB_INIT_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo dumb-init $(dumb-init --version) && \ + echo "=============================================" + +################################################################## +# gosu for easy step-down from root +################################################################## +RUN mkdir -p ${GOSU_BIN_DIR} +ADD ${GOSU_DOWNLOAD_URL} ${GOSU_BIN_DIR} + +RUN mv -fv ${GOSU_BIN_DIR}/gosu-amd64 ${GOSU_BIN_DIR}/gosu && \ + chmod +x -R ${GOSU_BIN_DIR}/gosu + +ENV PATH="${GOSU_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo gosu $(gosu --version) && \ + echo "=============================================" + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +ADD ${MAVEN_LINK} /tmp +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +ADD ${GRADLE_LINK} /tmp +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# kotlin-compiler +################################################################## +ADD ${KTC_LINK} /tmp +RUN 7zz x ${KTC_TEMP} -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# kotlin-native-prebuilt-linux +################################################################## +ADD ${KNPL_LINK} /tmp +RUN tar -xvzf ${KNPL_TEMP} --directory ${KTC_ROOT} +RUN chmod +x -R ${KNPL_BIN} + +################################################################## +# git fresh binary +################################################################## +RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ + gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list +COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list +COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list +RUN apt-get update && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git + +RUN echo "=============================================" && \ + echo git $(git --version) && \ + echo "=============================================" + +################################################################## +# git-lfs official binary +################################################################## +RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list +COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list +RUN apt-get update && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-lfs && \ + git-lfs install --skip-repo + +RUN echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# gh official binary +################################################################## +RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --batch --yes --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \ + chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg && \ + echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \ + apt-get update && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + gh + +RUN echo "=============================================" && \ + echo gh $(gh --version) && \ + echo "=============================================" + +################################################################## +# Cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -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/* + +################################################################## +# update file db +################################################################## +RUN updatedb + +################################################################## +# Set original user back +################################################################# +# tcuser 1000 +#USER 1000 diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/Makefile b/linux/advanced/teamcity/server/2025.03/Makefile similarity index 100% rename from linux/ecosystem/atlassian/crowd/5/5.1.1/Makefile rename to linux/advanced/teamcity/server/2025.03/Makefile diff --git a/linux/advanced/teamcity/server/2025.03/README.md b/linux/advanced/teamcity/server/2025.03/README.md new file mode 100644 index 000000000..76aff7f7a --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/README.md @@ -0,0 +1,115 @@ +## TeamCity Server - Powerful Continuous Integration and Continuous Delivery out of the box + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) server image. The image is suitable for production use and evaluation purposes. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-server.md). + +## How to Use This Image + +First, pull the image from the Docker Hub Repository + +```docker pull jetbrains/teamcity-server``` + + +### Linux container + +Use the following command to start a container with TeamCity server + + + +``` +docker run -it --name teamcity-server-instance \ + -v :/data/teamcity_server/datadir \ + -v :/opt/teamcity/logs \ + -p :8111 \ + jetbrains/teamcity-server +``` +where + + - **\** is the host machine directory to serve as the [TeamCity Data Directory](https://www.jetbrains.com/help/teamcity/teamcity-data-directory.html) where TeamCity stores project settings and build results. Pass an empty directory for the brand new start. If the mapping is not set, you will lose all the TeamCity settings on the container shutdown. + - **\** is the host machine directory to store the TeamCity server logs. The mapping can be omitted, but then the logs will be lost on container shutdown which will make issues investigation impossible. + + +If you need to run a Linux-based container with non-root permissions (for example, when using some open source container application platforms), set the server's internal user identifier explicitly by passing an additional `-u 1000:1000` parameter. Note that after switching to a non-root user you might not be able to perform writing operations on files created under the root user. In this case, run `chown -R 1000:1000 ` to change the ownership of the directory containing these files. + +#### Alternative Tomcat configuration + +TeamCity has Tomcat J2EE server under the hood, and if you need to provide an alternative configuration for the TomCat, you can use extra parameter +``` +-v /alternative/path/to/conf:/opt/teamcity/conf +``` + +To get a sample of the current contents of the Tomcat's `conf` directory, use the [`docker cp`](https://docs.docker.com/engine/reference/commandline/cp/) command. + +### Windows container +``` +docker run -it --name teamcity-server-instance + -v :C:/ProgramData/JetBrains/TeamCity + -v :C:/TeamCity/logs + -p :8111 + jetbrains/teamcity-server +``` + +See above for **\** and **\** description. + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +### Database + +TeamCity stores set of users and build results in an SQL database in addition to the Data Directory. +By default, the TeamCity server uses an internal database stored on the file system under the data directory. However, production use requires an [external database](https://www.jetbrains.com/help/teamcity/setting-up-an-external-database.html#SettingupanExternalDatabase-DefaultInternalDatabase). + +To use the server for production, make sure to review and apply the [recommendations](https://www.jetbrains.com/help/teamcity/installing-and-configuring-the-teamcity-server.html#InstallingandConfiguringtheTeamCityServer-ConfiguringServerforProductionUse). + +### Build agents + +You will need at least one TeamCity agent to run builds. Check the [`jetbrains/teamcity-agent`](https://hub.docker.com/r/jetbrains/teamcity-agent/) and [`jetbrains/teamcity-minimal-agent`](https://hub.docker.com/r/jetbrains/teamcity-minimal-agent/) images. + +## Additional Commands + +When you need to pass additional environment variables to the server process, use the regular `-e` option. For example, to pass TEAMCITY_SERVER_MEM_OPTS environment variable, use: + +``` +docker run -it --name teamcity-server-instance \ + -e TEAMCITY_SERVER_MEM_OPTS="-Xmx2g -XX:MaxPermSize=270m -XX:ReservedCodeCacheSize=350m" \ + -v :/data/teamcity_server/datadir \ + -v :/opt/teamcity/logs \ + -p :8111 \ + jetbrains/teamcity-server +``` +  +To run the `maintainDB` script (e.g. for the server backup), stop your running container and execute the following command from your host: +``` +docker run -it --name teamcity-server-instance \ + -v :/data/teamcity_server/datadir \ + -v :/opt/teamcity/logs \ + -p :8111 \ + jetbrains/teamcity-server \ + "/opt/teamcity/bin/maintainDB.sh" "backup" +``` +  + +Be sure to keep all the local system paths the same with the main server start command. + +To change the context of the TeamCity app inside a Tomcat container, pass `-e TEAMCITY_CONTEXT=/context` to the `docker run` command. The default one is `ROOT`, meaning that the server would be available at `http://host/`. + +## Upgrading TeamCity + +Make sure to check the generic TeamCity [upgrade instructions](https://www.jetbrains.com/help/teamcity/upgrade.html). +If you made no changes to the container, you can just stop the running container, pull a newer version of the image and the server in it via the usual command. +If you changed the image, you will need to replicate the changes to the new TeamCity server image. In general, use Docker common sense to perform the upgrade. + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [Minimal Build Agent](https://hub.docker.com/r/jetbrains/teamcity-minimal-agent/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/advanced/teamcity/server/2025.03/docker-compose.yml b/linux/advanced/teamcity/server/2025.03/docker-compose.yml new file mode 100644 index 000000000..e9d62227b --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/docker-compose.yml @@ -0,0 +1,5 @@ +services: + app: + image: "epicmorg/teamcity-server:2025.03" + build: + context: . diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/96-apt-retries b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..73262ccc3 --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..e7ec46810 --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/98-allow-unauthenticated b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/98-allow-unauthenticated new file mode 100644 index 000000000..b36cd01c8 --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/98-allow-unauthenticated @@ -0,0 +1 @@ +APT::Get::AllowUnauthenticated "true"; diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/99-no-check-valid-until b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/99-no-check-valid-until new file mode 100644 index 000000000..4e6d9209d --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/apt.conf.d/99-no-check-valid-until @@ -0,0 +1 @@ +Acquire::Check-Valid-Until no; diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list new file mode 100644 index 000000000..a45006bab --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list @@ -0,0 +1,19 @@ +#------------------------------------------------------------------------------# +# OFFICIAL UBUNTU REPOS # +#------------------------------------------------------------------------------# + +###### Ubuntu Main Repos +deb [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy main multiverse restricted universe +deb-src [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy main multiverse restricted universe + +###### Ubuntu Update Repos +deb [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-backports main multiverse restricted universe +deb [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-proposed main multiverse restricted universe +deb [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-security main multiverse restricted universe +deb [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-updates main multiverse restricted universe + +###### Ubuntu Sorurce Repos +deb-src [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-backports main multiverse restricted universe +deb-src [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-proposed main multiverse restricted universe +deb-src [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-security main multiverse restricted universe +deb-src [trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-updates main multiverse restricted universe diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/github_git-lfs.list b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/github_git-lfs.list new file mode 100644 index 000000000..eef30c760 --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/github_git-lfs.list @@ -0,0 +1,2 @@ +deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/ubuntu/ jammy main +deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/ubuntu/ jammy main diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/launchpad_git-mainline.list b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/launchpad_git-mainline.list new file mode 100644 index 000000000..09dc5aa02 --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/launchpad_git-mainline.list @@ -0,0 +1,5 @@ +# mainline +deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu jammy main +deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu jammy main + + diff --git a/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/launchpad_git-stable.list b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/launchpad_git-stable.list new file mode 100644 index 000000000..17a2907e4 --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/apt/sources.list.d/launchpad_git-stable.list @@ -0,0 +1,3 @@ +# stable +deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy main +deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy main diff --git a/linux/advanced/teamcity/server/2025.03/etc/locale.gen b/linux/advanced/teamcity/server/2025.03/etc/locale.gen new file mode 100644 index 000000000..02f100afa --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/locale.gen @@ -0,0 +1,12 @@ +en_GB.UTF-8 UTF-8 +en_GB ISO-8859-1 +en_GB.ISO-8859-15 ISO-8859-15 +en_US.UTF-8 UTF-8 +en_US ISO-8859-1 +en_US.ISO-8859-15 ISO-8859-15 +ru_RU.UTF-8 UTF-8 +ru_RU.KOI8-R KOI8-R +ru_RU ISO-8859-5 +ru_RU.CP1251 CP1251 +ru_UA.UTF-8 UTF-8 +ru_UA KOI8-U diff --git a/linux/advanced/teamcity/server/2025.03/etc/locale.gen.full b/linux/advanced/teamcity/server/2025.03/etc/locale.gen.full new file mode 100644 index 000000000..1e7b446a5 --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/etc/locale.gen.full @@ -0,0 +1,495 @@ +aa_DJ.UTF-8 UTF-8 +aa_DJ ISO-8859-1 +aa_ER UTF-8 +aa_ER@saaho UTF-8 +aa_ET UTF-8 +af_ZA.UTF-8 UTF-8 +af_ZA ISO-8859-1 +agr_PE UTF-8 +ak_GH UTF-8 +am_ET UTF-8 +an_ES.UTF-8 UTF-8 +an_ES ISO-8859-15 +anp_IN UTF-8 +ar_AE.UTF-8 UTF-8 +ar_AE ISO-8859-6 +ar_BH.UTF-8 UTF-8 +ar_BH ISO-8859-6 +ar_DZ.UTF-8 UTF-8 +ar_DZ ISO-8859-6 +ar_EG.UTF-8 UTF-8 +ar_EG ISO-8859-6 +ar_IN UTF-8 +ar_IQ.UTF-8 UTF-8 +ar_IQ ISO-8859-6 +ar_JO.UTF-8 UTF-8 +ar_JO ISO-8859-6 +ar_KW.UTF-8 UTF-8 +ar_KW ISO-8859-6 +ar_LB.UTF-8 UTF-8 +ar_LB ISO-8859-6 +ar_LY.UTF-8 UTF-8 +ar_LY ISO-8859-6 +ar_MA.UTF-8 UTF-8 +ar_MA ISO-8859-6 +ar_OM.UTF-8 UTF-8 +ar_OM ISO-8859-6 +ar_QA.UTF-8 UTF-8 +ar_QA ISO-8859-6 +ar_SA.UTF-8 UTF-8 +ar_SA ISO-8859-6 +ar_SD.UTF-8 UTF-8 +ar_SD ISO-8859-6 +ar_SS UTF-8 +ar_SY.UTF-8 UTF-8 +ar_SY ISO-8859-6 +ar_TN.UTF-8 UTF-8 +ar_TN ISO-8859-6 +ar_YE.UTF-8 UTF-8 +ar_YE ISO-8859-6 +ayc_PE UTF-8 +az_AZ UTF-8 +az_IR UTF-8 +as_IN UTF-8 +ast_ES.UTF-8 UTF-8 +ast_ES ISO-8859-15 +be_BY.UTF-8 UTF-8 +be_BY CP1251 +be_BY@latin UTF-8 +bem_ZM UTF-8 +ber_DZ UTF-8 +ber_MA UTF-8 +bg_BG.UTF-8 UTF-8 +bg_BG CP1251 +bhb_IN.UTF-8 UTF-8 +bho_IN UTF-8 +bho_NP UTF-8 +bi_VU UTF-8 +bn_BD UTF-8 +bn_IN UTF-8 +bo_CN UTF-8 +bo_IN UTF-8 +br_FR.UTF-8 UTF-8 +br_FR ISO-8859-1 +br_FR@euro ISO-8859-15 +brx_IN UTF-8 +bs_BA.UTF-8 UTF-8 +bs_BA ISO-8859-2 +byn_ER UTF-8 +ca_AD.UTF-8 UTF-8 +ca_AD ISO-8859-15 +ca_ES.UTF-8 UTF-8 +ca_ES ISO-8859-1 +ca_ES@euro ISO-8859-15 +ca_ES@valencia UTF-8 +ca_FR.UTF-8 UTF-8 +ca_FR ISO-8859-15 +ca_IT.UTF-8 UTF-8 +ca_IT ISO-8859-15 +ce_RU UTF-8 +chr_US UTF-8 +cmn_TW UTF-8 +crh_UA UTF-8 +cs_CZ.UTF-8 UTF-8 +cs_CZ ISO-8859-2 +csb_PL UTF-8 +cv_RU UTF-8 +cy_GB.UTF-8 UTF-8 +cy_GB ISO-8859-14 +da_DK.UTF-8 UTF-8 +da_DK ISO-8859-1 +de_AT.UTF-8 UTF-8 +de_AT ISO-8859-1 +de_AT@euro ISO-8859-15 +de_BE.UTF-8 UTF-8 +de_BE ISO-8859-1 +de_BE@euro ISO-8859-15 +de_CH.UTF-8 UTF-8 +de_CH ISO-8859-1 +de_DE.UTF-8 UTF-8 +de_DE ISO-8859-1 +de_DE@euro ISO-8859-15 +de_IT.UTF-8 UTF-8 +de_IT ISO-8859-1 +de_LI.UTF-8 UTF-8 +de_LU.UTF-8 UTF-8 +de_LU ISO-8859-1 +de_LU@euro ISO-8859-15 +doi_IN UTF-8 +dsb_DE UTF-8 +dv_MV UTF-8 +dz_BT UTF-8 +el_GR.UTF-8 UTF-8 +el_GR ISO-8859-7 +el_GR@euro ISO-8859-7 +el_CY.UTF-8 UTF-8 +el_CY ISO-8859-7 +en_AG UTF-8 +en_AU.UTF-8 UTF-8 +en_AU ISO-8859-1 +en_BW.UTF-8 UTF-8 +en_BW ISO-8859-1 +en_CA.UTF-8 UTF-8 +en_CA ISO-8859-1 +en_DK.UTF-8 UTF-8 +en_DK.ISO-8859-15 ISO-8859-15 +en_DK ISO-8859-1 +en_GB.UTF-8 UTF-8 +en_GB ISO-8859-1 +en_GB.ISO-8859-15 ISO-8859-15 +en_HK.UTF-8 UTF-8 +en_HK ISO-8859-1 +en_IE.UTF-8 UTF-8 +en_IE ISO-8859-1 +en_IE@euro ISO-8859-15 +en_IL UTF-8 +en_IN UTF-8 +en_NG UTF-8 +en_NZ.UTF-8 UTF-8 +en_NZ ISO-8859-1 +en_PH.UTF-8 UTF-8 +en_PH ISO-8859-1 +en_SC.UTF-8 UTF-8 +en_SG.UTF-8 UTF-8 +en_SG ISO-8859-1 +en_US.UTF-8 UTF-8 +en_US ISO-8859-1 +en_US.ISO-8859-15 ISO-8859-15 +en_ZA.UTF-8 UTF-8 +en_ZA ISO-8859-1 +en_ZM UTF-8 +en_ZW.UTF-8 UTF-8 +en_ZW ISO-8859-1 +eo UTF-8 +es_AR.UTF-8 UTF-8 +es_AR ISO-8859-1 +es_BO.UTF-8 UTF-8 +es_BO ISO-8859-1 +es_CL.UTF-8 UTF-8 +es_CL ISO-8859-1 +es_CO.UTF-8 UTF-8 +es_CO ISO-8859-1 +es_CR.UTF-8 UTF-8 +es_CR ISO-8859-1 +es_CU UTF-8 +es_DO.UTF-8 UTF-8 +es_DO ISO-8859-1 +es_EC.UTF-8 UTF-8 +es_EC ISO-8859-1 +es_ES.UTF-8 UTF-8 +es_ES ISO-8859-1 +es_ES@euro ISO-8859-15 +es_GT.UTF-8 UTF-8 +es_GT ISO-8859-1 +es_HN.UTF-8 UTF-8 +es_HN ISO-8859-1 +es_MX.UTF-8 UTF-8 +es_MX ISO-8859-1 +es_NI.UTF-8 UTF-8 +es_NI ISO-8859-1 +es_PA.UTF-8 UTF-8 +es_PA ISO-8859-1 +es_PE.UTF-8 UTF-8 +es_PE ISO-8859-1 +es_PR.UTF-8 UTF-8 +es_PR ISO-8859-1 +es_PY.UTF-8 UTF-8 +es_PY ISO-8859-1 +es_SV.UTF-8 UTF-8 +es_SV ISO-8859-1 +es_US.UTF-8 UTF-8 +es_US ISO-8859-1 +es_UY.UTF-8 UTF-8 +es_UY ISO-8859-1 +es_VE.UTF-8 UTF-8 +es_VE ISO-8859-1 +et_EE.UTF-8 UTF-8 +et_EE ISO-8859-1 +et_EE.ISO-8859-15 ISO-8859-15 +eu_ES.UTF-8 UTF-8 +eu_ES ISO-8859-1 +eu_ES@euro ISO-8859-15 +eu_FR.UTF-8 UTF-8 +eu_FR ISO-8859-1 +eu_FR@euro ISO-8859-15 +fa_IR UTF-8 +ff_SN UTF-8 +fi_FI.UTF-8 UTF-8 +fi_FI ISO-8859-1 +fi_FI@euro ISO-8859-15 +fil_PH UTF-8 +fo_FO.UTF-8 UTF-8 +fo_FO ISO-8859-1 +fr_BE.UTF-8 UTF-8 +fr_BE ISO-8859-1 +fr_BE@euro ISO-8859-15 +fr_CA.UTF-8 UTF-8 +fr_CA ISO-8859-1 +fr_CH.UTF-8 UTF-8 +fr_CH ISO-8859-1 +fr_FR.UTF-8 UTF-8 +fr_FR ISO-8859-1 +fr_FR@euro ISO-8859-15 +fr_LU.UTF-8 UTF-8 +fr_LU ISO-8859-1 +fr_LU@euro ISO-8859-15 +fur_IT UTF-8 +fy_NL UTF-8 +fy_DE UTF-8 +ga_IE.UTF-8 UTF-8 +ga_IE ISO-8859-1 +ga_IE@euro ISO-8859-15 +gd_GB.UTF-8 UTF-8 +gd_GB ISO-8859-15 +gez_ER UTF-8 +gez_ER@abegede UTF-8 +gez_ET UTF-8 +gez_ET@abegede UTF-8 +gl_ES.UTF-8 UTF-8 +gl_ES ISO-8859-1 +gl_ES@euro ISO-8859-15 +gu_IN UTF-8 +gv_GB.UTF-8 UTF-8 +gv_GB ISO-8859-1 +ha_NG UTF-8 +hak_TW UTF-8 +he_IL.UTF-8 UTF-8 +he_IL ISO-8859-8 +hi_IN UTF-8 +hif_FJ UTF-8 +hne_IN UTF-8 +hr_HR.UTF-8 UTF-8 +hr_HR ISO-8859-2 +hsb_DE.UTF-8 UTF-8 +hsb_DE ISO-8859-2 +ht_HT UTF-8 +hu_HU.UTF-8 UTF-8 +hu_HU ISO-8859-2 +hy_AM UTF-8 +hy_AM.ARMSCII-8 ARMSCII-8 +ia_FR UTF-8 +id_ID.UTF-8 UTF-8 +id_ID ISO-8859-1 +ig_NG UTF-8 +ik_CA UTF-8 +is_IS.UTF-8 UTF-8 +is_IS ISO-8859-1 +it_CH.UTF-8 UTF-8 +it_CH ISO-8859-1 +it_IT.UTF-8 UTF-8 +it_IT ISO-8859-1 +it_IT@euro ISO-8859-15 +iu_CA UTF-8 +ja_JP.UTF-8 UTF-8 +ja_JP.EUC-JP EUC-JP +ka_GE.UTF-8 UTF-8 +ka_GE GEORGIAN-PS +kab_DZ UTF-8 +kk_KZ.UTF-8 UTF-8 +kk_KZ PT154 +kk_KZ.RK1048 RK1048 +kl_GL.UTF-8 UTF-8 +kl_GL ISO-8859-1 +km_KH UTF-8 +kn_IN UTF-8 +ko_KR.UTF-8 UTF-8 +ko_KR.EUC-KR EUC-KR +kok_IN UTF-8 +ks_IN UTF-8 +ks_IN@devanagari UTF-8 +ku_TR.UTF-8 UTF-8 +ku_TR ISO-8859-9 +kw_GB.UTF-8 UTF-8 +kw_GB ISO-8859-1 +ky_KG UTF-8 +lb_LU UTF-8 +lg_UG.UTF-8 UTF-8 +lg_UG ISO-8859-10 +li_BE UTF-8 +li_NL UTF-8 +lij_IT UTF-8 +ln_CD UTF-8 +lo_LA UTF-8 +lt_LT.UTF-8 UTF-8 +lt_LT ISO-8859-13 +lv_LV.UTF-8 UTF-8 +lv_LV ISO-8859-13 +lzh_TW UTF-8 +mag_IN UTF-8 +mai_IN UTF-8 +mai_NP UTF-8 +mfe_MU UTF-8 +mg_MG.UTF-8 UTF-8 +mg_MG ISO-8859-15 +mhr_RU UTF-8 +mi_NZ.UTF-8 UTF-8 +mi_NZ ISO-8859-13 +miq_NI UTF-8 +mjw_IN UTF-8 +mk_MK.UTF-8 UTF-8 +mk_MK ISO-8859-5 +ml_IN UTF-8 +mn_MN UTF-8 +mni_IN UTF-8 +mr_IN UTF-8 +ms_MY.UTF-8 UTF-8 +ms_MY ISO-8859-1 +mt_MT.UTF-8 UTF-8 +mt_MT ISO-8859-3 +my_MM UTF-8 +nan_TW UTF-8 +nan_TW@latin UTF-8 +nb_NO.UTF-8 UTF-8 +nb_NO ISO-8859-1 +nds_DE UTF-8 +nds_NL UTF-8 +ne_NP UTF-8 +nhn_MX UTF-8 +niu_NU UTF-8 +niu_NZ UTF-8 +nl_AW UTF-8 +nl_BE.UTF-8 UTF-8 +nl_BE ISO-8859-1 +nl_BE@euro ISO-8859-15 +nl_NL.UTF-8 UTF-8 +nl_NL ISO-8859-1 +nl_NL@euro ISO-8859-15 +nn_NO.UTF-8 UTF-8 +nn_NO ISO-8859-1 +nr_ZA UTF-8 +nso_ZA UTF-8 +oc_FR.UTF-8 UTF-8 +oc_FR ISO-8859-1 +om_ET UTF-8 +om_KE.UTF-8 UTF-8 +om_KE ISO-8859-1 +or_IN UTF-8 +os_RU UTF-8 +pa_IN UTF-8 +pa_PK UTF-8 +pap_AW UTF-8 +pap_CW UTF-8 +pl_PL.UTF-8 UTF-8 +pl_PL ISO-8859-2 +ps_AF UTF-8 +pt_BR.UTF-8 UTF-8 +pt_BR ISO-8859-1 +pt_PT.UTF-8 UTF-8 +pt_PT ISO-8859-1 +pt_PT@euro ISO-8859-15 +quz_PE UTF-8 +raj_IN UTF-8 +ro_RO.UTF-8 UTF-8 +ro_RO ISO-8859-2 +ru_RU.UTF-8 UTF-8 +ru_RU.KOI8-R KOI8-R +ru_RU ISO-8859-5 +ru_RU.CP1251 CP1251 +ru_UA.UTF-8 UTF-8 +ru_UA KOI8-U +rw_RW UTF-8 +sa_IN UTF-8 +sah_RU UTF-8 +sat_IN UTF-8 +sc_IT UTF-8 +sd_IN UTF-8 +sd_IN@devanagari UTF-8 +se_NO UTF-8 +sgs_LT UTF-8 +shn_MM UTF-8 +shs_CA UTF-8 +si_LK UTF-8 +trixie_ET UTF-8 +sk_SK.UTF-8 UTF-8 +sk_SK ISO-8859-2 +sl_SI.UTF-8 UTF-8 +sl_SI ISO-8859-2 +sm_WS UTF-8 +so_DJ.UTF-8 UTF-8 +so_DJ ISO-8859-1 +so_ET UTF-8 +so_KE.UTF-8 UTF-8 +so_KE ISO-8859-1 +so_SO.UTF-8 UTF-8 +so_SO ISO-8859-1 +sq_AL.UTF-8 UTF-8 +sq_AL ISO-8859-1 +sq_MK UTF-8 +sr_ME UTF-8 +sr_RS UTF-8 +sr_RS@latin UTF-8 +ss_ZA UTF-8 +st_ZA.UTF-8 UTF-8 +st_ZA ISO-8859-1 +sv_FI.UTF-8 UTF-8 +sv_FI ISO-8859-1 +sv_FI@euro ISO-8859-15 +sv_SE.UTF-8 UTF-8 +sv_SE ISO-8859-1 +sv_SE.ISO-8859-15 ISO-8859-15 +sw_KE UTF-8 +sw_TZ UTF-8 +szl_PL UTF-8 +ta_IN UTF-8 +ta_LK UTF-8 +tcy_IN.UTF-8 UTF-8 +te_IN UTF-8 +tg_TJ.UTF-8 UTF-8 +tg_TJ KOI8-T +th_TH.UTF-8 UTF-8 +th_TH TIS-620 +the_NP UTF-8 +ti_ER UTF-8 +ti_ET UTF-8 +tig_ER UTF-8 +tk_TM UTF-8 +tl_PH.UTF-8 UTF-8 +tl_PH ISO-8859-1 +tn_ZA UTF-8 +to_TO UTF-8 +tpi_PG UTF-8 +tr_CY.UTF-8 UTF-8 +tr_CY ISO-8859-9 +tr_TR.UTF-8 UTF-8 +tr_TR ISO-8859-9 +ts_ZA UTF-8 +tt_RU UTF-8 +tt_RU@iqtelif UTF-8 +ug_CN UTF-8 +uk_UA.UTF-8 UTF-8 +uk_UA KOI8-U +unm_US UTF-8 +ur_IN UTF-8 +ur_PK UTF-8 +uz_UZ.UTF-8 UTF-8 +uz_UZ ISO-8859-1 +uz_UZ@cyrillic UTF-8 +ve_ZA UTF-8 +vi_VN UTF-8 +wa_BE.UTF-8 UTF-8 +wa_BE ISO-8859-1 +wa_BE@euro ISO-8859-15 +wae_CH UTF-8 +wal_ET UTF-8 +wo_SN UTF-8 +xh_ZA.UTF-8 UTF-8 +xh_ZA ISO-8859-1 +yi_US.UTF-8 UTF-8 +yi_US CP1255 +yo_NG UTF-8 +yue_HK UTF-8 +yuw_PG UTF-8 +zh_CN.UTF-8 UTF-8 +zh_CN.GB18030 GB18030 +zh_CN.GBK GBK +zh_CN GB2312 +zh_HK.UTF-8 UTF-8 +zh_HK BIG5-HKSCS +zh_SG.UTF-8 UTF-8 +zh_SG.GBK GBK +zh_SG GB2312 +zh_TW.UTF-8 UTF-8 +zh_TW.EUC-TW EUC-TW +zh_TW BIG5 +zu_ZA.UTF-8 UTF-8 +zu_ZA ISO-8859-1 diff --git a/linux/advanced/teamcity/server/2025.03/usr/local/epicmorg/README.md b/linux/advanced/teamcity/server/2025.03/usr/local/epicmorg/README.md new file mode 100644 index 000000000..83071e9ca --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/usr/local/epicmorg/README.md @@ -0,0 +1,48 @@ +# About +Hello. This folder contains sub-folders with custom tools such as `gosu`, `dumb-init` and etc. + +Some child images could install to this folder custom compilled products. Example: `nginx`, `php`, etc. + +All directories that contains binaryes (``) will be added to `$PATH`. + +# Structure +pattern: `/usr/local/epicmorg///<..some data and files..>` + +example: +``` +/usr/local/epicmorg/ +|-- 7z +| `-- 7z2407 +| |-- History.txt +| |-- License.txt +| |-- MANUAL +| |-- bin +| `-- readme.txt +|-- dumb-init +| `-- 1.2.5 +| `-- bin +|-- gosu +| `-- 1.17 +| `-- bin +|-- lazycli +| `-- 0.1.15 +| `-- bin +|-- lazydocker +| `-- 0.23.3 +| |-- LICENSE +| |-- README.md +| `-- bin +|-- lazygit +| `-- 0.42.0 +| |-- LICENSE +| |-- README.md +| `-- bin +|-- lazynpm +| `-- 0.1.4 +| |-- LICENSE +| |-- README.md +| `-- bin +`-- p4 + `-- r23.2 + `-- bin +``` diff --git a/linux/advanced/teamcity/server/2025.03/usr/local/share/ca-certificates/russian_trusted_root_ca_pem.crt b/linux/advanced/teamcity/server/2025.03/usr/local/share/ca-certificates/russian_trusted_root_ca_pem.crt new file mode 100644 index 000000000..4c143a21f --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/usr/local/share/ca-certificates/russian_trusted_root_ca_pem.crt @@ -0,0 +1,33 @@ +-----BEGIN CERTIFICATE----- +MIIFwjCCA6qgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwcDELMAkGA1UEBhMCUlUx +PzA9BgNVBAoMNlRoZSBNaW5pc3RyeSBvZiBEaWdpdGFsIERldmVsb3BtZW50IGFu +ZCBDb21tdW5pY2F0aW9uczEgMB4GA1UEAwwXUnVzc2lhbiBUcnVzdGVkIFJvb3Qg +Q0EwHhcNMjIwMzAxMjEwNDE1WhcNMzIwMjI3MjEwNDE1WjBwMQswCQYDVQQGEwJS +VTE/MD0GA1UECgw2VGhlIE1pbmlzdHJ5IG9mIERpZ2l0YWwgRGV2ZWxvcG1lbnQg +YW5kIENvbW11bmljYXRpb25zMSAwHgYDVQQDDBdSdXNzaWFuIFRydXN0ZWQgUm9v +dCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMfFOZ8pUAL3+r2n +qqE0Zp52selXsKGFYoG0GM5bwz1bSFtCt+AZQMhkWQheI3poZAToYJu69pHLKS6Q +XBiwBC1cvzYmUYKMYZC7jE5YhEU2bSL0mX7NaMxMDmH2/NwuOVRj8OImVa5s1F4U +zn4Kv3PFlDBjjSjXKVY9kmjUBsXQrIHeaqmUIsPIlNWUnimXS0I0abExqkbdrXbX +YwCOXhOO2pDUx3ckmJlCMUGacUTnylyQW2VsJIyIGA8V0xzdaeUXg0VZ6ZmNUr5Y +Ber/EAOLPb8NYpsAhJe2mXjMB/J9HNsoFMBFJ0lLOT/+dQvjbdRZoOT8eqJpWnVD +U+QL/qEZnz57N88OWM3rabJkRNdU/Z7x5SFIM9FrqtN8xewsiBWBI0K6XFuOBOTD +4V08o4TzJ8+Ccq5XlCUW2L48pZNCYuBDfBh7FxkB7qDgGDiaftEkZZfApRg2E+M9 +G8wkNKTPLDc4wH0FDTijhgxR3Y4PiS1HL2Zhw7bD3CbslmEGgfnnZojNkJtcLeBH +BLa52/dSwNU4WWLubaYSiAmA9IUMX1/RpfpxOxd4Ykmhz97oFbUaDJFipIggx5sX +ePAlkTdWnv+RWBxlJwMQ25oEHmRguNYf4Zr/Rxr9cS93Y+mdXIZaBEE0KS2iLRqa +OiWBki9IMQU4phqPOBAaG7A+eP8PAgMBAAGjZjBkMB0GA1UdDgQWBBTh0YHlzlpf +BKrS6badZrHF+qwshzAfBgNVHSMEGDAWgBTh0YHlzlpfBKrS6badZrHF+qwshzAS +BgNVHRMBAf8ECDAGAQH/AgEEMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsF +AAOCAgEAALIY1wkilt/urfEVM5vKzr6utOeDWCUczmWX/RX4ljpRdgF+5fAIS4vH +tmXkqpSCOVeWUrJV9QvZn6L227ZwuE15cWi8DCDal3Ue90WgAJJZMfTshN4OI8cq +W9E4EG9wglbEtMnObHlms8F3CHmrw3k6KmUkWGoa+/ENmcVl68u/cMRl1JbW2bM+ +/3A+SAg2c6iPDlehczKx2oa95QW0SkPPWGuNA/CE8CpyANIhu9XFrj3RQ3EqeRcS +AQQod1RNuHpfETLU/A2gMmvn/w/sx7TB3W5BPs6rprOA37tutPq9u6FTZOcG1Oqj +C/B7yTqgI7rbyvox7DEXoX7rIiEqyNNUguTk/u3SZ4VXE2kmxdmSh3TQvybfbnXV +4JbCZVaqiZraqc7oZMnRoWrXRG3ztbnbes/9qhRGI7PqXqeKJBztxRTEVj8ONs1d +WN5szTwaPIvhkhO3CO5ErU2rVdUr89wKpNXbBODFKRtgxUT70YpmJ46VVaqdAhOZ +D9EUUn4YaeLaS8AjSF/h7UkjOibNc4qVDiPP+rkehFWM66PVnP1Msh93tc+taIfC +EYVMxjh8zNbFuoc7fzvvrFILLe7ifvEIUqSVIC/AzplM/Jxw7buXFeGP1qVCBEHq +391d/9RAfaZ12zkwFsl+IKwE/OZxW8AHa9i1p4GO0YSNuczzEm4= +-----END CERTIFICATE----- \ No newline at end of file diff --git a/linux/advanced/teamcity/server/2025.03/usr/local/share/ca-certificates/russian_trusted_sub_ca_pem.crt b/linux/advanced/teamcity/server/2025.03/usr/local/share/ca-certificates/russian_trusted_sub_ca_pem.crt new file mode 100644 index 000000000..2e3f8285d --- /dev/null +++ b/linux/advanced/teamcity/server/2025.03/usr/local/share/ca-certificates/russian_trusted_sub_ca_pem.crt @@ -0,0 +1,41 @@ +-----BEGIN CERTIFICATE----- +MIIHQjCCBSqgAwIBAgICEAIwDQYJKoZIhvcNAQELBQAwcDELMAkGA1UEBhMCUlUx +PzA9BgNVBAoMNlRoZSBNaW5pc3RyeSBvZiBEaWdpdGFsIERldmVsb3BtZW50IGFu +ZCBDb21tdW5pY2F0aW9uczEgMB4GA1UEAwwXUnVzc2lhbiBUcnVzdGVkIFJvb3Qg +Q0EwHhcNMjIwMzAyMTEyNTE5WhcNMjcwMzA2MTEyNTE5WjBvMQswCQYDVQQGEwJS +VTE/MD0GA1UECgw2VGhlIE1pbmlzdHJ5IG9mIERpZ2l0YWwgRGV2ZWxvcG1lbnQg +YW5kIENvbW11bmljYXRpb25zMR8wHQYDVQQDDBZSdXNzaWFuIFRydXN0ZWQgU3Vi +IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA9YPqBKOk19NFymrE +wehzrhBEgT2atLezpduB24mQ7CiOa/HVpFCDRZzdxqlh8drku408/tTmWzlNH/br +HuQhZ/miWKOf35lpKzjyBd6TPM23uAfJvEOQ2/dnKGGJbsUo1/udKSvxQwVHpVv3 +S80OlluKfhWPDEXQpgyFqIzPoxIQTLZ0deirZwMVHarZ5u8HqHetRuAtmO2ZDGQn +vVOJYAjls+Hiueq7Lj7Oce7CQsTwVZeP+XQx28PAaEZ3y6sQEt6rL06ddpSdoTMp +BnCqTbxW+eWMyjkIn6t9GBtUV45yB1EkHNnj2Ex4GwCiN9T84QQjKSr+8f0psGrZ +vPbCbQAwNFJjisLixnjlGPLKa5vOmNwIh/LAyUW5DjpkCx004LPDuqPpFsKXNKpa +L2Dm6uc0x4Jo5m+gUTVORB6hOSzWnWDj2GWfomLzzyjG81DRGFBpco/O93zecsIN +3SL2Ysjpq1zdoS01CMYxie//9zWvYwzI25/OZigtnpCIrcd2j1Y6dMUFQAzAtHE+ +qsXflSL8HIS+IJEFIQobLlYhHkoE3avgNx5jlu+OLYe0dF0Ykx1PGNjbwqvTX37R +Cn32NMjlotW2QcGEZhDKj+3urZizp5xdTPZitA+aEjZM/Ni71VOdiOP0igbw6asZ +2fxdozZ1TnSSYNYvNATwthNmZysCAwEAAaOCAeUwggHhMBIGA1UdEwEB/wQIMAYB +Af8CAQAwDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBTR4XENCy2BTm6KSo9MI7NM +XqtpCzAfBgNVHSMEGDAWgBTh0YHlzlpfBKrS6badZrHF+qwshzCBxwYIKwYBBQUH +AQEEgbowgbcwOwYIKwYBBQUHMAKGL2h0dHA6Ly9yb3N0ZWxlY29tLnJ1L2NkcC9y +b290Y2Ffc3NsX3JzYTIwMjIuY3J0MDsGCCsGAQUFBzAChi9odHRwOi8vY29tcGFu +eS5ydC5ydS9jZHAvcm9vdGNhX3NzbF9yc2EyMDIyLmNydDA7BggrBgEFBQcwAoYv +aHR0cDovL3JlZXN0ci1wa2kucnUvY2RwL3Jvb3RjYV9zc2xfcnNhMjAyMi5jcnQw +gbAGA1UdHwSBqDCBpTA1oDOgMYYvaHR0cDovL3Jvc3RlbGVjb20ucnUvY2RwL3Jv +b3RjYV9zc2xfcnNhMjAyMi5jcmwwNaAzoDGGL2h0dHA6Ly9jb21wYW55LnJ0LnJ1 +L2NkcC9yb290Y2Ffc3NsX3JzYTIwMjIuY3JsMDWgM6Axhi9odHRwOi8vcmVlc3Ry +LXBraS5ydS9jZHAvcm9vdGNhX3NzbF9yc2EyMDIyLmNybDANBgkqhkiG9w0BAQsF +AAOCAgEARBVzZls79AdiSCpar15dA5Hr/rrT4WbrOfzlpI+xrLeRPrUG6eUWIW4v +Sui1yx3iqGLCjPcKb+HOTwoRMbI6ytP/ndp3TlYua2advYBEhSvjs+4vDZNwXr/D +anbwIWdurZmViQRBDFebpkvnIvru/RpWud/5r624Wp8voZMRtj/cm6aI9LtvBfT9 +cfzhOaexI/99c14dyiuk1+6QhdwKaCRTc1mdfNQmnfWNRbfWhWBlK3h4GGE9JK33 +Gk8ZS8DMrkdAh0xby4xAQ/mSWAfWrBmfzlOqGyoB1U47WTOeqNbWkkoAP2ys94+s +Jg4NTkiDVtXRF6nr6fYi0bSOvOFg0IQrMXO2Y8gyg9ARdPJwKtvWX8VPADCYMiWH +h4n8bZokIrImVKLDQKHY4jCsND2HHdJfnrdL2YJw1qFskNO4cSNmZydw0Wkgjv9k +F+KxqrDKlB8MZu2Hclph6v/CZ0fQ9YuE8/lsHZ0Qc2HyiSMnvjgK5fDc3TD4fa8F +E8gMNurM+kV8PT8LNIM+4Zs+LKEV8nqRWBaxkIVJGekkVKO8xDBOG/aN62AZKHOe +GcyIdu7yNMMRihGVZCYr8rYiJoKiOzDqOkPkLOPdhtVlgnhowzHDxMHND/E2WA5p +ZHuNM/m0TXt2wTTPL7JH2YC0gPz/BvvSzjksgzU5rLbRyUKQkgU= +-----END CERTIFICATE----- \ No newline at end of file diff --git a/linux/advanced/teamcity/server/latest/docker-compose.yml b/linux/advanced/teamcity/server/latest/docker-compose.yml index 65b16fff1..f430165b6 100644 --- a/linux/advanced/teamcity/server/latest/docker-compose.yml +++ b/linux/advanced/teamcity/server/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-server:latest" diff --git a/linux/advanced/vscode-server/amxx/1.10/docker-compose.yml b/linux/advanced/vscode-server/amxx/1.10/docker-compose.yml index ba8b641a4..677831e0f 100644 --- a/linux/advanced/vscode-server/amxx/1.10/docker-compose.yml +++ b/linux/advanced/vscode-server/amxx/1.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:amxx-rc" diff --git a/linux/advanced/vscode-server/amxx/1.9/docker-compose.yml b/linux/advanced/vscode-server/amxx/1.9/docker-compose.yml index 04dc98a49..bc5c2ac5f 100644 --- a/linux/advanced/vscode-server/amxx/1.9/docker-compose.yml +++ b/linux/advanced/vscode-server/amxx/1.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:amxx" diff --git a/linux/advanced/vscode-server/android/docker-compose.yml b/linux/advanced/vscode-server/android/docker-compose.yml index 40a8ae717..9cb3fa1f1 100644 --- a/linux/advanced/vscode-server/android/docker-compose.yml +++ b/linux/advanced/vscode-server/android/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:android" diff --git a/linux/advanced/vscode-server/cpp/docker-compose.yml b/linux/advanced/vscode-server/cpp/docker-compose.yml index 5686f83da..3843fd652 100644 --- a/linux/advanced/vscode-server/cpp/docker-compose.yml +++ b/linux/advanced/vscode-server/cpp/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:cpp" diff --git a/linux/advanced/vscode-server/devops/docker-compose.yml b/linux/advanced/vscode-server/devops/docker-compose.yml index 9d4005b25..a43d7c15f 100644 --- a/linux/advanced/vscode-server/devops/docker-compose.yml +++ b/linux/advanced/vscode-server/devops/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:devops" diff --git a/linux/advanced/vscode-server/docker/docker-compose.yml b/linux/advanced/vscode-server/docker/docker-compose.yml index 4b4f3d5d9..6e30432cc 100644 --- a/linux/advanced/vscode-server/docker/docker-compose.yml +++ b/linux/advanced/vscode-server/docker/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:docker" diff --git a/linux/advanced/vscode-server/dotnet-full/docker-compose.yml b/linux/advanced/vscode-server/dotnet-full/docker-compose.yml index b438f93bb..b3c2109bf 100644 --- a/linux/advanced/vscode-server/dotnet-full/docker-compose.yml +++ b/linux/advanced/vscode-server/dotnet-full/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:dotnet-full" diff --git a/linux/advanced/vscode-server/dotnet/docker-compose.yml b/linux/advanced/vscode-server/dotnet/docker-compose.yml index bc4ceb6c1..c43cacb65 100644 --- a/linux/advanced/vscode-server/dotnet/docker-compose.yml +++ b/linux/advanced/vscode-server/dotnet/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:dotnet" diff --git a/linux/advanced/vscode-server/latest/docker-compose.yml b/linux/advanced/vscode-server/latest/docker-compose.yml index 5b051558d..53aac4a78 100644 --- a/linux/advanced/vscode-server/latest/docker-compose.yml +++ b/linux/advanced/vscode-server/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:latest" diff --git a/linux/advanced/vscode-server/mono/docker-compose.yml b/linux/advanced/vscode-server/mono/docker-compose.yml index 1a29b8d41..e02958fab 100644 --- a/linux/advanced/vscode-server/mono/docker-compose.yml +++ b/linux/advanced/vscode-server/mono/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:mono" diff --git a/linux/advanced/vscode-server/nodejs/docker-compose.yml b/linux/advanced/vscode-server/nodejs/docker-compose.yml index 01d8159f3..37afe3920 100644 --- a/linux/advanced/vscode-server/nodejs/docker-compose.yml +++ b/linux/advanced/vscode-server/nodejs/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vscode-server:nodejs" diff --git a/linux/advanced/zabbix/3.0/agent/docker-compose.yml b/linux/advanced/zabbix/3.0/agent/docker-compose.yml index ff5e3352d..e3f1502a2 100644 --- a/linux/advanced/zabbix/3.0/agent/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:3.0" diff --git a/linux/advanced/zabbix/3.0/java-gateway/docker-compose.yml b/linux/advanced/zabbix/3.0/java-gateway/docker-compose.yml index 3155f5b09..3615a2dc6 100644 --- a/linux/advanced/zabbix/3.0/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:3.0" diff --git a/linux/advanced/zabbix/3.0/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/3.0/proxy-mysql/docker-compose.yml index cc3963dbb..44269bbb7 100644 --- a/linux/advanced/zabbix/3.0/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:3.0" diff --git a/linux/advanced/zabbix/3.0/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/3.0/proxy-sqlite3/docker-compose.yml index f0d1559bc..3f094ce2a 100644 --- a/linux/advanced/zabbix/3.0/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:3.0" diff --git a/linux/advanced/zabbix/3.0/server-mysql/docker-compose.yml b/linux/advanced/zabbix/3.0/server-mysql/docker-compose.yml index be33cfed7..a8aa6d520 100644 --- a/linux/advanced/zabbix/3.0/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:3.0" diff --git a/linux/advanced/zabbix/3.0/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/3.0/server-pgsql/docker-compose.yml index 139dac4e1..b5eabbbee 100644 --- a/linux/advanced/zabbix/3.0/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:3.0" diff --git a/linux/advanced/zabbix/3.0/snmptraps/docker-compose.yml b/linux/advanced/zabbix/3.0/snmptraps/docker-compose.yml index ff1bfebc7..975de742a 100644 --- a/linux/advanced/zabbix/3.0/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:3.0" diff --git a/linux/advanced/zabbix/3.0/web-mysql/docker-compose.yml b/linux/advanced/zabbix/3.0/web-mysql/docker-compose.yml index f775ef49f..6aa9dc49d 100644 --- a/linux/advanced/zabbix/3.0/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:3.0" diff --git a/linux/advanced/zabbix/3.0/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/3.0/web-pgsql/docker-compose.yml index c8764041a..1bac47ac1 100644 --- a/linux/advanced/zabbix/3.0/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/3.0/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:3.0" diff --git a/linux/advanced/zabbix/4.0/agent/docker-compose.yml b/linux/advanced/zabbix/4.0/agent/docker-compose.yml index cc418a991..69871608f 100644 --- a/linux/advanced/zabbix/4.0/agent/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:4.0" diff --git a/linux/advanced/zabbix/4.0/java-gateway/docker-compose.yml b/linux/advanced/zabbix/4.0/java-gateway/docker-compose.yml index 2d216178e..8f63d7c9a 100644 --- a/linux/advanced/zabbix/4.0/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:4.0" diff --git a/linux/advanced/zabbix/4.0/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/4.0/proxy-mysql/docker-compose.yml index ded0894c0..6a070f50c 100644 --- a/linux/advanced/zabbix/4.0/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:4.0" diff --git a/linux/advanced/zabbix/4.0/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/4.0/proxy-sqlite3/docker-compose.yml index 96836180a..0800aed2b 100644 --- a/linux/advanced/zabbix/4.0/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:4.0" diff --git a/linux/advanced/zabbix/4.0/server-mysql/docker-compose.yml b/linux/advanced/zabbix/4.0/server-mysql/docker-compose.yml index 6ab406d33..71be613ab 100644 --- a/linux/advanced/zabbix/4.0/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:4.0" diff --git a/linux/advanced/zabbix/4.0/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/4.0/server-pgsql/docker-compose.yml index 39dbfa797..a136185da 100644 --- a/linux/advanced/zabbix/4.0/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:4.0" diff --git a/linux/advanced/zabbix/4.0/snmptraps/docker-compose.yml b/linux/advanced/zabbix/4.0/snmptraps/docker-compose.yml index 2c691e9c6..240b5ab26 100644 --- a/linux/advanced/zabbix/4.0/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:4.0" diff --git a/linux/advanced/zabbix/4.0/web-mysql/docker-compose.yml b/linux/advanced/zabbix/4.0/web-mysql/docker-compose.yml index aac8c5ee0..fc139542d 100644 --- a/linux/advanced/zabbix/4.0/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:4.0" diff --git a/linux/advanced/zabbix/4.0/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/4.0/web-pgsql/docker-compose.yml index 3e2a4f843..0e3990c27 100644 --- a/linux/advanced/zabbix/4.0/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/4.0/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:4.0" diff --git a/linux/advanced/zabbix/5.0/agent/docker-compose.yml b/linux/advanced/zabbix/5.0/agent/docker-compose.yml index f5c30df54..a324c9377 100644 --- a/linux/advanced/zabbix/5.0/agent/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:5.0" diff --git a/linux/advanced/zabbix/5.0/agent2/docker-compose.yml b/linux/advanced/zabbix/5.0/agent2/docker-compose.yml index fc7c8933c..703feddea 100644 --- a/linux/advanced/zabbix/5.0/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:5.0" diff --git a/linux/advanced/zabbix/5.0/java-gateway/docker-compose.yml b/linux/advanced/zabbix/5.0/java-gateway/docker-compose.yml index 56c6a857a..4405dd527 100644 --- a/linux/advanced/zabbix/5.0/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:5.0" diff --git a/linux/advanced/zabbix/5.0/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/5.0/proxy-mysql/docker-compose.yml index 3b8124174..a2d1c34d1 100644 --- a/linux/advanced/zabbix/5.0/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:5.0" diff --git a/linux/advanced/zabbix/5.0/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/5.0/proxy-sqlite3/docker-compose.yml index bb62e2c38..a0f53d60f 100644 --- a/linux/advanced/zabbix/5.0/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:5.0" diff --git a/linux/advanced/zabbix/5.0/server-mysql/docker-compose.yml b/linux/advanced/zabbix/5.0/server-mysql/docker-compose.yml index 2ec47f431..ed15344f1 100644 --- a/linux/advanced/zabbix/5.0/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:5.0" diff --git a/linux/advanced/zabbix/5.0/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/5.0/server-pgsql/docker-compose.yml index d5b877eea..44dcb3a04 100644 --- a/linux/advanced/zabbix/5.0/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:5.0" diff --git a/linux/advanced/zabbix/5.0/snmptraps/docker-compose.yml b/linux/advanced/zabbix/5.0/snmptraps/docker-compose.yml index c458e77ae..214cf6ff9 100644 --- a/linux/advanced/zabbix/5.0/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:5.0" diff --git a/linux/advanced/zabbix/5.0/web-mysql/docker-compose.yml b/linux/advanced/zabbix/5.0/web-mysql/docker-compose.yml index 07993246a..006484eae 100644 --- a/linux/advanced/zabbix/5.0/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:5.0" diff --git a/linux/advanced/zabbix/5.0/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/5.0/web-pgsql/docker-compose.yml index dc08e1445..ac2ba039f 100644 --- a/linux/advanced/zabbix/5.0/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/5.0/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:5.0" diff --git a/linux/advanced/zabbix/5.2/agent/docker-compose.yml b/linux/advanced/zabbix/5.2/agent/docker-compose.yml index 10aeb23aa..79aaa2000 100644 --- a/linux/advanced/zabbix/5.2/agent/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:5.2" diff --git a/linux/advanced/zabbix/5.2/agent2/docker-compose.yml b/linux/advanced/zabbix/5.2/agent2/docker-compose.yml index 6c88bf266..9ecfd97d0 100644 --- a/linux/advanced/zabbix/5.2/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:5.2" diff --git a/linux/advanced/zabbix/5.2/java-gateway/docker-compose.yml b/linux/advanced/zabbix/5.2/java-gateway/docker-compose.yml index 275cc7553..b82dbccf1 100644 --- a/linux/advanced/zabbix/5.2/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:5.2" diff --git a/linux/advanced/zabbix/5.2/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/5.2/proxy-mysql/docker-compose.yml index fac2ab1da..1e914f4d0 100644 --- a/linux/advanced/zabbix/5.2/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:5.2" diff --git a/linux/advanced/zabbix/5.2/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/5.2/proxy-sqlite3/docker-compose.yml index b73a83629..26dd1b12c 100644 --- a/linux/advanced/zabbix/5.2/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:5.2" diff --git a/linux/advanced/zabbix/5.2/server-mysql/docker-compose.yml b/linux/advanced/zabbix/5.2/server-mysql/docker-compose.yml index acb6686fc..e25670980 100644 --- a/linux/advanced/zabbix/5.2/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:5.2" diff --git a/linux/advanced/zabbix/5.2/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/5.2/server-pgsql/docker-compose.yml index 59fccbd2b..167034727 100644 --- a/linux/advanced/zabbix/5.2/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:5.2" diff --git a/linux/advanced/zabbix/5.2/snmptraps/docker-compose.yml b/linux/advanced/zabbix/5.2/snmptraps/docker-compose.yml index 0dd98503b..970aff56b 100644 --- a/linux/advanced/zabbix/5.2/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:5.2" diff --git a/linux/advanced/zabbix/5.2/web-mysql/docker-compose.yml b/linux/advanced/zabbix/5.2/web-mysql/docker-compose.yml index 5494ab968..78160ed74 100644 --- a/linux/advanced/zabbix/5.2/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:5.2" diff --git a/linux/advanced/zabbix/5.2/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/5.2/web-pgsql/docker-compose.yml index ea8a99c98..df439ab51 100644 --- a/linux/advanced/zabbix/5.2/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/5.2/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:5.2" diff --git a/linux/advanced/zabbix/5.4/agent/docker-compose.yml b/linux/advanced/zabbix/5.4/agent/docker-compose.yml index 0a128b98b..f45c3f70a 100644 --- a/linux/advanced/zabbix/5.4/agent/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:5.4" diff --git a/linux/advanced/zabbix/5.4/agent2/docker-compose.yml b/linux/advanced/zabbix/5.4/agent2/docker-compose.yml index 7fb7dde90..7e4951b6e 100644 --- a/linux/advanced/zabbix/5.4/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:5.4" diff --git a/linux/advanced/zabbix/5.4/java-gateway/docker-compose.yml b/linux/advanced/zabbix/5.4/java-gateway/docker-compose.yml index 9c7fd3299..4dfa1d6c8 100644 --- a/linux/advanced/zabbix/5.4/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:5.4" diff --git a/linux/advanced/zabbix/5.4/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/5.4/proxy-mysql/docker-compose.yml index c18a13738..fa9e6e6b1 100644 --- a/linux/advanced/zabbix/5.4/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:5.4" diff --git a/linux/advanced/zabbix/5.4/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/5.4/proxy-sqlite3/docker-compose.yml index e47230c40..f63f72452 100644 --- a/linux/advanced/zabbix/5.4/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:5.4" diff --git a/linux/advanced/zabbix/5.4/server-mysql/docker-compose.yml b/linux/advanced/zabbix/5.4/server-mysql/docker-compose.yml index 3a702ff0c..407bdb998 100644 --- a/linux/advanced/zabbix/5.4/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:5.4" diff --git a/linux/advanced/zabbix/5.4/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/5.4/server-pgsql/docker-compose.yml index 9a74d4769..2e051e940 100644 --- a/linux/advanced/zabbix/5.4/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:5.4" diff --git a/linux/advanced/zabbix/5.4/snmptraps/docker-compose.yml b/linux/advanced/zabbix/5.4/snmptraps/docker-compose.yml index 2464830be..f80946d25 100644 --- a/linux/advanced/zabbix/5.4/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:5.4" diff --git a/linux/advanced/zabbix/5.4/web-mysql/docker-compose.yml b/linux/advanced/zabbix/5.4/web-mysql/docker-compose.yml index 3e73c5f5a..5c27a2bf4 100644 --- a/linux/advanced/zabbix/5.4/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:5.4" diff --git a/linux/advanced/zabbix/5.4/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/5.4/web-pgsql/docker-compose.yml index 4b118ede4..6b68adb1b 100644 --- a/linux/advanced/zabbix/5.4/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/5.4/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:5.4" diff --git a/linux/advanced/zabbix/6.0/agent/docker-compose.yml b/linux/advanced/zabbix/6.0/agent/docker-compose.yml index 605d65717..97eb9a970 100644 --- a/linux/advanced/zabbix/6.0/agent/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:6.0" diff --git a/linux/advanced/zabbix/6.0/agent2/docker-compose.yml b/linux/advanced/zabbix/6.0/agent2/docker-compose.yml index 3e654436f..7f84846e8 100644 --- a/linux/advanced/zabbix/6.0/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:6.0" diff --git a/linux/advanced/zabbix/6.0/java-gateway/docker-compose.yml b/linux/advanced/zabbix/6.0/java-gateway/docker-compose.yml index e241c4b27..e3caa7979 100644 --- a/linux/advanced/zabbix/6.0/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:6.0" diff --git a/linux/advanced/zabbix/6.0/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/6.0/proxy-mysql/docker-compose.yml index fd97d5f99..c54a8e595 100644 --- a/linux/advanced/zabbix/6.0/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:6.0" diff --git a/linux/advanced/zabbix/6.0/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/6.0/proxy-sqlite3/docker-compose.yml index 4dfbe1837..ca2834e53 100644 --- a/linux/advanced/zabbix/6.0/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:6.0" diff --git a/linux/advanced/zabbix/6.0/server-mysql/docker-compose.yml b/linux/advanced/zabbix/6.0/server-mysql/docker-compose.yml index eb0cdfece..fa1c7b4dc 100644 --- a/linux/advanced/zabbix/6.0/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:6.0" diff --git a/linux/advanced/zabbix/6.0/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/6.0/server-pgsql/docker-compose.yml index a117bba2c..ab9d37a9c 100644 --- a/linux/advanced/zabbix/6.0/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:6.0" diff --git a/linux/advanced/zabbix/6.0/snmptraps/docker-compose.yml b/linux/advanced/zabbix/6.0/snmptraps/docker-compose.yml index abe9b392c..813ae4dd1 100644 --- a/linux/advanced/zabbix/6.0/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:6.0" diff --git a/linux/advanced/zabbix/6.0/web-mysql/docker-compose.yml b/linux/advanced/zabbix/6.0/web-mysql/docker-compose.yml index c58efc9a0..d71f01444 100644 --- a/linux/advanced/zabbix/6.0/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:6.0" diff --git a/linux/advanced/zabbix/6.0/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/6.0/web-pgsql/docker-compose.yml index 4f672b805..d66609b1a 100644 --- a/linux/advanced/zabbix/6.0/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/6.0/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:6.0" diff --git a/linux/advanced/zabbix/6.2/agent/docker-compose.yml b/linux/advanced/zabbix/6.2/agent/docker-compose.yml index 6acbca020..528cd4827 100644 --- a/linux/advanced/zabbix/6.2/agent/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:6.2" diff --git a/linux/advanced/zabbix/6.2/agent2/docker-compose.yml b/linux/advanced/zabbix/6.2/agent2/docker-compose.yml index 947b6d25a..2c46947d4 100644 --- a/linux/advanced/zabbix/6.2/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:6.2" diff --git a/linux/advanced/zabbix/6.2/java-gateway/docker-compose.yml b/linux/advanced/zabbix/6.2/java-gateway/docker-compose.yml index 94d7b7083..7f63b8bcb 100644 --- a/linux/advanced/zabbix/6.2/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:6.2" diff --git a/linux/advanced/zabbix/6.2/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/6.2/proxy-mysql/docker-compose.yml index 07b936b27..cd8d0a7b9 100644 --- a/linux/advanced/zabbix/6.2/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:6.2" diff --git a/linux/advanced/zabbix/6.2/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/6.2/proxy-sqlite3/docker-compose.yml index 736226a71..b27a9dffb 100644 --- a/linux/advanced/zabbix/6.2/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:6.2" diff --git a/linux/advanced/zabbix/6.2/server-mysql/docker-compose.yml b/linux/advanced/zabbix/6.2/server-mysql/docker-compose.yml index 17e7ed2e4..4d1f5dfd5 100644 --- a/linux/advanced/zabbix/6.2/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:6.2" diff --git a/linux/advanced/zabbix/6.2/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/6.2/server-pgsql/docker-compose.yml index e6f168d09..678931dcc 100644 --- a/linux/advanced/zabbix/6.2/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:6.2" diff --git a/linux/advanced/zabbix/6.2/snmptraps/docker-compose.yml b/linux/advanced/zabbix/6.2/snmptraps/docker-compose.yml index d871169ab..6e04941e4 100644 --- a/linux/advanced/zabbix/6.2/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:6.2" diff --git a/linux/advanced/zabbix/6.2/web-mysql/docker-compose.yml b/linux/advanced/zabbix/6.2/web-mysql/docker-compose.yml index a4d29f965..4db46ace8 100644 --- a/linux/advanced/zabbix/6.2/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:6.2" diff --git a/linux/advanced/zabbix/6.2/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/6.2/web-pgsql/docker-compose.yml index 178624ddc..33cb07a0b 100644 --- a/linux/advanced/zabbix/6.2/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/6.2/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:6.2" diff --git a/linux/advanced/zabbix/6.4/agent/docker-compose.yml b/linux/advanced/zabbix/6.4/agent/docker-compose.yml index 5c6535814..830e8aa39 100644 --- a/linux/advanced/zabbix/6.4/agent/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:6.4" diff --git a/linux/advanced/zabbix/6.4/agent2/docker-compose.yml b/linux/advanced/zabbix/6.4/agent2/docker-compose.yml index c8e52c37d..c98df6548 100644 --- a/linux/advanced/zabbix/6.4/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:6.4" diff --git a/linux/advanced/zabbix/6.4/java-gateway/docker-compose.yml b/linux/advanced/zabbix/6.4/java-gateway/docker-compose.yml index 22706b7c0..191e24658 100644 --- a/linux/advanced/zabbix/6.4/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:6.4" diff --git a/linux/advanced/zabbix/6.4/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/6.4/proxy-mysql/docker-compose.yml index 0772d3dfd..29b69bb10 100644 --- a/linux/advanced/zabbix/6.4/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:6.4" diff --git a/linux/advanced/zabbix/6.4/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/6.4/proxy-sqlite3/docker-compose.yml index 0781128a0..6288c2e6e 100644 --- a/linux/advanced/zabbix/6.4/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:6.4" diff --git a/linux/advanced/zabbix/6.4/server-mysql/docker-compose.yml b/linux/advanced/zabbix/6.4/server-mysql/docker-compose.yml index 50531d35c..d745d1356 100644 --- a/linux/advanced/zabbix/6.4/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:6.4" diff --git a/linux/advanced/zabbix/6.4/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/6.4/server-pgsql/docker-compose.yml index c402b1e1e..47d6abb8a 100644 --- a/linux/advanced/zabbix/6.4/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:6.4" diff --git a/linux/advanced/zabbix/6.4/snmptraps/docker-compose.yml b/linux/advanced/zabbix/6.4/snmptraps/docker-compose.yml index fee69dbd9..569fac286 100644 --- a/linux/advanced/zabbix/6.4/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:6.4" diff --git a/linux/advanced/zabbix/6.4/web-mysql/docker-compose.yml b/linux/advanced/zabbix/6.4/web-mysql/docker-compose.yml index 2c6e928dc..e742796ee 100644 --- a/linux/advanced/zabbix/6.4/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:6.4" diff --git a/linux/advanced/zabbix/6.4/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/6.4/web-pgsql/docker-compose.yml index 24935ec96..798eaa077 100644 --- a/linux/advanced/zabbix/6.4/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/6.4/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:6.4" diff --git a/linux/advanced/zabbix/7.0/agent/docker-compose.yml b/linux/advanced/zabbix/7.0/agent/docker-compose.yml index 79ea55700..ff928082b 100644 --- a/linux/advanced/zabbix/7.0/agent/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:7.0" diff --git a/linux/advanced/zabbix/7.0/agent2/docker-compose.yml b/linux/advanced/zabbix/7.0/agent2/docker-compose.yml index 67d4cdcdd..5109f1fb3 100644 --- a/linux/advanced/zabbix/7.0/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:7.0" diff --git a/linux/advanced/zabbix/7.0/java-gateway/docker-compose.yml b/linux/advanced/zabbix/7.0/java-gateway/docker-compose.yml index b7e7a1d10..dc782c187 100644 --- a/linux/advanced/zabbix/7.0/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:7.0" diff --git a/linux/advanced/zabbix/7.0/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/7.0/proxy-mysql/docker-compose.yml index 5b20c820b..9f047a161 100644 --- a/linux/advanced/zabbix/7.0/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:7.0" diff --git a/linux/advanced/zabbix/7.0/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/7.0/proxy-sqlite3/docker-compose.yml index d5a713137..dc1de6d57 100644 --- a/linux/advanced/zabbix/7.0/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:7.0" diff --git a/linux/advanced/zabbix/7.0/server-mysql/docker-compose.yml b/linux/advanced/zabbix/7.0/server-mysql/docker-compose.yml index 9a7fd2d80..d2413f755 100644 --- a/linux/advanced/zabbix/7.0/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:7.0" diff --git a/linux/advanced/zabbix/7.0/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/7.0/server-pgsql/docker-compose.yml index 46804eca3..169e77f81 100644 --- a/linux/advanced/zabbix/7.0/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:7.0" diff --git a/linux/advanced/zabbix/7.0/snmptraps/docker-compose.yml b/linux/advanced/zabbix/7.0/snmptraps/docker-compose.yml index 186822975..1698b472f 100644 --- a/linux/advanced/zabbix/7.0/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:7.0" diff --git a/linux/advanced/zabbix/7.0/web-mysql/docker-compose.yml b/linux/advanced/zabbix/7.0/web-mysql/docker-compose.yml index b5f503af0..59bbb5a5d 100644 --- a/linux/advanced/zabbix/7.0/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:7.0" diff --git a/linux/advanced/zabbix/7.0/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/7.0/web-pgsql/docker-compose.yml index 087b52384..caecff8ca 100644 --- a/linux/advanced/zabbix/7.0/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/7.0/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:7.0" diff --git a/linux/advanced/zabbix/7.2/agent/docker-compose.yml b/linux/advanced/zabbix/7.2/agent/docker-compose.yml index 8ade421be..c0f94fe52 100644 --- a/linux/advanced/zabbix/7.2/agent/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:7.2" diff --git a/linux/advanced/zabbix/7.2/agent2/docker-compose.yml b/linux/advanced/zabbix/7.2/agent2/docker-compose.yml index 762b098fd..36d2768ab 100644 --- a/linux/advanced/zabbix/7.2/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:7.2" diff --git a/linux/advanced/zabbix/7.2/java-gateway/docker-compose.yml b/linux/advanced/zabbix/7.2/java-gateway/docker-compose.yml index fc4d2b262..801326cca 100644 --- a/linux/advanced/zabbix/7.2/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:7.2" diff --git a/linux/advanced/zabbix/7.2/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/7.2/proxy-mysql/docker-compose.yml index 3b266bbce..395b92f8f 100644 --- a/linux/advanced/zabbix/7.2/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:7.2" diff --git a/linux/advanced/zabbix/7.2/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/7.2/proxy-sqlite3/docker-compose.yml index 2df867796..c702a8b5a 100644 --- a/linux/advanced/zabbix/7.2/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:7.2" diff --git a/linux/advanced/zabbix/7.2/server-mysql/docker-compose.yml b/linux/advanced/zabbix/7.2/server-mysql/docker-compose.yml index dde180e03..d563d752f 100644 --- a/linux/advanced/zabbix/7.2/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:7.2" diff --git a/linux/advanced/zabbix/7.2/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/7.2/server-pgsql/docker-compose.yml index 37594fa51..ec61ab0b6 100644 --- a/linux/advanced/zabbix/7.2/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:7.2" diff --git a/linux/advanced/zabbix/7.2/snmptraps/docker-compose.yml b/linux/advanced/zabbix/7.2/snmptraps/docker-compose.yml index c53c64517..3b9b3b663 100644 --- a/linux/advanced/zabbix/7.2/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:7.2" diff --git a/linux/advanced/zabbix/7.2/web-mysql/docker-compose.yml b/linux/advanced/zabbix/7.2/web-mysql/docker-compose.yml index 761f18e87..7fb5ecfbd 100644 --- a/linux/advanced/zabbix/7.2/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:7.2" diff --git a/linux/advanced/zabbix/7.2/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/7.2/web-pgsql/docker-compose.yml index de7a95228..5769d097d 100644 --- a/linux/advanced/zabbix/7.2/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/7.2/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:7.2" diff --git a/linux/advanced/zabbix/latest/agent/docker-compose.yml b/linux/advanced/zabbix/latest/agent/docker-compose.yml index bd9e4836d..e72d54591 100644 --- a/linux/advanced/zabbix/latest/agent/docker-compose.yml +++ b/linux/advanced/zabbix/latest/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:latest" diff --git a/linux/advanced/zabbix/latest/agent2/docker-compose.yml b/linux/advanced/zabbix/latest/agent2/docker-compose.yml index 8efc79f70..4e714ba22 100644 --- a/linux/advanced/zabbix/latest/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/latest/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:latest" diff --git a/linux/advanced/zabbix/latest/java-gateway/docker-compose.yml b/linux/advanced/zabbix/latest/java-gateway/docker-compose.yml index 3a956f0b1..d0c6b98b1 100644 --- a/linux/advanced/zabbix/latest/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/latest/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:latest" diff --git a/linux/advanced/zabbix/latest/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/latest/proxy-mysql/docker-compose.yml index 518d16982..38eaa4c70 100644 --- a/linux/advanced/zabbix/latest/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/latest/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:latest" diff --git a/linux/advanced/zabbix/latest/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/latest/proxy-sqlite3/docker-compose.yml index 2fb08809f..dd171914b 100644 --- a/linux/advanced/zabbix/latest/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/latest/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:latest" diff --git a/linux/advanced/zabbix/latest/server-mysql/docker-compose.yml b/linux/advanced/zabbix/latest/server-mysql/docker-compose.yml index a6cc310bd..f853f2027 100644 --- a/linux/advanced/zabbix/latest/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/latest/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:latest" diff --git a/linux/advanced/zabbix/latest/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/latest/server-pgsql/docker-compose.yml index 0587c8fd5..b45700521 100644 --- a/linux/advanced/zabbix/latest/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/latest/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:latest" diff --git a/linux/advanced/zabbix/latest/snmptraps/docker-compose.yml b/linux/advanced/zabbix/latest/snmptraps/docker-compose.yml index 6e1b71e70..87650ec0c 100644 --- a/linux/advanced/zabbix/latest/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/latest/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:latest" diff --git a/linux/advanced/zabbix/latest/web-mysql/docker-compose.yml b/linux/advanced/zabbix/latest/web-mysql/docker-compose.yml index 4ae260161..4d170b973 100644 --- a/linux/advanced/zabbix/latest/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/latest/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:latest" diff --git a/linux/advanced/zabbix/latest/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/latest/web-pgsql/docker-compose.yml index 40978ac72..28e651336 100644 --- a/linux/advanced/zabbix/latest/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/latest/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:latest" diff --git a/linux/advanced/zabbix/trunk/agent/docker-compose.yml b/linux/advanced/zabbix/trunk/agent/docker-compose.yml index e658dd55c..4cebc0fd8 100644 --- a/linux/advanced/zabbix/trunk/agent/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/agent/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent:trunk" diff --git a/linux/advanced/zabbix/trunk/agent2/docker-compose.yml b/linux/advanced/zabbix/trunk/agent2/docker-compose.yml index 9c2d37a87..d5e9493dc 100644 --- a/linux/advanced/zabbix/trunk/agent2/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/agent2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-agent2:trunk" diff --git a/linux/advanced/zabbix/trunk/java-gateway/docker-compose.yml b/linux/advanced/zabbix/trunk/java-gateway/docker-compose.yml index e2bf8af92..fe92f8b0c 100644 --- a/linux/advanced/zabbix/trunk/java-gateway/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/java-gateway/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-java-gateway:trunk" diff --git a/linux/advanced/zabbix/trunk/proxy-mysql/docker-compose.yml b/linux/advanced/zabbix/trunk/proxy-mysql/docker-compose.yml index ddcc3854d..39d667512 100644 --- a/linux/advanced/zabbix/trunk/proxy-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/proxy-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-mysql:trunk" diff --git a/linux/advanced/zabbix/trunk/proxy-sqlite3/docker-compose.yml b/linux/advanced/zabbix/trunk/proxy-sqlite3/docker-compose.yml index 0ca7a1416..1eece19ca 100644 --- a/linux/advanced/zabbix/trunk/proxy-sqlite3/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/proxy-sqlite3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-proxy-sqlite3:trunk" diff --git a/linux/advanced/zabbix/trunk/server-mysql/docker-compose.yml b/linux/advanced/zabbix/trunk/server-mysql/docker-compose.yml index 2c551577d..6cf205196 100644 --- a/linux/advanced/zabbix/trunk/server-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/server-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-mysql:trunk" diff --git a/linux/advanced/zabbix/trunk/server-pgsql/docker-compose.yml b/linux/advanced/zabbix/trunk/server-pgsql/docker-compose.yml index f37f3662f..8ca563f4f 100644 --- a/linux/advanced/zabbix/trunk/server-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/server-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-server-pgsql:trunk" diff --git a/linux/advanced/zabbix/trunk/snmptraps/docker-compose.yml b/linux/advanced/zabbix/trunk/snmptraps/docker-compose.yml index 3ad0117a8..b24749c67 100644 --- a/linux/advanced/zabbix/trunk/snmptraps/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/snmptraps/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-snmptraps:trunk" diff --git a/linux/advanced/zabbix/trunk/web-mysql/docker-compose.yml b/linux/advanced/zabbix/trunk/web-mysql/docker-compose.yml index 559765609..d1caa0c25 100644 --- a/linux/advanced/zabbix/trunk/web-mysql/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/web-mysql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-mysql:trunk" diff --git a/linux/advanced/zabbix/trunk/web-pgsql/docker-compose.yml b/linux/advanced/zabbix/trunk/web-pgsql/docker-compose.yml index 52cb0d843..69ad98546 100644 --- a/linux/advanced/zabbix/trunk/web-pgsql/docker-compose.yml +++ b/linux/advanced/zabbix/trunk/web-pgsql/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/zabbix-web-apache-pgsql:trunk" diff --git a/linux/discontinued/epicmorg/devel/jdk11/docker-compose.yml b/linux/discontinued/epicmorg/devel/jdk11/docker-compose.yml index d662b6be5..c7f61c4ab 100644 --- a/linux/discontinued/epicmorg/devel/jdk11/docker-compose.yml +++ b/linux/discontinued/epicmorg/devel/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/devel:jdk11" diff --git a/linux/discontinued/epicmorg/devel/jdk16/docker-compose.yml b/linux/discontinued/epicmorg/devel/jdk16/docker-compose.yml index 0f9029eda..8c4c3123c 100644 --- a/linux/discontinued/epicmorg/devel/jdk16/docker-compose.yml +++ b/linux/discontinued/epicmorg/devel/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/devel:jdk16" diff --git a/linux/discontinued/epicmorg/devel/jdk6/docker-compose.yml b/linux/discontinued/epicmorg/devel/jdk6/docker-compose.yml index 11b0db49f..612c974dc 100644 --- a/linux/discontinued/epicmorg/devel/jdk6/docker-compose.yml +++ b/linux/discontinued/epicmorg/devel/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/devel:jdk6" diff --git a/linux/discontinued/epicmorg/devel/jdk7/docker-compose.yml b/linux/discontinued/epicmorg/devel/jdk7/docker-compose.yml index 115d755d2..74b8fbe37 100644 --- a/linux/discontinued/epicmorg/devel/jdk7/docker-compose.yml +++ b/linux/discontinued/epicmorg/devel/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/devel:jdk7" diff --git a/linux/discontinued/epicmorg/devel/jdk8/docker-compose.yml b/linux/discontinued/epicmorg/devel/jdk8/docker-compose.yml index c64ddc127..5416cb76d 100644 --- a/linux/discontinued/epicmorg/devel/jdk8/docker-compose.yml +++ b/linux/discontinued/epicmorg/devel/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/devel:jdk8" diff --git a/linux/discontinued/epicmorg/devel/main/docker-compose.yml b/linux/discontinued/epicmorg/devel/main/docker-compose.yml index 9bd7e865f..7fb9ebd2a 100644 --- a/linux/discontinued/epicmorg/devel/main/docker-compose.yml +++ b/linux/discontinued/epicmorg/devel/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/devel:latest" diff --git a/linux/discontinued/epicmorg/edge/jdk11/docker-compose.yml b/linux/discontinued/epicmorg/edge/jdk11/docker-compose.yml index 8478ac695..d79aaf472 100644 --- a/linux/discontinued/epicmorg/edge/jdk11/docker-compose.yml +++ b/linux/discontinued/epicmorg/edge/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/edge:jdk11" diff --git a/linux/discontinued/epicmorg/edge/jdk16/docker-compose.yml b/linux/discontinued/epicmorg/edge/jdk16/docker-compose.yml index 7b808263d..6bccad24d 100644 --- a/linux/discontinued/epicmorg/edge/jdk16/docker-compose.yml +++ b/linux/discontinued/epicmorg/edge/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/edge:jdk16" diff --git a/linux/discontinued/epicmorg/edge/jdk6/docker-compose.yml b/linux/discontinued/epicmorg/edge/jdk6/docker-compose.yml index 59f450dd3..abd7b4152 100644 --- a/linux/discontinued/epicmorg/edge/jdk6/docker-compose.yml +++ b/linux/discontinued/epicmorg/edge/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/edge:jdk6" diff --git a/linux/discontinued/epicmorg/edge/jdk7/docker-compose.yml b/linux/discontinued/epicmorg/edge/jdk7/docker-compose.yml index 5e5189909..3ffb42fc5 100644 --- a/linux/discontinued/epicmorg/edge/jdk7/docker-compose.yml +++ b/linux/discontinued/epicmorg/edge/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/edge:jdk7" diff --git a/linux/discontinued/epicmorg/edge/jdk8/docker-compose.yml b/linux/discontinued/epicmorg/edge/jdk8/docker-compose.yml index 966f52bc7..439ee9919 100644 --- a/linux/discontinued/epicmorg/edge/jdk8/docker-compose.yml +++ b/linux/discontinued/epicmorg/edge/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/edge:jdk8" diff --git a/linux/discontinued/epicmorg/edge/main/docker-compose.yml b/linux/discontinued/epicmorg/edge/main/docker-compose.yml index ac2a31207..f404d3be3 100644 --- a/linux/discontinued/epicmorg/edge/main/docker-compose.yml +++ b/linux/discontinued/epicmorg/edge/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/edge:latest" diff --git a/linux/discontinued/epicmorg/prod/jdk11/docker-compose.yml b/linux/discontinued/epicmorg/prod/jdk11/docker-compose.yml index 860487a41..1ce14e007 100644 --- a/linux/discontinued/epicmorg/prod/jdk11/docker-compose.yml +++ b/linux/discontinued/epicmorg/prod/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/prod:jdk11" diff --git a/linux/discontinued/epicmorg/prod/jdk16/docker-compose.yml b/linux/discontinued/epicmorg/prod/jdk16/docker-compose.yml index 4805d2e2f..7a8d212e9 100644 --- a/linux/discontinued/epicmorg/prod/jdk16/docker-compose.yml +++ b/linux/discontinued/epicmorg/prod/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/prod:jdk16" diff --git a/linux/discontinued/epicmorg/prod/jdk6/docker-compose.yml b/linux/discontinued/epicmorg/prod/jdk6/docker-compose.yml index dc4790001..fb7a19a50 100644 --- a/linux/discontinued/epicmorg/prod/jdk6/docker-compose.yml +++ b/linux/discontinued/epicmorg/prod/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/prod:jdk6" diff --git a/linux/discontinued/epicmorg/prod/jdk7/docker-compose.yml b/linux/discontinued/epicmorg/prod/jdk7/docker-compose.yml index 343f27f05..12e828e29 100644 --- a/linux/discontinued/epicmorg/prod/jdk7/docker-compose.yml +++ b/linux/discontinued/epicmorg/prod/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/prod:jdk7" diff --git a/linux/discontinued/epicmorg/prod/jdk8/docker-compose.yml b/linux/discontinued/epicmorg/prod/jdk8/docker-compose.yml index e779cfb90..f6e2ec69d 100644 --- a/linux/discontinued/epicmorg/prod/jdk8/docker-compose.yml +++ b/linux/discontinued/epicmorg/prod/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/prod:jdk8" diff --git a/linux/discontinued/epicmorg/prod/main/docker-compose.yml b/linux/discontinued/epicmorg/prod/main/docker-compose.yml index bfc03ef38..6b259d4b3 100644 --- a/linux/discontinued/epicmorg/prod/main/docker-compose.yml +++ b/linux/discontinued/epicmorg/prod/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/prod:latest" diff --git a/linux/discontinued/freegpt-webui/1.0/docker-compose.yml b/linux/discontinued/freegpt-webui/1.0/docker-compose.yml index 9ed7181af..7205d223f 100644 --- a/linux/discontinued/freegpt-webui/1.0/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:1.0" diff --git a/linux/discontinued/freegpt-webui/1.1/docker-compose.yml b/linux/discontinued/freegpt-webui/1.1/docker-compose.yml index f55ecfee8..ecfd80269 100644 --- a/linux/discontinued/freegpt-webui/1.1/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:1.1" diff --git a/linux/discontinued/freegpt-webui/1.2/docker-compose.yml b/linux/discontinued/freegpt-webui/1.2/docker-compose.yml index 9c9dd9346..97693a019 100644 --- a/linux/discontinued/freegpt-webui/1.2/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:1.2" diff --git a/linux/discontinued/freegpt-webui/1.3.1/docker-compose.yml b/linux/discontinued/freegpt-webui/1.3.1/docker-compose.yml index eb3a912f6..f41f454a9 100644 --- a/linux/discontinued/freegpt-webui/1.3.1/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/1.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:1.3.1" diff --git a/linux/discontinued/freegpt-webui/1.3.2/docker-compose.yml b/linux/discontinued/freegpt-webui/1.3.2/docker-compose.yml index e6e5fbeb1..c487d8b9b 100644 --- a/linux/discontinued/freegpt-webui/1.3.2/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/1.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:1.3.2" diff --git a/linux/discontinued/freegpt-webui/1.3/docker-compose.yml b/linux/discontinued/freegpt-webui/1.3/docker-compose.yml index 806b4d973..13447631a 100644 --- a/linux/discontinued/freegpt-webui/1.3/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:1.3" diff --git a/linux/discontinued/freegpt-webui/1.4/docker-compose.yml b/linux/discontinued/freegpt-webui/1.4/docker-compose.yml index 2392d62fd..4b233b949 100644 --- a/linux/discontinued/freegpt-webui/1.4/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:1.4" diff --git a/linux/discontinued/freegpt-webui/README.md b/linux/discontinued/freegpt-webui/README.md index 3d81856b2..ba2ee8803 100644 --- a/linux/discontinued/freegpt-webui/README.md +++ b/linux/discontinued/freegpt-webui/README.md @@ -9,7 +9,6 @@ # Ready docker-compose example ```yml -version: "3.9" services: freegpt-webui: image: epicmorg/freegpt-webui:latest #1.3.2, <...>, 1.0, etc diff --git a/linux/discontinued/freegpt-webui/latest/docker-compose.yml b/linux/discontinued/freegpt-webui/latest/docker-compose.yml index 4baf349f2..01afaeba2 100644 --- a/linux/discontinued/freegpt-webui/latest/docker-compose.yml +++ b/linux/discontinued/freegpt-webui/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/freegpt-webui:latest" diff --git a/linux/ecosystem/gitlab/runner/atlassian-sdk/Dockerfile b/linux/discontinued/gitlab/runner/atlassian-sdk/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/atlassian-sdk/Dockerfile rename to linux/discontinued/gitlab/runner/atlassian-sdk/Dockerfile diff --git a/linux/ecosystem/atlassian/crowd/latest/Makefile b/linux/discontinued/gitlab/runner/atlassian-sdk/Makefile similarity index 100% rename from linux/ecosystem/atlassian/crowd/latest/Makefile rename to linux/discontinued/gitlab/runner/atlassian-sdk/Makefile diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.10/README.md b/linux/discontinued/gitlab/runner/atlassian-sdk/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.10/README.md rename to linux/discontinued/gitlab/runner/atlassian-sdk/README.md diff --git a/linux/ecosystem/gitlab/runner/atlassian-sdk/apt/keyrings/atlassian.asc b/linux/discontinued/gitlab/runner/atlassian-sdk/apt/keyrings/atlassian.asc similarity index 100% rename from linux/ecosystem/gitlab/runner/atlassian-sdk/apt/keyrings/atlassian.asc rename to linux/discontinued/gitlab/runner/atlassian-sdk/apt/keyrings/atlassian.asc diff --git a/linux/ecosystem/gitlab/runner/atlassian-sdk/apt/sources.list.d/atlassian-sdk.list b/linux/discontinued/gitlab/runner/atlassian-sdk/apt/sources.list.d/atlassian-sdk.list similarity index 100% rename from linux/ecosystem/gitlab/runner/atlassian-sdk/apt/sources.list.d/atlassian-sdk.list rename to linux/discontinued/gitlab/runner/atlassian-sdk/apt/sources.list.d/atlassian-sdk.list diff --git a/linux/ecosystem/gitlab/runner/atlassian-sdk/docker-compose.yml b/linux/discontinued/gitlab/runner/atlassian-sdk/docker-compose.yml similarity index 87% rename from linux/ecosystem/gitlab/runner/atlassian-sdk/docker-compose.yml rename to linux/discontinued/gitlab/runner/atlassian-sdk/docker-compose.yml index f8bf139ff..000793b30 100644 --- a/linux/ecosystem/gitlab/runner/atlassian-sdk/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/atlassian-sdk/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:atlassian-sdk" diff --git a/linux/ecosystem/gitlab/runner/dotnet-sdk/Dockerfile b/linux/discontinued/gitlab/runner/dotnet-sdk/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/dotnet-sdk/Dockerfile rename to linux/discontinued/gitlab/runner/dotnet-sdk/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.10/Makefile b/linux/discontinued/gitlab/runner/dotnet-sdk/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.10/Makefile rename to linux/discontinued/gitlab/runner/dotnet-sdk/Makefile diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.9/README.md b/linux/discontinued/gitlab/runner/dotnet-sdk/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.9/README.md rename to linux/discontinued/gitlab/runner/dotnet-sdk/README.md diff --git a/linux/ecosystem/teamcity/agent/dotnet-sdk/docker-compose.yml b/linux/discontinued/gitlab/runner/dotnet-sdk/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/dotnet-sdk/docker-compose.yml rename to linux/discontinued/gitlab/runner/dotnet-sdk/docker-compose.yml index c4de0dedc..4632db9f4 100644 --- a/linux/ecosystem/teamcity/agent/dotnet-sdk/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/dotnet-sdk/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:dotnet-sdk" diff --git a/linux/ecosystem/gitlab/runner/node0.12/Dockerfile b/linux/discontinued/gitlab/runner/node0.12/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node0.12/Dockerfile rename to linux/discontinued/gitlab/runner/node0.12/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.9/Makefile b/linux/discontinued/gitlab/runner/node0.12/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.9/Makefile rename to linux/discontinued/gitlab/runner/node0.12/Makefile diff --git a/linux/ecosystem/gitlab/runner/node0.12/README.md b/linux/discontinued/gitlab/runner/node0.12/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node0.12/README.md rename to linux/discontinued/gitlab/runner/node0.12/README.md diff --git a/linux/ecosystem/gitlab/runner/node0.12/docker-compose.yml b/linux/discontinued/gitlab/runner/node0.12/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node0.12/docker-compose.yml rename to linux/discontinued/gitlab/runner/node0.12/docker-compose.yml index 3149e0309..592005a12 100644 --- a/linux/ecosystem/gitlab/runner/node0.12/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node0.12" diff --git a/linux/ecosystem/gitlab/runner/node10/Dockerfile b/linux/discontinued/gitlab/runner/node10/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node10/Dockerfile rename to linux/discontinued/gitlab/runner/node10/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Makefile b/linux/discontinued/gitlab/runner/node10/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk11/Makefile rename to linux/discontinued/gitlab/runner/node10/Makefile diff --git a/linux/ecosystem/gitlab/runner/node10/README.md b/linux/discontinued/gitlab/runner/node10/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node10/README.md rename to linux/discontinued/gitlab/runner/node10/README.md diff --git a/linux/ecosystem/gitlab/runner/node10/docker-compose.yml b/linux/discontinued/gitlab/runner/node10/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node10/docker-compose.yml rename to linux/discontinued/gitlab/runner/node10/docker-compose.yml index 669cd1025..6e7dc311f 100644 --- a/linux/ecosystem/gitlab/runner/node10/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node10" diff --git a/linux/ecosystem/gitlab/runner/node11/Dockerfile b/linux/discontinued/gitlab/runner/node11/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node11/Dockerfile rename to linux/discontinued/gitlab/runner/node11/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Makefile b/linux/discontinued/gitlab/runner/node11/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk17/Makefile rename to linux/discontinued/gitlab/runner/node11/Makefile diff --git a/linux/ecosystem/gitlab/runner/node11/README.md b/linux/discontinued/gitlab/runner/node11/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node11/README.md rename to linux/discontinued/gitlab/runner/node11/README.md diff --git a/linux/ecosystem/gitlab/runner/node11/docker-compose.yml b/linux/discontinued/gitlab/runner/node11/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node11/docker-compose.yml rename to linux/discontinued/gitlab/runner/node11/docker-compose.yml index a7238b9ea..7c78f9e7e 100644 --- a/linux/ecosystem/gitlab/runner/node11/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node11" diff --git a/linux/ecosystem/gitlab/runner/node12/Dockerfile b/linux/discontinued/gitlab/runner/node12/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node12/Dockerfile rename to linux/discontinued/gitlab/runner/node12/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/Makefile b/linux/discontinued/gitlab/runner/node12/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk8/Makefile rename to linux/discontinued/gitlab/runner/node12/Makefile diff --git a/linux/ecosystem/gitlab/runner/node12/README.md b/linux/discontinued/gitlab/runner/node12/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node12/README.md rename to linux/discontinued/gitlab/runner/node12/README.md diff --git a/linux/ecosystem/gitlab/runner/node12/docker-compose.yml b/linux/discontinued/gitlab/runner/node12/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node12/docker-compose.yml rename to linux/discontinued/gitlab/runner/node12/docker-compose.yml index 154b0a8aa..ff17134e1 100644 --- a/linux/ecosystem/gitlab/runner/node12/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node12" diff --git a/linux/ecosystem/gitlab/runner/node13/Dockerfile b/linux/discontinued/gitlab/runner/node13/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node13/Dockerfile rename to linux/discontinued/gitlab/runner/node13/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/atlassian-sdk/Makefile b/linux/discontinued/gitlab/runner/node13/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/atlassian-sdk/Makefile rename to linux/discontinued/gitlab/runner/node13/Makefile diff --git a/linux/ecosystem/gitlab/runner/node13/README.md b/linux/discontinued/gitlab/runner/node13/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node13/README.md rename to linux/discontinued/gitlab/runner/node13/README.md diff --git a/linux/ecosystem/gitlab/runner/node13/docker-compose.yml b/linux/discontinued/gitlab/runner/node13/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node13/docker-compose.yml rename to linux/discontinued/gitlab/runner/node13/docker-compose.yml index 6b2fd7f89..8d1075ab3 100644 --- a/linux/ecosystem/gitlab/runner/node13/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node13" diff --git a/linux/ecosystem/gitlab/runner/node14/Dockerfile b/linux/discontinued/gitlab/runner/node14/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node14/Dockerfile rename to linux/discontinued/gitlab/runner/node14/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/dotnet-sdk/Makefile b/linux/discontinued/gitlab/runner/node14/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/dotnet-sdk/Makefile rename to linux/discontinued/gitlab/runner/node14/Makefile diff --git a/linux/ecosystem/gitlab/runner/node14/README.md b/linux/discontinued/gitlab/runner/node14/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node14/README.md rename to linux/discontinued/gitlab/runner/node14/README.md diff --git a/linux/ecosystem/gitlab/runner/node14/docker-compose.yml b/linux/discontinued/gitlab/runner/node14/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node14/docker-compose.yml rename to linux/discontinued/gitlab/runner/node14/docker-compose.yml index 6b8ac65fc..40d1cfce2 100644 --- a/linux/ecosystem/gitlab/runner/node14/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node14" diff --git a/linux/ecosystem/gitlab/runner/node15/Dockerfile b/linux/discontinued/gitlab/runner/node15/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node15/Dockerfile rename to linux/discontinued/gitlab/runner/node15/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node0.12/Makefile b/linux/discontinued/gitlab/runner/node15/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node0.12/Makefile rename to linux/discontinued/gitlab/runner/node15/Makefile diff --git a/linux/ecosystem/gitlab/runner/node15/README.md b/linux/discontinued/gitlab/runner/node15/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node15/README.md rename to linux/discontinued/gitlab/runner/node15/README.md diff --git a/linux/ecosystem/gitlab/runner/node15/docker-compose.yml b/linux/discontinued/gitlab/runner/node15/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node15/docker-compose.yml rename to linux/discontinued/gitlab/runner/node15/docker-compose.yml index ffda9abd1..018021644 100644 --- a/linux/ecosystem/gitlab/runner/node15/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node15" diff --git a/linux/ecosystem/gitlab/runner/node16/Dockerfile b/linux/discontinued/gitlab/runner/node16/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node16/Dockerfile rename to linux/discontinued/gitlab/runner/node16/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node10/Makefile b/linux/discontinued/gitlab/runner/node16/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node10/Makefile rename to linux/discontinued/gitlab/runner/node16/Makefile diff --git a/linux/ecosystem/gitlab/runner/node16/README.md b/linux/discontinued/gitlab/runner/node16/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node16/README.md rename to linux/discontinued/gitlab/runner/node16/README.md diff --git a/linux/ecosystem/gitlab/runner/node16/docker-compose.yml b/linux/discontinued/gitlab/runner/node16/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node16/docker-compose.yml rename to linux/discontinued/gitlab/runner/node16/docker-compose.yml index 2aa3506b4..37a61c79e 100644 --- a/linux/ecosystem/gitlab/runner/node16/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node16" diff --git a/linux/ecosystem/gitlab/runner/node17/Dockerfile b/linux/discontinued/gitlab/runner/node17/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node17/Dockerfile rename to linux/discontinued/gitlab/runner/node17/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node11/Makefile b/linux/discontinued/gitlab/runner/node17/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node11/Makefile rename to linux/discontinued/gitlab/runner/node17/Makefile diff --git a/linux/ecosystem/gitlab/runner/node17/README.md b/linux/discontinued/gitlab/runner/node17/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node17/README.md rename to linux/discontinued/gitlab/runner/node17/README.md diff --git a/linux/ecosystem/gitlab/runner/node17/docker-compose.yml b/linux/discontinued/gitlab/runner/node17/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node17/docker-compose.yml rename to linux/discontinued/gitlab/runner/node17/docker-compose.yml index d317f2bdf..fcae66a95 100644 --- a/linux/ecosystem/gitlab/runner/node17/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node17" diff --git a/linux/ecosystem/gitlab/runner/node18/Dockerfile b/linux/discontinued/gitlab/runner/node18/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node18/Dockerfile rename to linux/discontinued/gitlab/runner/node18/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node12/Makefile b/linux/discontinued/gitlab/runner/node18/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node12/Makefile rename to linux/discontinued/gitlab/runner/node18/Makefile diff --git a/linux/ecosystem/gitlab/runner/node18/README.md b/linux/discontinued/gitlab/runner/node18/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node18/README.md rename to linux/discontinued/gitlab/runner/node18/README.md diff --git a/linux/ecosystem/gitlab/runner/node18/docker-compose.yml b/linux/discontinued/gitlab/runner/node18/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node18/docker-compose.yml rename to linux/discontinued/gitlab/runner/node18/docker-compose.yml index 2409853d7..569ec6e10 100644 --- a/linux/ecosystem/gitlab/runner/node18/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node18" diff --git a/linux/ecosystem/gitlab/runner/node19/Dockerfile b/linux/discontinued/gitlab/runner/node19/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node19/Dockerfile rename to linux/discontinued/gitlab/runner/node19/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node13/Makefile b/linux/discontinued/gitlab/runner/node19/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node13/Makefile rename to linux/discontinued/gitlab/runner/node19/Makefile diff --git a/linux/ecosystem/gitlab/runner/node19/README.md b/linux/discontinued/gitlab/runner/node19/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node19/README.md rename to linux/discontinued/gitlab/runner/node19/README.md diff --git a/linux/ecosystem/gitlab/runner/node19/docker-compose.yml b/linux/discontinued/gitlab/runner/node19/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node19/docker-compose.yml rename to linux/discontinued/gitlab/runner/node19/docker-compose.yml index 0cf2dc969..99a075a51 100644 --- a/linux/ecosystem/gitlab/runner/node19/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node19" diff --git a/linux/ecosystem/gitlab/runner/node20/Dockerfile b/linux/discontinued/gitlab/runner/node20/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node20/Dockerfile rename to linux/discontinued/gitlab/runner/node20/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node14/Makefile b/linux/discontinued/gitlab/runner/node20/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node14/Makefile rename to linux/discontinued/gitlab/runner/node20/Makefile diff --git a/linux/ecosystem/gitlab/runner/node20/README.md b/linux/discontinued/gitlab/runner/node20/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node20/README.md rename to linux/discontinued/gitlab/runner/node20/README.md diff --git a/linux/ecosystem/gitlab/runner/node20/docker-compose.yml b/linux/discontinued/gitlab/runner/node20/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node20/docker-compose.yml rename to linux/discontinued/gitlab/runner/node20/docker-compose.yml index 8915e474c..b03a9075b 100644 --- a/linux/ecosystem/gitlab/runner/node20/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node20" diff --git a/linux/ecosystem/gitlab/runner/node21/Dockerfile b/linux/discontinued/gitlab/runner/node21/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node21/Dockerfile rename to linux/discontinued/gitlab/runner/node21/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node15/Makefile b/linux/discontinued/gitlab/runner/node21/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node15/Makefile rename to linux/discontinued/gitlab/runner/node21/Makefile diff --git a/linux/ecosystem/gitlab/runner/node21/README.md b/linux/discontinued/gitlab/runner/node21/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node21/README.md rename to linux/discontinued/gitlab/runner/node21/README.md diff --git a/linux/ecosystem/gitlab/runner/node21/docker-compose.yml b/linux/discontinued/gitlab/runner/node21/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node21/docker-compose.yml rename to linux/discontinued/gitlab/runner/node21/docker-compose.yml index b3a8b3017..f770a31df 100644 --- a/linux/ecosystem/gitlab/runner/node21/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node21" diff --git a/linux/ecosystem/gitlab/runner/node22/Dockerfile b/linux/discontinued/gitlab/runner/node22/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node22/Dockerfile rename to linux/discontinued/gitlab/runner/node22/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node16/Makefile b/linux/discontinued/gitlab/runner/node22/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node16/Makefile rename to linux/discontinued/gitlab/runner/node22/Makefile diff --git a/linux/ecosystem/gitlab/runner/node22/README.md b/linux/discontinued/gitlab/runner/node22/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node22/README.md rename to linux/discontinued/gitlab/runner/node22/README.md diff --git a/linux/ecosystem/gitlab/runner/node22/docker-compose.yml b/linux/discontinued/gitlab/runner/node22/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node22/docker-compose.yml rename to linux/discontinued/gitlab/runner/node22/docker-compose.yml index fc836d425..6d3573893 100644 --- a/linux/ecosystem/gitlab/runner/node22/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node22" diff --git a/linux/ecosystem/gitlab/runner/node4/Dockerfile b/linux/discontinued/gitlab/runner/node4/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node4/Dockerfile rename to linux/discontinued/gitlab/runner/node4/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node17/Makefile b/linux/discontinued/gitlab/runner/node4/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node17/Makefile rename to linux/discontinued/gitlab/runner/node4/Makefile diff --git a/linux/ecosystem/gitlab/runner/node4/README.md b/linux/discontinued/gitlab/runner/node4/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node4/README.md rename to linux/discontinued/gitlab/runner/node4/README.md diff --git a/linux/ecosystem/gitlab/runner/node4/docker-compose.yml b/linux/discontinued/gitlab/runner/node4/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node4/docker-compose.yml rename to linux/discontinued/gitlab/runner/node4/docker-compose.yml index 612b0ce05..951104f8e 100644 --- a/linux/ecosystem/gitlab/runner/node4/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node4" diff --git a/linux/ecosystem/gitlab/runner/node5/Dockerfile b/linux/discontinued/gitlab/runner/node5/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node5/Dockerfile rename to linux/discontinued/gitlab/runner/node5/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node18/Makefile b/linux/discontinued/gitlab/runner/node5/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node18/Makefile rename to linux/discontinued/gitlab/runner/node5/Makefile diff --git a/linux/ecosystem/gitlab/runner/node5/README.md b/linux/discontinued/gitlab/runner/node5/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node5/README.md rename to linux/discontinued/gitlab/runner/node5/README.md diff --git a/linux/ecosystem/gitlab/runner/node5/docker-compose.yml b/linux/discontinued/gitlab/runner/node5/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node5/docker-compose.yml rename to linux/discontinued/gitlab/runner/node5/docker-compose.yml index e8106408b..ef9637664 100644 --- a/linux/ecosystem/gitlab/runner/node5/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node5" diff --git a/linux/ecosystem/gitlab/runner/node6/Dockerfile b/linux/discontinued/gitlab/runner/node6/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node6/Dockerfile rename to linux/discontinued/gitlab/runner/node6/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node19/Makefile b/linux/discontinued/gitlab/runner/node6/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node19/Makefile rename to linux/discontinued/gitlab/runner/node6/Makefile diff --git a/linux/ecosystem/gitlab/runner/node6/README.md b/linux/discontinued/gitlab/runner/node6/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node6/README.md rename to linux/discontinued/gitlab/runner/node6/README.md diff --git a/linux/ecosystem/gitlab/runner/node6/docker-compose.yml b/linux/discontinued/gitlab/runner/node6/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node6/docker-compose.yml rename to linux/discontinued/gitlab/runner/node6/docker-compose.yml index ab8dd080d..16f848ffd 100644 --- a/linux/ecosystem/gitlab/runner/node6/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node6" diff --git a/linux/ecosystem/gitlab/runner/node7/Dockerfile b/linux/discontinued/gitlab/runner/node7/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node7/Dockerfile rename to linux/discontinued/gitlab/runner/node7/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node20/Makefile b/linux/discontinued/gitlab/runner/node7/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node20/Makefile rename to linux/discontinued/gitlab/runner/node7/Makefile diff --git a/linux/ecosystem/gitlab/runner/node7/README.md b/linux/discontinued/gitlab/runner/node7/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node7/README.md rename to linux/discontinued/gitlab/runner/node7/README.md diff --git a/linux/ecosystem/gitlab/runner/node7/docker-compose.yml b/linux/discontinued/gitlab/runner/node7/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node7/docker-compose.yml rename to linux/discontinued/gitlab/runner/node7/docker-compose.yml index afa3ab5ff..782d5cc0d 100644 --- a/linux/ecosystem/gitlab/runner/node7/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node7" diff --git a/linux/ecosystem/gitlab/runner/node8/Dockerfile b/linux/discontinued/gitlab/runner/node8/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node8/Dockerfile rename to linux/discontinued/gitlab/runner/node8/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node21/Makefile b/linux/discontinued/gitlab/runner/node8/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node21/Makefile rename to linux/discontinued/gitlab/runner/node8/Makefile diff --git a/linux/ecosystem/gitlab/runner/node8/README.md b/linux/discontinued/gitlab/runner/node8/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node8/README.md rename to linux/discontinued/gitlab/runner/node8/README.md diff --git a/linux/ecosystem/gitlab/runner/node8/docker-compose.yml b/linux/discontinued/gitlab/runner/node8/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node8/docker-compose.yml rename to linux/discontinued/gitlab/runner/node8/docker-compose.yml index d0d94bf0d..90e4711b5 100644 --- a/linux/ecosystem/gitlab/runner/node8/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node8" diff --git a/linux/ecosystem/gitlab/runner/node9/Dockerfile b/linux/discontinued/gitlab/runner/node9/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/node9/Dockerfile rename to linux/discontinued/gitlab/runner/node9/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node22/Makefile b/linux/discontinued/gitlab/runner/node9/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node22/Makefile rename to linux/discontinued/gitlab/runner/node9/Makefile diff --git a/linux/ecosystem/gitlab/runner/node9/README.md b/linux/discontinued/gitlab/runner/node9/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/node9/README.md rename to linux/discontinued/gitlab/runner/node9/README.md diff --git a/linux/ecosystem/gitlab/runner/node9/docker-compose.yml b/linux/discontinued/gitlab/runner/node9/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/node9/docker-compose.yml rename to linux/discontinued/gitlab/runner/node9/docker-compose.yml index 1c00e7c98..a13770b98 100644 --- a/linux/ecosystem/gitlab/runner/node9/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:node9" diff --git a/linux/ecosystem/gitlab/runner/php7.2/Dockerfile b/linux/discontinued/gitlab/runner/php7.2/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.2/Dockerfile rename to linux/discontinued/gitlab/runner/php7.2/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node4/Makefile b/linux/discontinued/gitlab/runner/php7.2/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node4/Makefile rename to linux/discontinued/gitlab/runner/php7.2/Makefile diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/README.md b/linux/discontinued/gitlab/runner/php7.2/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk11/README.md rename to linux/discontinued/gitlab/runner/php7.2/README.md diff --git a/linux/ecosystem/gitlab/runner/php7.2/docker-compose.yml b/linux/discontinued/gitlab/runner/php7.2/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/php7.2/docker-compose.yml rename to linux/discontinued/gitlab/runner/php7.2/docker-compose.yml index a4df23ab2..35e97e03a 100644 --- a/linux/ecosystem/gitlab/runner/php7.2/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/php7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:php7.2" diff --git a/linux/ecosystem/gitlab/runner/php7.2/docker-entrypoint.sh b/linux/discontinued/gitlab/runner/php7.2/docker-entrypoint.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.2/docker-entrypoint.sh rename to linux/discontinued/gitlab/runner/php7.2/docker-entrypoint.sh diff --git a/linux/ecosystem/gitlab/runner/php7.2/install-gitlab-runner.sh b/linux/discontinued/gitlab/runner/php7.2/install-gitlab-runner.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.2/install-gitlab-runner.sh rename to linux/discontinued/gitlab/runner/php7.2/install-gitlab-runner.sh diff --git a/linux/ecosystem/gitlab/runner/php7.2/run-docker.sh b/linux/discontinued/gitlab/runner/php7.2/run-docker.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.2/run-docker.sh rename to linux/discontinued/gitlab/runner/php7.2/run-docker.sh diff --git a/linux/ecosystem/gitlab/runner/php7.3/Dockerfile b/linux/discontinued/gitlab/runner/php7.3/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.3/Dockerfile rename to linux/discontinued/gitlab/runner/php7.3/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node5/Makefile b/linux/discontinued/gitlab/runner/php7.3/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node5/Makefile rename to linux/discontinued/gitlab/runner/php7.3/Makefile diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/README.md b/linux/discontinued/gitlab/runner/php7.3/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk17/README.md rename to linux/discontinued/gitlab/runner/php7.3/README.md diff --git a/linux/ecosystem/gitlab/runner/php7.3/docker-compose.yml b/linux/discontinued/gitlab/runner/php7.3/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/php7.3/docker-compose.yml rename to linux/discontinued/gitlab/runner/php7.3/docker-compose.yml index ed9e3b2f2..631927d57 100644 --- a/linux/ecosystem/gitlab/runner/php7.3/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/php7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:php7.3" diff --git a/linux/ecosystem/gitlab/runner/php7.3/docker-entrypoint.sh b/linux/discontinued/gitlab/runner/php7.3/docker-entrypoint.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.3/docker-entrypoint.sh rename to linux/discontinued/gitlab/runner/php7.3/docker-entrypoint.sh diff --git a/linux/ecosystem/gitlab/runner/php7.3/install-gitlab-runner.sh b/linux/discontinued/gitlab/runner/php7.3/install-gitlab-runner.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.3/install-gitlab-runner.sh rename to linux/discontinued/gitlab/runner/php7.3/install-gitlab-runner.sh diff --git a/linux/ecosystem/gitlab/runner/php7.3/run-docker.sh b/linux/discontinued/gitlab/runner/php7.3/run-docker.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.3/run-docker.sh rename to linux/discontinued/gitlab/runner/php7.3/run-docker.sh diff --git a/linux/ecosystem/gitlab/runner/php7.4/Dockerfile b/linux/discontinued/gitlab/runner/php7.4/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.4/Dockerfile rename to linux/discontinued/gitlab/runner/php7.4/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node6/Makefile b/linux/discontinued/gitlab/runner/php7.4/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node6/Makefile rename to linux/discontinued/gitlab/runner/php7.4/Makefile diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/README.md b/linux/discontinued/gitlab/runner/php7.4/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk8/README.md rename to linux/discontinued/gitlab/runner/php7.4/README.md diff --git a/linux/ecosystem/gitlab/runner/php7.4/docker-compose.yml b/linux/discontinued/gitlab/runner/php7.4/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/php7.4/docker-compose.yml rename to linux/discontinued/gitlab/runner/php7.4/docker-compose.yml index 488bdf56c..a0c2818a8 100644 --- a/linux/ecosystem/gitlab/runner/php7.4/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/php7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:php7.4" diff --git a/linux/ecosystem/gitlab/runner/php7.4/docker-entrypoint.sh b/linux/discontinued/gitlab/runner/php7.4/docker-entrypoint.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.4/docker-entrypoint.sh rename to linux/discontinued/gitlab/runner/php7.4/docker-entrypoint.sh diff --git a/linux/ecosystem/gitlab/runner/php7.4/install-gitlab-runner.sh b/linux/discontinued/gitlab/runner/php7.4/install-gitlab-runner.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.4/install-gitlab-runner.sh rename to linux/discontinued/gitlab/runner/php7.4/install-gitlab-runner.sh diff --git a/linux/ecosystem/gitlab/runner/php7.4/run-docker.sh b/linux/discontinued/gitlab/runner/php7.4/run-docker.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.4/run-docker.sh rename to linux/discontinued/gitlab/runner/php7.4/run-docker.sh diff --git a/linux/ecosystem/gitlab/runner/php8.0/Dockerfile b/linux/discontinued/gitlab/runner/php8.0/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.0/Dockerfile rename to linux/discontinued/gitlab/runner/php8.0/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node7/Makefile b/linux/discontinued/gitlab/runner/php8.0/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node7/Makefile rename to linux/discontinued/gitlab/runner/php8.0/Makefile diff --git a/linux/ecosystem/gitlab/runner/atlassian-sdk/README.md b/linux/discontinued/gitlab/runner/php8.0/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/atlassian-sdk/README.md rename to linux/discontinued/gitlab/runner/php8.0/README.md diff --git a/linux/ecosystem/gitlab/runner/php8.0/docker-compose.yml b/linux/discontinued/gitlab/runner/php8.0/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/php8.0/docker-compose.yml rename to linux/discontinued/gitlab/runner/php8.0/docker-compose.yml index a084499b5..7e200804a 100644 --- a/linux/ecosystem/gitlab/runner/php8.0/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/php8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:php8.0" diff --git a/linux/ecosystem/gitlab/runner/php8.0/docker-entrypoint.sh b/linux/discontinued/gitlab/runner/php8.0/docker-entrypoint.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.0/docker-entrypoint.sh rename to linux/discontinued/gitlab/runner/php8.0/docker-entrypoint.sh diff --git a/linux/ecosystem/gitlab/runner/php8.0/install-gitlab-runner.sh b/linux/discontinued/gitlab/runner/php8.0/install-gitlab-runner.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.0/install-gitlab-runner.sh rename to linux/discontinued/gitlab/runner/php8.0/install-gitlab-runner.sh diff --git a/linux/ecosystem/gitlab/runner/php8.0/run-docker.sh b/linux/discontinued/gitlab/runner/php8.0/run-docker.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.0/run-docker.sh rename to linux/discontinued/gitlab/runner/php8.0/run-docker.sh diff --git a/linux/ecosystem/gitlab/runner/php8.1/Dockerfile b/linux/discontinued/gitlab/runner/php8.1/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.1/Dockerfile rename to linux/discontinued/gitlab/runner/php8.1/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node8/Makefile b/linux/discontinued/gitlab/runner/php8.1/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node8/Makefile rename to linux/discontinued/gitlab/runner/php8.1/Makefile diff --git a/linux/ecosystem/gitlab/runner/dotnet-sdk/README.md b/linux/discontinued/gitlab/runner/php8.1/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/dotnet-sdk/README.md rename to linux/discontinued/gitlab/runner/php8.1/README.md diff --git a/linux/ecosystem/gitlab/runner/php8.1/docker-compose.yml b/linux/discontinued/gitlab/runner/php8.1/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/php8.1/docker-compose.yml rename to linux/discontinued/gitlab/runner/php8.1/docker-compose.yml index 394c4f098..9de7bae59 100644 --- a/linux/ecosystem/gitlab/runner/php8.1/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/php8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:php8.1" diff --git a/linux/ecosystem/gitlab/runner/php8.1/docker-entrypoint.sh b/linux/discontinued/gitlab/runner/php8.1/docker-entrypoint.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.1/docker-entrypoint.sh rename to linux/discontinued/gitlab/runner/php8.1/docker-entrypoint.sh diff --git a/linux/ecosystem/gitlab/runner/php8.1/install-gitlab-runner.sh b/linux/discontinued/gitlab/runner/php8.1/install-gitlab-runner.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.1/install-gitlab-runner.sh rename to linux/discontinued/gitlab/runner/php8.1/install-gitlab-runner.sh diff --git a/linux/ecosystem/gitlab/runner/php8.1/run-docker.sh b/linux/discontinued/gitlab/runner/php8.1/run-docker.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.1/run-docker.sh rename to linux/discontinued/gitlab/runner/php8.1/run-docker.sh diff --git a/linux/ecosystem/gitlab/runner/php8.2/Dockerfile b/linux/discontinued/gitlab/runner/php8.2/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.2/Dockerfile rename to linux/discontinued/gitlab/runner/php8.2/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/node9/Makefile b/linux/discontinued/gitlab/runner/php8.2/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/node9/Makefile rename to linux/discontinued/gitlab/runner/php8.2/Makefile diff --git a/linux/ecosystem/gitlab/runner/php7.2/README.md b/linux/discontinued/gitlab/runner/php8.2/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.2/README.md rename to linux/discontinued/gitlab/runner/php8.2/README.md diff --git a/linux/ecosystem/gitlab/runner/php8.2/docker-compose.yml b/linux/discontinued/gitlab/runner/php8.2/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/php8.2/docker-compose.yml rename to linux/discontinued/gitlab/runner/php8.2/docker-compose.yml index 2c3e992a0..1daed7fdd 100644 --- a/linux/ecosystem/gitlab/runner/php8.2/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/php8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:php8.2" diff --git a/linux/ecosystem/gitlab/runner/php8.2/docker-entrypoint.sh b/linux/discontinued/gitlab/runner/php8.2/docker-entrypoint.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.2/docker-entrypoint.sh rename to linux/discontinued/gitlab/runner/php8.2/docker-entrypoint.sh diff --git a/linux/ecosystem/gitlab/runner/php8.2/install-gitlab-runner.sh b/linux/discontinued/gitlab/runner/php8.2/install-gitlab-runner.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.2/install-gitlab-runner.sh rename to linux/discontinued/gitlab/runner/php8.2/install-gitlab-runner.sh diff --git a/linux/ecosystem/gitlab/runner/php8.2/run-docker.sh b/linux/discontinued/gitlab/runner/php8.2/run-docker.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.2/run-docker.sh rename to linux/discontinued/gitlab/runner/php8.2/run-docker.sh diff --git a/linux/ecosystem/gitlab/runner/php8.3/Dockerfile b/linux/discontinued/gitlab/runner/php8.3/Dockerfile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.3/Dockerfile rename to linux/discontinued/gitlab/runner/php8.3/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/php7.2/Makefile b/linux/discontinued/gitlab/runner/php8.3/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.2/Makefile rename to linux/discontinued/gitlab/runner/php8.3/Makefile diff --git a/linux/ecosystem/gitlab/runner/php7.3/README.md b/linux/discontinued/gitlab/runner/php8.3/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.3/README.md rename to linux/discontinued/gitlab/runner/php8.3/README.md diff --git a/linux/ecosystem/gitlab/runner/php8.3/docker-compose.yml b/linux/discontinued/gitlab/runner/php8.3/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/php8.3/docker-compose.yml rename to linux/discontinued/gitlab/runner/php8.3/docker-compose.yml index f9cdc39ef..77cb0b7f4 100644 --- a/linux/ecosystem/gitlab/runner/php8.3/docker-compose.yml +++ b/linux/discontinued/gitlab/runner/php8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:php8.3" diff --git a/linux/ecosystem/gitlab/runner/php8.3/docker-entrypoint.sh b/linux/discontinued/gitlab/runner/php8.3/docker-entrypoint.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.3/docker-entrypoint.sh rename to linux/discontinued/gitlab/runner/php8.3/docker-entrypoint.sh diff --git a/linux/ecosystem/gitlab/runner/php8.3/install-gitlab-runner.sh b/linux/discontinued/gitlab/runner/php8.3/install-gitlab-runner.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.3/install-gitlab-runner.sh rename to linux/discontinued/gitlab/runner/php8.3/install-gitlab-runner.sh diff --git a/linux/ecosystem/gitlab/runner/php8.3/run-docker.sh b/linux/discontinued/gitlab/runner/php8.3/run-docker.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.3/run-docker.sh rename to linux/discontinued/gitlab/runner/php8.3/run-docker.sh diff --git a/linux/discontinued/python/develop/2.7/docker-compose.yml b/linux/discontinued/python/develop/2.7/docker-compose.yml index 43b4dbf42..d701f5517 100644 --- a/linux/discontinued/python/develop/2.7/docker-compose.yml +++ b/linux/discontinued/python/develop/2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:2.7-develop" diff --git a/linux/discontinued/python/develop/3.10/docker-compose.yml b/linux/discontinued/python/develop/3.10/docker-compose.yml index 37cfda9b7..cdc81449f 100644 --- a/linux/discontinued/python/develop/3.10/docker-compose.yml +++ b/linux/discontinued/python/develop/3.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.10-develop" diff --git a/linux/discontinued/python/develop/3.11/docker-compose.yml b/linux/discontinued/python/develop/3.11/docker-compose.yml index 90719435f..13bce8d28 100644 --- a/linux/discontinued/python/develop/3.11/docker-compose.yml +++ b/linux/discontinued/python/develop/3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.11-develop" diff --git a/linux/discontinued/python/develop/3.12/docker-compose.yml b/linux/discontinued/python/develop/3.12/docker-compose.yml index 02c22c74a..e4c1e9383 100644 --- a/linux/discontinued/python/develop/3.12/docker-compose.yml +++ b/linux/discontinued/python/develop/3.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.12-develop" diff --git a/linux/discontinued/python/develop/3.13/docker-compose.yml b/linux/discontinued/python/develop/3.13/docker-compose.yml index a5a5d184a..f46db980a 100644 --- a/linux/discontinued/python/develop/3.13/docker-compose.yml +++ b/linux/discontinued/python/develop/3.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.13-develop" diff --git a/linux/discontinued/python/develop/3.6/docker-compose.yml b/linux/discontinued/python/develop/3.6/docker-compose.yml index 76101fa35..8e973dd96 100644 --- a/linux/discontinued/python/develop/3.6/docker-compose.yml +++ b/linux/discontinued/python/develop/3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.6-develop" diff --git a/linux/discontinued/python/develop/3.7/docker-compose.yml b/linux/discontinued/python/develop/3.7/docker-compose.yml index 80441f1da..0749e4fec 100644 --- a/linux/discontinued/python/develop/3.7/docker-compose.yml +++ b/linux/discontinued/python/develop/3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.7-develop" diff --git a/linux/discontinued/python/develop/3.8/docker-compose.yml b/linux/discontinued/python/develop/3.8/docker-compose.yml index eeedc05f8..8571e4c96 100644 --- a/linux/discontinued/python/develop/3.8/docker-compose.yml +++ b/linux/discontinued/python/develop/3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.8-develop" diff --git a/linux/discontinued/python/develop/3.9/docker-compose.yml b/linux/discontinued/python/develop/3.9/docker-compose.yml index 2301faf07..c46fcc30c 100644 --- a/linux/discontinued/python/develop/3.9/docker-compose.yml +++ b/linux/discontinued/python/develop/3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.9-develop" diff --git a/linux/discontinued/python/main/2.7/docker-compose.yml b/linux/discontinued/python/main/2.7/docker-compose.yml index 39a6c2ce4..6136bcf58 100644 --- a/linux/discontinued/python/main/2.7/docker-compose.yml +++ b/linux/discontinued/python/main/2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:2.7" diff --git a/linux/discontinued/python/main/3.10/docker-compose.yml b/linux/discontinued/python/main/3.10/docker-compose.yml index 34b8cb1ae..6de00d276 100644 --- a/linux/discontinued/python/main/3.10/docker-compose.yml +++ b/linux/discontinued/python/main/3.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.10" diff --git a/linux/discontinued/python/main/3.11/docker-compose.yml b/linux/discontinued/python/main/3.11/docker-compose.yml index 3e9ee6138..fc3cfa690 100644 --- a/linux/discontinued/python/main/3.11/docker-compose.yml +++ b/linux/discontinued/python/main/3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.11" diff --git a/linux/discontinued/python/main/3.12/docker-compose.yml b/linux/discontinued/python/main/3.12/docker-compose.yml index 2df45f376..cdce4a9e8 100644 --- a/linux/discontinued/python/main/3.12/docker-compose.yml +++ b/linux/discontinued/python/main/3.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.12" diff --git a/linux/discontinued/python/main/3.13/docker-compose.yml b/linux/discontinued/python/main/3.13/docker-compose.yml index c14b8595b..3cc788102 100644 --- a/linux/discontinued/python/main/3.13/docker-compose.yml +++ b/linux/discontinued/python/main/3.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.13" diff --git a/linux/discontinued/python/main/3.6/docker-compose.yml b/linux/discontinued/python/main/3.6/docker-compose.yml index 79fa9af7f..df70e3af5 100644 --- a/linux/discontinued/python/main/3.6/docker-compose.yml +++ b/linux/discontinued/python/main/3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.6" diff --git a/linux/discontinued/python/main/3.7/docker-compose.yml b/linux/discontinued/python/main/3.7/docker-compose.yml index 33eb76ec9..fc4ab2ac0 100644 --- a/linux/discontinued/python/main/3.7/docker-compose.yml +++ b/linux/discontinued/python/main/3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.7" diff --git a/linux/discontinued/python/main/3.8/docker-compose.yml b/linux/discontinued/python/main/3.8/docker-compose.yml index f2f76201d..a8323015c 100644 --- a/linux/discontinued/python/main/3.8/docker-compose.yml +++ b/linux/discontinued/python/main/3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.8" diff --git a/linux/discontinued/python/main/3.9/docker-compose.yml b/linux/discontinued/python/main/3.9/docker-compose.yml index 67894f0f9..7cc6dd409 100644 --- a/linux/discontinued/python/main/3.9/docker-compose.yml +++ b/linux/discontinued/python/main/3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/python:3.9" diff --git a/linux/discontinued/staytus/README.md b/linux/discontinued/staytus/README.md index 4f64ed297..ca50bf88e 100644 --- a/linux/discontinued/staytus/README.md +++ b/linux/discontinued/staytus/README.md @@ -9,7 +9,6 @@ This is a custom improved image from this [original repository](https://github.c ## Compose example ```yml -version: '3.7' services: mysql: container_name: mysql diff --git a/linux/discontinued/syspass/sysPass/docker-compose.yml b/linux/discontinued/syspass/sysPass/docker-compose.yml index 20ddb1386..1b3525628 100644 --- a/linux/discontinued/syspass/sysPass/docker-compose.yml +++ b/linux/discontinued/syspass/sysPass/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '2' services: app: container_name: syspass-app diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.10/Dockerfile b/linux/discontinued/teamcity/agent/amxx-sdk/1.10/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.10/Dockerfile rename to linux/discontinued/teamcity/agent/amxx-sdk/1.10/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/php7.3/Makefile b/linux/discontinued/teamcity/agent/amxx-sdk/1.10/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.3/Makefile rename to linux/discontinued/teamcity/agent/amxx-sdk/1.10/Makefile diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.10/README.md b/linux/discontinued/teamcity/agent/amxx-sdk/1.10/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.10/README.md rename to linux/discontinued/teamcity/agent/amxx-sdk/1.10/README.md diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.10/docker-compose.yml b/linux/discontinued/teamcity/agent/amxx-sdk/1.10/docker-compose.yml similarity index 87% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.10/docker-compose.yml rename to linux/discontinued/teamcity/agent/amxx-sdk/1.10/docker-compose.yml index 2011a1e57..b52c59994 100644 --- a/linux/ecosystem/teamcity/agent/amxx-sdk/1.10/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/amxx-sdk/1.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:amxx-sdk-rc" diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.10/inc.tar b/linux/discontinued/teamcity/agent/amxx-sdk/1.10/inc.tar similarity index 100% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.10/inc.tar rename to linux/discontinued/teamcity/agent/amxx-sdk/1.10/inc.tar diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.9/Dockerfile b/linux/discontinued/teamcity/agent/amxx-sdk/1.9/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.9/Dockerfile rename to linux/discontinued/teamcity/agent/amxx-sdk/1.9/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/php7.4/Makefile b/linux/discontinued/teamcity/agent/amxx-sdk/1.9/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.4/Makefile rename to linux/discontinued/teamcity/agent/amxx-sdk/1.9/Makefile diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.9/README.md b/linux/discontinued/teamcity/agent/amxx-sdk/1.9/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.9/README.md rename to linux/discontinued/teamcity/agent/amxx-sdk/1.9/README.md diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.9/docker-compose.yml b/linux/discontinued/teamcity/agent/amxx-sdk/1.9/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.9/docker-compose.yml rename to linux/discontinued/teamcity/agent/amxx-sdk/1.9/docker-compose.yml index 3f0c9530f..a28558c17 100644 --- a/linux/ecosystem/teamcity/agent/amxx-sdk/1.9/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/amxx-sdk/1.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:amxx-sdk" diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.9/inc.tar b/linux/discontinued/teamcity/agent/amxx-sdk/1.9/inc.tar similarity index 100% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.9/inc.tar rename to linux/discontinued/teamcity/agent/amxx-sdk/1.9/inc.tar diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/Dockerfile b/linux/discontinued/teamcity/agent/android-sdk/jdk11/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk11/Dockerfile rename to linux/discontinued/teamcity/agent/android-sdk/jdk11/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/php8.0/Makefile b/linux/discontinued/teamcity/agent/android-sdk/jdk11/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.0/Makefile rename to linux/discontinued/teamcity/agent/android-sdk/jdk11/Makefile diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/README.md b/linux/discontinued/teamcity/agent/android-sdk/jdk11/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk11/README.md rename to linux/discontinued/teamcity/agent/android-sdk/jdk11/README.md diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/docker-compose.yml b/linux/discontinued/teamcity/agent/android-sdk/jdk11/docker-compose.yml similarity index 87% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk11/docker-compose.yml rename to linux/discontinued/teamcity/agent/android-sdk/jdk11/docker-compose.yml index 5c0af4135..d37928e6d 100644 --- a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/android-sdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:android-sdk-jdk11" diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/sdkman.sh b/linux/discontinued/teamcity/agent/android-sdk/jdk11/sdkman.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk11/sdkman.sh rename to linux/discontinued/teamcity/agent/android-sdk/jdk11/sdkman.sh diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/Dockerfile b/linux/discontinued/teamcity/agent/android-sdk/jdk17/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk17/Dockerfile rename to linux/discontinued/teamcity/agent/android-sdk/jdk17/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/php8.1/Makefile b/linux/discontinued/teamcity/agent/android-sdk/jdk17/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.1/Makefile rename to linux/discontinued/teamcity/agent/android-sdk/jdk17/Makefile diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/README.md b/linux/discontinued/teamcity/agent/android-sdk/jdk17/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk17/README.md rename to linux/discontinued/teamcity/agent/android-sdk/jdk17/README.md diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/docker-compose.yml b/linux/discontinued/teamcity/agent/android-sdk/jdk17/docker-compose.yml similarity index 93% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk17/docker-compose.yml rename to linux/discontinued/teamcity/agent/android-sdk/jdk17/docker-compose.yml index bc238eff4..a9cf76c31 100644 --- a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/android-sdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:android-sdk" diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/sdkman.sh b/linux/discontinued/teamcity/agent/android-sdk/jdk17/sdkman.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk17/sdkman.sh rename to linux/discontinued/teamcity/agent/android-sdk/jdk17/sdkman.sh diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk8/Dockerfile b/linux/discontinued/teamcity/agent/android-sdk/jdk8/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk8/Dockerfile rename to linux/discontinued/teamcity/agent/android-sdk/jdk8/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/php8.2/Makefile b/linux/discontinued/teamcity/agent/android-sdk/jdk8/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.2/Makefile rename to linux/discontinued/teamcity/agent/android-sdk/jdk8/Makefile diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk8/README.md b/linux/discontinued/teamcity/agent/android-sdk/jdk8/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk8/README.md rename to linux/discontinued/teamcity/agent/android-sdk/jdk8/README.md diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk8/docker-compose.yml b/linux/discontinued/teamcity/agent/android-sdk/jdk8/docker-compose.yml similarity index 87% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk8/docker-compose.yml rename to linux/discontinued/teamcity/agent/android-sdk/jdk8/docker-compose.yml index 667ff6980..1563f184e 100644 --- a/linux/ecosystem/teamcity/agent/android-sdk/jdk8/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/android-sdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:android-sdk-jdk8" diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/sdkman.sh b/linux/discontinued/teamcity/agent/android-sdk/jdk8/sdkman.sh similarity index 100% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk8/sdkman.sh rename to linux/discontinued/teamcity/agent/android-sdk/jdk8/sdkman.sh diff --git a/linux/ecosystem/teamcity/agent/atlassian-sdk/Dockerfile b/linux/discontinued/teamcity/agent/atlassian-sdk/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/atlassian-sdk/Dockerfile rename to linux/discontinued/teamcity/agent/atlassian-sdk/Dockerfile diff --git a/linux/ecosystem/gitlab/runner/php8.3/Makefile b/linux/discontinued/teamcity/agent/atlassian-sdk/Makefile similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.3/Makefile rename to linux/discontinued/teamcity/agent/atlassian-sdk/Makefile diff --git a/linux/ecosystem/teamcity/agent/atlassian-sdk/README.md b/linux/discontinued/teamcity/agent/atlassian-sdk/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/atlassian-sdk/README.md rename to linux/discontinued/teamcity/agent/atlassian-sdk/README.md diff --git a/linux/ecosystem/teamcity/agent/atlassian-sdk/docker-compose.yml b/linux/discontinued/teamcity/agent/atlassian-sdk/docker-compose.yml similarity index 87% rename from linux/ecosystem/teamcity/agent/atlassian-sdk/docker-compose.yml rename to linux/discontinued/teamcity/agent/atlassian-sdk/docker-compose.yml index 377ad12f2..69ea8a6ff 100644 --- a/linux/ecosystem/teamcity/agent/atlassian-sdk/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/atlassian-sdk/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:atlassian-sdk" diff --git a/linux/ecosystem/teamcity/agent/atlassian-sdk/etc/apt/keyrings/atlassian.asc b/linux/discontinued/teamcity/agent/atlassian-sdk/etc/apt/keyrings/atlassian.asc similarity index 100% rename from linux/ecosystem/teamcity/agent/atlassian-sdk/etc/apt/keyrings/atlassian.asc rename to linux/discontinued/teamcity/agent/atlassian-sdk/etc/apt/keyrings/atlassian.asc diff --git a/linux/ecosystem/teamcity/agent/atlassian-sdk/etc/apt/sources.list.d/atlassian-sdk.list b/linux/discontinued/teamcity/agent/atlassian-sdk/etc/apt/sources.list.d/atlassian-sdk.list similarity index 100% rename from linux/ecosystem/teamcity/agent/atlassian-sdk/etc/apt/sources.list.d/atlassian-sdk.list rename to linux/discontinued/teamcity/agent/atlassian-sdk/etc/apt/sources.list.d/atlassian-sdk.list diff --git a/linux/ecosystem/teamcity/agent/dotnet-sdk/Dockerfile b/linux/discontinued/teamcity/agent/dotnet-sdk/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/dotnet-sdk/Dockerfile rename to linux/discontinued/teamcity/agent/dotnet-sdk/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.10/Makefile b/linux/discontinued/teamcity/agent/dotnet-sdk/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.10/Makefile rename to linux/discontinued/teamcity/agent/dotnet-sdk/Makefile diff --git a/linux/ecosystem/teamcity/agent/dotnet-sdk/README.md b/linux/discontinued/teamcity/agent/dotnet-sdk/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/dotnet-sdk/README.md rename to linux/discontinued/teamcity/agent/dotnet-sdk/README.md diff --git a/linux/ecosystem/gitlab/runner/dotnet-sdk/docker-compose.yml b/linux/discontinued/teamcity/agent/dotnet-sdk/docker-compose.yml similarity index 86% rename from linux/ecosystem/gitlab/runner/dotnet-sdk/docker-compose.yml rename to linux/discontinued/teamcity/agent/dotnet-sdk/docker-compose.yml index c4de0dedc..4632db9f4 100644 --- a/linux/ecosystem/gitlab/runner/dotnet-sdk/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/dotnet-sdk/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:dotnet-sdk" diff --git a/linux/ecosystem/teamcity/agent/node0.12/Dockerfile b/linux/discontinued/teamcity/agent/node0.12/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node0.12/Dockerfile rename to linux/discontinued/teamcity/agent/node0.12/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.9/Makefile b/linux/discontinued/teamcity/agent/node0.12/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.9/Makefile rename to linux/discontinued/teamcity/agent/node0.12/Makefile diff --git a/linux/ecosystem/teamcity/agent/node0.12/README.md b/linux/discontinued/teamcity/agent/node0.12/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node0.12/README.md rename to linux/discontinued/teamcity/agent/node0.12/README.md diff --git a/linux/ecosystem/teamcity/agent/node0.12/docker-compose.yml b/linux/discontinued/teamcity/agent/node0.12/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node0.12/docker-compose.yml rename to linux/discontinued/teamcity/agent/node0.12/docker-compose.yml index b99678389..b109c289f 100644 --- a/linux/ecosystem/teamcity/agent/node0.12/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node0.12" diff --git a/linux/ecosystem/teamcity/agent/node10/Dockerfile b/linux/discontinued/teamcity/agent/node10/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node10/Dockerfile rename to linux/discontinued/teamcity/agent/node10/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/Makefile b/linux/discontinued/teamcity/agent/node10/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk11/Makefile rename to linux/discontinued/teamcity/agent/node10/Makefile diff --git a/linux/ecosystem/teamcity/agent/node10/README.md b/linux/discontinued/teamcity/agent/node10/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node10/README.md rename to linux/discontinued/teamcity/agent/node10/README.md diff --git a/linux/ecosystem/teamcity/agent/node10/docker-compose.yml b/linux/discontinued/teamcity/agent/node10/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node10/docker-compose.yml rename to linux/discontinued/teamcity/agent/node10/docker-compose.yml index 47f208403..b45be4a45 100644 --- a/linux/ecosystem/teamcity/agent/node10/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node10" diff --git a/linux/ecosystem/teamcity/agent/node11/Dockerfile b/linux/discontinued/teamcity/agent/node11/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node11/Dockerfile rename to linux/discontinued/teamcity/agent/node11/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/Makefile b/linux/discontinued/teamcity/agent/node11/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk17/Makefile rename to linux/discontinued/teamcity/agent/node11/Makefile diff --git a/linux/ecosystem/teamcity/agent/node11/README.md b/linux/discontinued/teamcity/agent/node11/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node11/README.md rename to linux/discontinued/teamcity/agent/node11/README.md diff --git a/linux/ecosystem/teamcity/agent/node11/docker-compose.yml b/linux/discontinued/teamcity/agent/node11/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node11/docker-compose.yml rename to linux/discontinued/teamcity/agent/node11/docker-compose.yml index 8c101856d..022a78f49 100644 --- a/linux/ecosystem/teamcity/agent/node11/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node11" diff --git a/linux/ecosystem/teamcity/agent/node12/Dockerfile b/linux/discontinued/teamcity/agent/node12/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node12/Dockerfile rename to linux/discontinued/teamcity/agent/node12/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk8/Makefile b/linux/discontinued/teamcity/agent/node12/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk8/Makefile rename to linux/discontinued/teamcity/agent/node12/Makefile diff --git a/linux/ecosystem/teamcity/agent/node12/README.md b/linux/discontinued/teamcity/agent/node12/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node12/README.md rename to linux/discontinued/teamcity/agent/node12/README.md diff --git a/linux/ecosystem/teamcity/agent/node12/docker-compose.yml b/linux/discontinued/teamcity/agent/node12/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node12/docker-compose.yml rename to linux/discontinued/teamcity/agent/node12/docker-compose.yml index bf326ff2b..a19e2778d 100644 --- a/linux/ecosystem/teamcity/agent/node12/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node12" diff --git a/linux/ecosystem/teamcity/agent/node13/Dockerfile b/linux/discontinued/teamcity/agent/node13/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node13/Dockerfile rename to linux/discontinued/teamcity/agent/node13/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/atlassian-sdk/Makefile b/linux/discontinued/teamcity/agent/node13/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/atlassian-sdk/Makefile rename to linux/discontinued/teamcity/agent/node13/Makefile diff --git a/linux/ecosystem/teamcity/agent/node13/README.md b/linux/discontinued/teamcity/agent/node13/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node13/README.md rename to linux/discontinued/teamcity/agent/node13/README.md diff --git a/linux/ecosystem/teamcity/agent/node13/docker-compose.yml b/linux/discontinued/teamcity/agent/node13/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node13/docker-compose.yml rename to linux/discontinued/teamcity/agent/node13/docker-compose.yml index 2f938c54d..1a1abb43d 100644 --- a/linux/ecosystem/teamcity/agent/node13/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node13" diff --git a/linux/ecosystem/teamcity/agent/node14/Dockerfile b/linux/discontinued/teamcity/agent/node14/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node14/Dockerfile rename to linux/discontinued/teamcity/agent/node14/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/dotnet-sdk/Makefile b/linux/discontinued/teamcity/agent/node14/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/dotnet-sdk/Makefile rename to linux/discontinued/teamcity/agent/node14/Makefile diff --git a/linux/ecosystem/teamcity/agent/node14/README.md b/linux/discontinued/teamcity/agent/node14/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node14/README.md rename to linux/discontinued/teamcity/agent/node14/README.md diff --git a/linux/ecosystem/teamcity/agent/node14/docker-compose.yml b/linux/discontinued/teamcity/agent/node14/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node14/docker-compose.yml rename to linux/discontinued/teamcity/agent/node14/docker-compose.yml index e325c4df3..9abdbff2f 100644 --- a/linux/ecosystem/teamcity/agent/node14/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node14" diff --git a/linux/ecosystem/teamcity/agent/node15/Dockerfile b/linux/discontinued/teamcity/agent/node15/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node15/Dockerfile rename to linux/discontinued/teamcity/agent/node15/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node0.12/Makefile b/linux/discontinued/teamcity/agent/node15/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node0.12/Makefile rename to linux/discontinued/teamcity/agent/node15/Makefile diff --git a/linux/ecosystem/teamcity/agent/node15/README.md b/linux/discontinued/teamcity/agent/node15/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node15/README.md rename to linux/discontinued/teamcity/agent/node15/README.md diff --git a/linux/ecosystem/teamcity/agent/node15/docker-compose.yml b/linux/discontinued/teamcity/agent/node15/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node15/docker-compose.yml rename to linux/discontinued/teamcity/agent/node15/docker-compose.yml index 05911589f..98513bbac 100644 --- a/linux/ecosystem/teamcity/agent/node15/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node15" diff --git a/linux/ecosystem/teamcity/agent/node16/Dockerfile b/linux/discontinued/teamcity/agent/node16/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node16/Dockerfile rename to linux/discontinued/teamcity/agent/node16/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node10/Makefile b/linux/discontinued/teamcity/agent/node16/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node10/Makefile rename to linux/discontinued/teamcity/agent/node16/Makefile diff --git a/linux/ecosystem/teamcity/agent/node16/README.md b/linux/discontinued/teamcity/agent/node16/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node16/README.md rename to linux/discontinued/teamcity/agent/node16/README.md diff --git a/linux/ecosystem/teamcity/agent/node16/docker-compose.yml b/linux/discontinued/teamcity/agent/node16/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node16/docker-compose.yml rename to linux/discontinued/teamcity/agent/node16/docker-compose.yml index f3c55cc40..db41329c0 100644 --- a/linux/ecosystem/teamcity/agent/node16/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node16" diff --git a/linux/ecosystem/teamcity/agent/node17/Dockerfile b/linux/discontinued/teamcity/agent/node17/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node17/Dockerfile rename to linux/discontinued/teamcity/agent/node17/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node11/Makefile b/linux/discontinued/teamcity/agent/node17/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node11/Makefile rename to linux/discontinued/teamcity/agent/node17/Makefile diff --git a/linux/ecosystem/teamcity/agent/node17/README.md b/linux/discontinued/teamcity/agent/node17/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node17/README.md rename to linux/discontinued/teamcity/agent/node17/README.md diff --git a/linux/ecosystem/teamcity/agent/node17/docker-compose.yml b/linux/discontinued/teamcity/agent/node17/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node17/docker-compose.yml rename to linux/discontinued/teamcity/agent/node17/docker-compose.yml index bb32f1dca..be51b562f 100644 --- a/linux/ecosystem/teamcity/agent/node17/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node17" diff --git a/linux/ecosystem/teamcity/agent/node18/Dockerfile b/linux/discontinued/teamcity/agent/node18/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node18/Dockerfile rename to linux/discontinued/teamcity/agent/node18/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node12/Makefile b/linux/discontinued/teamcity/agent/node18/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node12/Makefile rename to linux/discontinued/teamcity/agent/node18/Makefile diff --git a/linux/ecosystem/teamcity/agent/node18/README.md b/linux/discontinued/teamcity/agent/node18/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node18/README.md rename to linux/discontinued/teamcity/agent/node18/README.md diff --git a/linux/ecosystem/teamcity/agent/node18/docker-compose.yml b/linux/discontinued/teamcity/agent/node18/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node18/docker-compose.yml rename to linux/discontinued/teamcity/agent/node18/docker-compose.yml index bf4c8af2a..bf0ce7dde 100644 --- a/linux/ecosystem/teamcity/agent/node18/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node18" diff --git a/linux/ecosystem/teamcity/agent/node19/Dockerfile b/linux/discontinued/teamcity/agent/node19/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node19/Dockerfile rename to linux/discontinued/teamcity/agent/node19/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node13/Makefile b/linux/discontinued/teamcity/agent/node19/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node13/Makefile rename to linux/discontinued/teamcity/agent/node19/Makefile diff --git a/linux/ecosystem/teamcity/agent/node19/README.md b/linux/discontinued/teamcity/agent/node19/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node19/README.md rename to linux/discontinued/teamcity/agent/node19/README.md diff --git a/linux/ecosystem/teamcity/agent/node19/docker-compose.yml b/linux/discontinued/teamcity/agent/node19/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node19/docker-compose.yml rename to linux/discontinued/teamcity/agent/node19/docker-compose.yml index a8073e2e7..c34f37956 100644 --- a/linux/ecosystem/teamcity/agent/node19/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node19" diff --git a/linux/ecosystem/teamcity/agent/node20/Dockerfile b/linux/discontinued/teamcity/agent/node20/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node20/Dockerfile rename to linux/discontinued/teamcity/agent/node20/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node14/Makefile b/linux/discontinued/teamcity/agent/node20/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node14/Makefile rename to linux/discontinued/teamcity/agent/node20/Makefile diff --git a/linux/ecosystem/teamcity/agent/node20/README.md b/linux/discontinued/teamcity/agent/node20/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node20/README.md rename to linux/discontinued/teamcity/agent/node20/README.md diff --git a/linux/ecosystem/teamcity/agent/node20/docker-compose.yml b/linux/discontinued/teamcity/agent/node20/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node20/docker-compose.yml rename to linux/discontinued/teamcity/agent/node20/docker-compose.yml index 5a0caf890..b0e1a9615 100644 --- a/linux/ecosystem/teamcity/agent/node20/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node20" diff --git a/linux/ecosystem/teamcity/agent/node21/Dockerfile b/linux/discontinued/teamcity/agent/node21/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node21/Dockerfile rename to linux/discontinued/teamcity/agent/node21/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node15/Makefile b/linux/discontinued/teamcity/agent/node21/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node15/Makefile rename to linux/discontinued/teamcity/agent/node21/Makefile diff --git a/linux/ecosystem/teamcity/agent/node21/README.md b/linux/discontinued/teamcity/agent/node21/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node21/README.md rename to linux/discontinued/teamcity/agent/node21/README.md diff --git a/linux/ecosystem/teamcity/agent/node21/docker-compose.yml b/linux/discontinued/teamcity/agent/node21/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node21/docker-compose.yml rename to linux/discontinued/teamcity/agent/node21/docker-compose.yml index aa3265052..448bcc761 100644 --- a/linux/ecosystem/teamcity/agent/node21/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node21" diff --git a/linux/ecosystem/teamcity/agent/node22/Dockerfile b/linux/discontinued/teamcity/agent/node22/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node22/Dockerfile rename to linux/discontinued/teamcity/agent/node22/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node16/Makefile b/linux/discontinued/teamcity/agent/node22/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node16/Makefile rename to linux/discontinued/teamcity/agent/node22/Makefile diff --git a/linux/ecosystem/teamcity/agent/node22/README.md b/linux/discontinued/teamcity/agent/node22/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node22/README.md rename to linux/discontinued/teamcity/agent/node22/README.md diff --git a/linux/ecosystem/teamcity/agent/node22/docker-compose.yml b/linux/discontinued/teamcity/agent/node22/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node22/docker-compose.yml rename to linux/discontinued/teamcity/agent/node22/docker-compose.yml index c22f15841..07086b71a 100644 --- a/linux/ecosystem/teamcity/agent/node22/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node22" diff --git a/linux/ecosystem/teamcity/agent/node4/Dockerfile b/linux/discontinued/teamcity/agent/node4/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node4/Dockerfile rename to linux/discontinued/teamcity/agent/node4/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node17/Makefile b/linux/discontinued/teamcity/agent/node4/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node17/Makefile rename to linux/discontinued/teamcity/agent/node4/Makefile diff --git a/linux/ecosystem/teamcity/agent/node4/README.md b/linux/discontinued/teamcity/agent/node4/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node4/README.md rename to linux/discontinued/teamcity/agent/node4/README.md diff --git a/linux/ecosystem/teamcity/agent/node4/docker-compose.yml b/linux/discontinued/teamcity/agent/node4/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node4/docker-compose.yml rename to linux/discontinued/teamcity/agent/node4/docker-compose.yml index fa4303ecf..0081d00b6 100644 --- a/linux/ecosystem/teamcity/agent/node4/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node4" diff --git a/linux/ecosystem/teamcity/agent/node5/Dockerfile b/linux/discontinued/teamcity/agent/node5/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node5/Dockerfile rename to linux/discontinued/teamcity/agent/node5/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node18/Makefile b/linux/discontinued/teamcity/agent/node5/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node18/Makefile rename to linux/discontinued/teamcity/agent/node5/Makefile diff --git a/linux/ecosystem/teamcity/agent/node5/README.md b/linux/discontinued/teamcity/agent/node5/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node5/README.md rename to linux/discontinued/teamcity/agent/node5/README.md diff --git a/linux/ecosystem/teamcity/agent/node5/docker-compose.yml b/linux/discontinued/teamcity/agent/node5/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node5/docker-compose.yml rename to linux/discontinued/teamcity/agent/node5/docker-compose.yml index fd43f134d..62ce08022 100644 --- a/linux/ecosystem/teamcity/agent/node5/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node5" diff --git a/linux/ecosystem/teamcity/agent/node6/Dockerfile b/linux/discontinued/teamcity/agent/node6/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node6/Dockerfile rename to linux/discontinued/teamcity/agent/node6/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node19/Makefile b/linux/discontinued/teamcity/agent/node6/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node19/Makefile rename to linux/discontinued/teamcity/agent/node6/Makefile diff --git a/linux/ecosystem/teamcity/agent/node6/README.md b/linux/discontinued/teamcity/agent/node6/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node6/README.md rename to linux/discontinued/teamcity/agent/node6/README.md diff --git a/linux/ecosystem/teamcity/agent/node6/docker-compose.yml b/linux/discontinued/teamcity/agent/node6/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node6/docker-compose.yml rename to linux/discontinued/teamcity/agent/node6/docker-compose.yml index 9c4f5cef7..79659c9e3 100644 --- a/linux/ecosystem/teamcity/agent/node6/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node6" diff --git a/linux/ecosystem/teamcity/agent/node7/Dockerfile b/linux/discontinued/teamcity/agent/node7/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node7/Dockerfile rename to linux/discontinued/teamcity/agent/node7/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node20/Makefile b/linux/discontinued/teamcity/agent/node7/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node20/Makefile rename to linux/discontinued/teamcity/agent/node7/Makefile diff --git a/linux/ecosystem/teamcity/agent/node7/README.md b/linux/discontinued/teamcity/agent/node7/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node7/README.md rename to linux/discontinued/teamcity/agent/node7/README.md diff --git a/linux/ecosystem/teamcity/agent/node7/docker-compose.yml b/linux/discontinued/teamcity/agent/node7/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node7/docker-compose.yml rename to linux/discontinued/teamcity/agent/node7/docker-compose.yml index 984ebb50f..3fc211e36 100644 --- a/linux/ecosystem/teamcity/agent/node7/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node7" diff --git a/linux/ecosystem/teamcity/agent/node8/Dockerfile b/linux/discontinued/teamcity/agent/node8/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node8/Dockerfile rename to linux/discontinued/teamcity/agent/node8/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node21/Makefile b/linux/discontinued/teamcity/agent/node8/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node21/Makefile rename to linux/discontinued/teamcity/agent/node8/Makefile diff --git a/linux/ecosystem/teamcity/agent/node8/README.md b/linux/discontinued/teamcity/agent/node8/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node8/README.md rename to linux/discontinued/teamcity/agent/node8/README.md diff --git a/linux/ecosystem/teamcity/agent/node8/docker-compose.yml b/linux/discontinued/teamcity/agent/node8/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node8/docker-compose.yml rename to linux/discontinued/teamcity/agent/node8/docker-compose.yml index dda89c6ba..bb27bef69 100644 --- a/linux/ecosystem/teamcity/agent/node8/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node8" diff --git a/linux/ecosystem/teamcity/agent/node9/Dockerfile b/linux/discontinued/teamcity/agent/node9/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/node9/Dockerfile rename to linux/discontinued/teamcity/agent/node9/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node22/Makefile b/linux/discontinued/teamcity/agent/node9/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node22/Makefile rename to linux/discontinued/teamcity/agent/node9/Makefile diff --git a/linux/ecosystem/teamcity/agent/node9/README.md b/linux/discontinued/teamcity/agent/node9/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/node9/README.md rename to linux/discontinued/teamcity/agent/node9/README.md diff --git a/linux/ecosystem/teamcity/agent/node9/docker-compose.yml b/linux/discontinued/teamcity/agent/node9/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/node9/docker-compose.yml rename to linux/discontinued/teamcity/agent/node9/docker-compose.yml index 5d102acb8..ec9fa22d6 100644 --- a/linux/ecosystem/teamcity/agent/node9/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:node9" diff --git a/linux/ecosystem/teamcity/agent/php7.2/Dockerfile b/linux/discontinued/teamcity/agent/php7.2/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.2/Dockerfile rename to linux/discontinued/teamcity/agent/php7.2/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node4/Makefile b/linux/discontinued/teamcity/agent/php7.2/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node4/Makefile rename to linux/discontinued/teamcity/agent/php7.2/Makefile diff --git a/linux/ecosystem/teamcity/agent/php7.2/README.md b/linux/discontinued/teamcity/agent/php7.2/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.2/README.md rename to linux/discontinued/teamcity/agent/php7.2/README.md diff --git a/linux/ecosystem/teamcity/agent/php7.2/docker-compose.yml b/linux/discontinued/teamcity/agent/php7.2/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/php7.2/docker-compose.yml rename to linux/discontinued/teamcity/agent/php7.2/docker-compose.yml index 8245c6019..72613c635 100644 --- a/linux/ecosystem/teamcity/agent/php7.2/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/php7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:php7.2" diff --git a/linux/ecosystem/teamcity/agent/php7.2/run-agent.sh b/linux/discontinued/teamcity/agent/php7.2/run-agent.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.2/run-agent.sh rename to linux/discontinued/teamcity/agent/php7.2/run-agent.sh diff --git a/linux/ecosystem/teamcity/agent/php7.2/run-services.sh b/linux/discontinued/teamcity/agent/php7.2/run-services.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.2/run-services.sh rename to linux/discontinued/teamcity/agent/php7.2/run-services.sh diff --git a/linux/ecosystem/teamcity/agent/php7.2/sources.sid.list b/linux/discontinued/teamcity/agent/php7.2/sources.sid.list similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.2/sources.sid.list rename to linux/discontinued/teamcity/agent/php7.2/sources.sid.list diff --git a/linux/ecosystem/teamcity/agent/php7.3/Dockerfile b/linux/discontinued/teamcity/agent/php7.3/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.3/Dockerfile rename to linux/discontinued/teamcity/agent/php7.3/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node5/Makefile b/linux/discontinued/teamcity/agent/php7.3/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node5/Makefile rename to linux/discontinued/teamcity/agent/php7.3/Makefile diff --git a/linux/ecosystem/teamcity/agent/php7.3/README.md b/linux/discontinued/teamcity/agent/php7.3/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.3/README.md rename to linux/discontinued/teamcity/agent/php7.3/README.md diff --git a/linux/ecosystem/teamcity/agent/php7.3/docker-compose.yml b/linux/discontinued/teamcity/agent/php7.3/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/php7.3/docker-compose.yml rename to linux/discontinued/teamcity/agent/php7.3/docker-compose.yml index 094b20efb..6507e119f 100644 --- a/linux/ecosystem/teamcity/agent/php7.3/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/php7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:php7.3" diff --git a/linux/ecosystem/teamcity/agent/php7.3/run-agent.sh b/linux/discontinued/teamcity/agent/php7.3/run-agent.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.3/run-agent.sh rename to linux/discontinued/teamcity/agent/php7.3/run-agent.sh diff --git a/linux/ecosystem/teamcity/agent/php7.3/run-services.sh b/linux/discontinued/teamcity/agent/php7.3/run-services.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.3/run-services.sh rename to linux/discontinued/teamcity/agent/php7.3/run-services.sh diff --git a/linux/ecosystem/teamcity/agent/php7.3/sources.sid.list b/linux/discontinued/teamcity/agent/php7.3/sources.sid.list similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.3/sources.sid.list rename to linux/discontinued/teamcity/agent/php7.3/sources.sid.list diff --git a/linux/ecosystem/teamcity/agent/php7.4/Dockerfile b/linux/discontinued/teamcity/agent/php7.4/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.4/Dockerfile rename to linux/discontinued/teamcity/agent/php7.4/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node6/Makefile b/linux/discontinued/teamcity/agent/php7.4/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node6/Makefile rename to linux/discontinued/teamcity/agent/php7.4/Makefile diff --git a/linux/ecosystem/teamcity/agent/php7.4/README.md b/linux/discontinued/teamcity/agent/php7.4/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.4/README.md rename to linux/discontinued/teamcity/agent/php7.4/README.md diff --git a/linux/ecosystem/teamcity/agent/php7.4/docker-compose.yml b/linux/discontinued/teamcity/agent/php7.4/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/php7.4/docker-compose.yml rename to linux/discontinued/teamcity/agent/php7.4/docker-compose.yml index ec214b4a9..30d44215f 100644 --- a/linux/ecosystem/teamcity/agent/php7.4/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/php7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:php7.4" diff --git a/linux/ecosystem/teamcity/agent/php7.4/run-agent.sh b/linux/discontinued/teamcity/agent/php7.4/run-agent.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.4/run-agent.sh rename to linux/discontinued/teamcity/agent/php7.4/run-agent.sh diff --git a/linux/ecosystem/teamcity/agent/php7.4/run-services.sh b/linux/discontinued/teamcity/agent/php7.4/run-services.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.4/run-services.sh rename to linux/discontinued/teamcity/agent/php7.4/run-services.sh diff --git a/linux/ecosystem/teamcity/agent/php7.4/sources.sid.list b/linux/discontinued/teamcity/agent/php7.4/sources.sid.list similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.4/sources.sid.list rename to linux/discontinued/teamcity/agent/php7.4/sources.sid.list diff --git a/linux/ecosystem/teamcity/agent/php8.0/Dockerfile b/linux/discontinued/teamcity/agent/php8.0/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.0/Dockerfile rename to linux/discontinued/teamcity/agent/php8.0/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node7/Makefile b/linux/discontinued/teamcity/agent/php8.0/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node7/Makefile rename to linux/discontinued/teamcity/agent/php8.0/Makefile diff --git a/linux/ecosystem/teamcity/agent/php8.0/README.md b/linux/discontinued/teamcity/agent/php8.0/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.0/README.md rename to linux/discontinued/teamcity/agent/php8.0/README.md diff --git a/linux/ecosystem/teamcity/agent/php8.0/docker-compose.yml b/linux/discontinued/teamcity/agent/php8.0/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/php8.0/docker-compose.yml rename to linux/discontinued/teamcity/agent/php8.0/docker-compose.yml index a863d1ae0..875497003 100644 --- a/linux/ecosystem/teamcity/agent/php8.0/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/php8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:php8.0" diff --git a/linux/ecosystem/teamcity/agent/php8.0/run-agent.sh b/linux/discontinued/teamcity/agent/php8.0/run-agent.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.0/run-agent.sh rename to linux/discontinued/teamcity/agent/php8.0/run-agent.sh diff --git a/linux/ecosystem/teamcity/agent/php8.0/run-services.sh b/linux/discontinued/teamcity/agent/php8.0/run-services.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.0/run-services.sh rename to linux/discontinued/teamcity/agent/php8.0/run-services.sh diff --git a/linux/ecosystem/teamcity/agent/php8.0/sources.sid.list b/linux/discontinued/teamcity/agent/php8.0/sources.sid.list similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.0/sources.sid.list rename to linux/discontinued/teamcity/agent/php8.0/sources.sid.list diff --git a/linux/ecosystem/teamcity/agent/php8.1/Dockerfile b/linux/discontinued/teamcity/agent/php8.1/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.1/Dockerfile rename to linux/discontinued/teamcity/agent/php8.1/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node8/Makefile b/linux/discontinued/teamcity/agent/php8.1/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node8/Makefile rename to linux/discontinued/teamcity/agent/php8.1/Makefile diff --git a/linux/ecosystem/teamcity/agent/php8.1/README.md b/linux/discontinued/teamcity/agent/php8.1/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.1/README.md rename to linux/discontinued/teamcity/agent/php8.1/README.md diff --git a/linux/ecosystem/teamcity/agent/php8.1/docker-compose.yml b/linux/discontinued/teamcity/agent/php8.1/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/php8.1/docker-compose.yml rename to linux/discontinued/teamcity/agent/php8.1/docker-compose.yml index d8b8ce2d0..97a3f38a1 100644 --- a/linux/ecosystem/teamcity/agent/php8.1/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/php8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:php8.1" diff --git a/linux/ecosystem/teamcity/agent/php8.1/run-agent.sh b/linux/discontinued/teamcity/agent/php8.1/run-agent.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.1/run-agent.sh rename to linux/discontinued/teamcity/agent/php8.1/run-agent.sh diff --git a/linux/ecosystem/teamcity/agent/php8.1/run-services.sh b/linux/discontinued/teamcity/agent/php8.1/run-services.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.1/run-services.sh rename to linux/discontinued/teamcity/agent/php8.1/run-services.sh diff --git a/linux/ecosystem/teamcity/agent/php8.1/sources.sid.list b/linux/discontinued/teamcity/agent/php8.1/sources.sid.list similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.1/sources.sid.list rename to linux/discontinued/teamcity/agent/php8.1/sources.sid.list diff --git a/linux/ecosystem/teamcity/agent/php8.2/Dockerfile b/linux/discontinued/teamcity/agent/php8.2/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.2/Dockerfile rename to linux/discontinued/teamcity/agent/php8.2/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/node9/Makefile b/linux/discontinued/teamcity/agent/php8.2/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/node9/Makefile rename to linux/discontinued/teamcity/agent/php8.2/Makefile diff --git a/linux/ecosystem/teamcity/agent/php8.2/README.md b/linux/discontinued/teamcity/agent/php8.2/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.2/README.md rename to linux/discontinued/teamcity/agent/php8.2/README.md diff --git a/linux/ecosystem/teamcity/agent/php8.2/docker-compose.yml b/linux/discontinued/teamcity/agent/php8.2/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/php8.2/docker-compose.yml rename to linux/discontinued/teamcity/agent/php8.2/docker-compose.yml index dd6c06e23..865004a0a 100644 --- a/linux/ecosystem/teamcity/agent/php8.2/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/php8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:php8.2" diff --git a/linux/ecosystem/teamcity/agent/php8.2/run-agent.sh b/linux/discontinued/teamcity/agent/php8.2/run-agent.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.2/run-agent.sh rename to linux/discontinued/teamcity/agent/php8.2/run-agent.sh diff --git a/linux/ecosystem/teamcity/agent/php8.2/run-services.sh b/linux/discontinued/teamcity/agent/php8.2/run-services.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.2/run-services.sh rename to linux/discontinued/teamcity/agent/php8.2/run-services.sh diff --git a/linux/ecosystem/teamcity/agent/php8.2/sources.sid.list b/linux/discontinued/teamcity/agent/php8.2/sources.sid.list similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.2/sources.sid.list rename to linux/discontinued/teamcity/agent/php8.2/sources.sid.list diff --git a/linux/ecosystem/teamcity/agent/php8.3/Dockerfile b/linux/discontinued/teamcity/agent/php8.3/Dockerfile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.3/Dockerfile rename to linux/discontinued/teamcity/agent/php8.3/Dockerfile diff --git a/linux/ecosystem/teamcity/agent/php7.2/Makefile b/linux/discontinued/teamcity/agent/php8.3/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.2/Makefile rename to linux/discontinued/teamcity/agent/php8.3/Makefile diff --git a/linux/ecosystem/teamcity/agent/php8.3/README.md b/linux/discontinued/teamcity/agent/php8.3/README.md similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.3/README.md rename to linux/discontinued/teamcity/agent/php8.3/README.md diff --git a/linux/ecosystem/teamcity/agent/php8.3/docker-compose.yml b/linux/discontinued/teamcity/agent/php8.3/docker-compose.yml similarity index 86% rename from linux/ecosystem/teamcity/agent/php8.3/docker-compose.yml rename to linux/discontinued/teamcity/agent/php8.3/docker-compose.yml index 890cce2bc..7f51e569b 100644 --- a/linux/ecosystem/teamcity/agent/php8.3/docker-compose.yml +++ b/linux/discontinued/teamcity/agent/php8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/teamcity-agent:php8.3" diff --git a/linux/ecosystem/teamcity/agent/php8.3/run-agent.sh b/linux/discontinued/teamcity/agent/php8.3/run-agent.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.3/run-agent.sh rename to linux/discontinued/teamcity/agent/php8.3/run-agent.sh diff --git a/linux/ecosystem/teamcity/agent/php8.3/run-services.sh b/linux/discontinued/teamcity/agent/php8.3/run-services.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.3/run-services.sh rename to linux/discontinued/teamcity/agent/php8.3/run-services.sh diff --git a/linux/ecosystem/teamcity/agent/php8.3/sources.sid.list b/linux/discontinued/teamcity/agent/php8.3/sources.sid.list similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.3/sources.sid.list rename to linux/discontinued/teamcity/agent/php8.3/sources.sid.list diff --git a/linux/ecosystem/apache2/php5.5/README.md b/linux/ecosystem/apache2/php5.5/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php5.5/README.md +++ b/linux/ecosystem/apache2/php5.5/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php5.5/docker-compose.yml b/linux/ecosystem/apache2/php5.5/docker-compose.yml index 383ce37d1..47a95136c 100644 --- a/linux/ecosystem/apache2/php5.5/docker-compose.yml +++ b/linux/ecosystem/apache2/php5.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php5.5" diff --git a/linux/ecosystem/apache2/php5.6/README.md b/linux/ecosystem/apache2/php5.6/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php5.6/README.md +++ b/linux/ecosystem/apache2/php5.6/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php5.6/docker-compose.yml b/linux/ecosystem/apache2/php5.6/docker-compose.yml index 2838ddcc3..4560834fa 100644 --- a/linux/ecosystem/apache2/php5.6/docker-compose.yml +++ b/linux/ecosystem/apache2/php5.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php5.6" diff --git a/linux/ecosystem/apache2/php7.0/README.md b/linux/ecosystem/apache2/php7.0/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php7.0/README.md +++ b/linux/ecosystem/apache2/php7.0/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php7.0/docker-compose.yml b/linux/ecosystem/apache2/php7.0/docker-compose.yml index 5b62dd38e..dd544945f 100644 --- a/linux/ecosystem/apache2/php7.0/docker-compose.yml +++ b/linux/ecosystem/apache2/php7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php7.0" diff --git a/linux/ecosystem/apache2/php7.1/README.md b/linux/ecosystem/apache2/php7.1/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php7.1/README.md +++ b/linux/ecosystem/apache2/php7.1/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php7.1/docker-compose.yml b/linux/ecosystem/apache2/php7.1/docker-compose.yml index c0d3a2ac0..ef5dee18c 100644 --- a/linux/ecosystem/apache2/php7.1/docker-compose.yml +++ b/linux/ecosystem/apache2/php7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php7.1" diff --git a/linux/ecosystem/apache2/php7.2/README.md b/linux/ecosystem/apache2/php7.2/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php7.2/README.md +++ b/linux/ecosystem/apache2/php7.2/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php7.2/docker-compose.yml b/linux/ecosystem/apache2/php7.2/docker-compose.yml index e27c9103c..4795a2f22 100644 --- a/linux/ecosystem/apache2/php7.2/docker-compose.yml +++ b/linux/ecosystem/apache2/php7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php7.2" diff --git a/linux/ecosystem/apache2/php7.3/README.md b/linux/ecosystem/apache2/php7.3/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php7.3/README.md +++ b/linux/ecosystem/apache2/php7.3/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php7.3/docker-compose.yml b/linux/ecosystem/apache2/php7.3/docker-compose.yml index ca5b7604e..0bbd65a47 100644 --- a/linux/ecosystem/apache2/php7.3/docker-compose.yml +++ b/linux/ecosystem/apache2/php7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php7.3" diff --git a/linux/ecosystem/apache2/php7.4/README.md b/linux/ecosystem/apache2/php7.4/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php7.4/README.md +++ b/linux/ecosystem/apache2/php7.4/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php7.4/docker-compose.yml b/linux/ecosystem/apache2/php7.4/docker-compose.yml index 09025ac51..cb7d125f4 100644 --- a/linux/ecosystem/apache2/php7.4/docker-compose.yml +++ b/linux/ecosystem/apache2/php7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php7.4" diff --git a/linux/ecosystem/apache2/php8.0/README.md b/linux/ecosystem/apache2/php8.0/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php8.0/README.md +++ b/linux/ecosystem/apache2/php8.0/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php8.0/docker-compose.yml b/linux/ecosystem/apache2/php8.0/docker-compose.yml index a3cb416b5..e02081bf3 100644 --- a/linux/ecosystem/apache2/php8.0/docker-compose.yml +++ b/linux/ecosystem/apache2/php8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php8.0" diff --git a/linux/ecosystem/apache2/php8.1/README.md b/linux/ecosystem/apache2/php8.1/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php8.1/README.md +++ b/linux/ecosystem/apache2/php8.1/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php8.1/docker-compose.yml b/linux/ecosystem/apache2/php8.1/docker-compose.yml index ad7f989db..479240039 100644 --- a/linux/ecosystem/apache2/php8.1/docker-compose.yml +++ b/linux/ecosystem/apache2/php8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php8.1" diff --git a/linux/ecosystem/apache2/php8.2/README.md b/linux/ecosystem/apache2/php8.2/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php8.2/README.md +++ b/linux/ecosystem/apache2/php8.2/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php8.2/docker-compose.yml b/linux/ecosystem/apache2/php8.2/docker-compose.yml index 87458ad35..0db105061 100644 --- a/linux/ecosystem/apache2/php8.2/docker-compose.yml +++ b/linux/ecosystem/apache2/php8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php8.2" diff --git a/linux/ecosystem/apache2/php8.3/README.md b/linux/ecosystem/apache2/php8.3/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php8.3/README.md +++ b/linux/ecosystem/apache2/php8.3/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php8.3/docker-compose.yml b/linux/ecosystem/apache2/php8.3/docker-compose.yml index 93510a80c..0762e6954 100644 --- a/linux/ecosystem/apache2/php8.3/docker-compose.yml +++ b/linux/ecosystem/apache2/php8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php8.3" diff --git a/linux/ecosystem/apache2/php8.4/README.md b/linux/ecosystem/apache2/php8.4/README.md index 86a34d4b1..f0e00799a 100644 --- a/linux/ecosystem/apache2/php8.4/README.md +++ b/linux/ecosystem/apache2/php8.4/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: websites: image: epicmorg/websites diff --git a/linux/ecosystem/apache2/php8.4/docker-compose.yml b/linux/ecosystem/apache2/php8.4/docker-compose.yml index c307ecc00..5cbf4c428 100644 --- a/linux/ecosystem/apache2/php8.4/docker-compose.yml +++ b/linux/ecosystem/apache2/php8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/apache2:php8.4" diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.0.3/.env b/linux/ecosystem/atlassian/bitbucket/1/1.0.3/.env index f02f59eef..e2ea4bbc3 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.0.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/1/1.0.3/.env @@ -1,2 +1,3 @@ RELEASE=1.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.0.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/1/1.0.3/Dockerfile index 8b818c8d2..8c1c1fa9b 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/1/1.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=1.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.0.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/1/1.0.3/docker-compose.yml index 1acad1b3d..7a7c5446a 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/1/1.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:1.0.3" diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.1.2/.env b/linux/ecosystem/atlassian/bitbucket/1/1.1.2/.env index 77e89cbdd..43a2c6f61 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.1.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/1/1.1.2/.env @@ -1,2 +1,3 @@ RELEASE=1.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.1.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/1/1.1.2/Dockerfile index 06adf335f..119ef240c 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/1/1.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=1.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.1.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/1/1.1.2/docker-compose.yml index 8961f0f2b..72768015d 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/1/1.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:1.1.2" diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.2.1/.env b/linux/ecosystem/atlassian/bitbucket/1/1.2.1/.env index 33bc7808f..16726cb3d 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.2.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/1/1.2.1/.env @@ -1,2 +1,3 @@ RELEASE=1.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.2.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/1/1.2.1/Dockerfile index 661a546cb..4b21fe918 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/1/1.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=1.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.2.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/1/1.2.1/docker-compose.yml index c3546dfe3..d244a2376 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/1/1.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:1.2.1" diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.2.4/.env b/linux/ecosystem/atlassian/bitbucket/1/1.2.4/.env index f2fe408af..7506ea796 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.2.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/1/1.2.4/.env @@ -1,2 +1,3 @@ RELEASE=1.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.2.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/1/1.2.4/Dockerfile index 9b699dd86..a180a9957 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/1/1.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=1.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.2.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/1/1.2.4/docker-compose.yml index 9fa20f4ac..8ec80aa8d 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/1/1.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:1.2.4" diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.3.1/.env b/linux/ecosystem/atlassian/bitbucket/1/1.3.1/.env index 8971f8176..ba4bf25a1 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/1/1.3.1/.env @@ -1,2 +1,3 @@ RELEASE=1.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/1/1.3.1/Dockerfile index 68a170a32..fb225d7a9 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/1/1.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=1.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/1/1.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/1/1.3.1/docker-compose.yml index 448bdef29..10e130c67 100644 --- a/linux/ecosystem/atlassian/bitbucket/1/1.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/1/1.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:1.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.0.3/.env b/linux/ecosystem/atlassian/bitbucket/2/2.0.3/.env index 1f8b7a90b..7e1af81f6 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.0.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.0.3/.env @@ -1,2 +1,3 @@ RELEASE=2.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.0.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.0.3/Dockerfile index 63e4a59bd..972418a08 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.0.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.0.3/docker-compose.yml index 35871aa4e..3abed232d 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.0.3" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.1.2/.env b/linux/ecosystem/atlassian/bitbucket/2/2.1.2/.env index de081f3c2..7643e9287 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.1.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.1.2/.env @@ -1,2 +1,3 @@ RELEASE=2.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.1.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.1.2/Dockerfile index c90a2de4b..4cf584d09 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.1.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.1.2/docker-compose.yml index bf31a622a..802cb2738 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.1.2" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.0/.env b/linux/ecosystem/atlassian/bitbucket/2/2.10.0/.env index b434e4080..dfa85e77d 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.0/.env @@ -1,2 +1,3 @@ RELEASE=2.10.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.10.0/Dockerfile index c30d51e8f..f0a0790b3 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.10.0/docker-compose.yml index 8c9840a3c..97c35eff8 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.10.0" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.1/.env b/linux/ecosystem/atlassian/bitbucket/2/2.10.1/.env index 9aa4e09f3..8158e69ec 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.1/.env @@ -1,2 +1,3 @@ RELEASE=2.10.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.10.1/Dockerfile index 6a12278d6..883075960 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.10.1/docker-compose.yml index ddada99f4..f3daa0f7b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.10.1" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.2/.env b/linux/ecosystem/atlassian/bitbucket/2/2.10.2/.env index 88d3d55db..b0a20a4eb 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.2/.env @@ -1,2 +1,3 @@ RELEASE=2.10.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.10.2/Dockerfile index d9e84a291..8f9038b24 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.10.2/docker-compose.yml index 7b3f7ab3f..460e83259 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.10.2" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.3/.env b/linux/ecosystem/atlassian/bitbucket/2/2.10.3/.env index fdff7d7be..8fb9f0236 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.3/.env @@ -1,2 +1,3 @@ RELEASE=2.10.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.10.3/Dockerfile index b316b83c5..834675c14 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.10.3/docker-compose.yml index da419d2c7..0499b3670 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.10.3" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.4/.env b/linux/ecosystem/atlassian/bitbucket/2/2.10.4/.env index 354055be7..e41654a85 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.4/.env @@ -1,2 +1,3 @@ RELEASE=2.10.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.10.4/Dockerfile index 42cb45734..2d2164161 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.10.4/docker-compose.yml index fb3892a44..d200a7480 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.10.4" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.5/.env b/linux/ecosystem/atlassian/bitbucket/2/2.10.5/.env index 49e5f408b..e82322aac 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.5/.env @@ -1,2 +1,3 @@ RELEASE=2.10.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.10.5/Dockerfile index 474882a4b..5162f9a62 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.10.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.10.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.10.5/docker-compose.yml index ea3d8c893..6205b2d7b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.10.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.10.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.10.5" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.3/.env b/linux/ecosystem/atlassian/bitbucket/2/2.11.3/.env index 266320c65..6aa02526b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.3/.env @@ -1,2 +1,3 @@ RELEASE=2.11.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.11.3/Dockerfile index 65ad85ad0..5b36dabd2 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.11.3/docker-compose.yml index b2f1f2adc..eed2e52ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.11.3" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.4/.env b/linux/ecosystem/atlassian/bitbucket/2/2.11.4/.env index 413781200..f7d2b1112 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.4/.env @@ -1,2 +1,3 @@ RELEASE=2.11.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.11.4/Dockerfile index 94193a16b..856773591 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.11.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.11.4/docker-compose.yml index 7193e8db0..933e67cab 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.11.4" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.5/.env b/linux/ecosystem/atlassian/bitbucket/2/2.11.5/.env index 9e844ff67..04bf1bb76 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.5/.env @@ -1,2 +1,3 @@ RELEASE=2.11.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.11.5/Dockerfile index 85e9f8666..494dd0ab0 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.11.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.11.5/docker-compose.yml index 721b8e029..e19d21e52 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.11.5" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.6/.env b/linux/ecosystem/atlassian/bitbucket/2/2.11.6/.env index 8c90f5494..e7f5c407c 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.6/.env @@ -1,2 +1,3 @@ RELEASE=2.11.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.11.6/Dockerfile index 34c9b276a..934c6d0de 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.11.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.11.6/docker-compose.yml index ea5bf9176..74075984b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.11.6" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.7/.env b/linux/ecosystem/atlassian/bitbucket/2/2.11.7/.env index abff9b709..1e3aad841 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.7/.env @@ -1,2 +1,3 @@ RELEASE=2.11.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.11.7/Dockerfile index f91d6f7c9..d70d737ed 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.11.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.11.7/docker-compose.yml index 5eb0d484d..7aa4a9ce1 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.11.7" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.8/.env b/linux/ecosystem/atlassian/bitbucket/2/2.11.8/.env index d59216be2..93362949b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.8/.env @@ -1,2 +1,3 @@ RELEASE=2.11.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.11.8/Dockerfile index 60e650789..5393ccd4b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.11.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.11.8/docker-compose.yml index 01315e84a..5363f1972 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.11.8" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.9/.env b/linux/ecosystem/atlassian/bitbucket/2/2.11.9/.env index 26912811e..a2e91ab9f 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.9/.env @@ -1,2 +1,3 @@ RELEASE=2.11.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.11.9/Dockerfile index 4b71a2b60..d27702ba2 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.11.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.11.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.11.9/docker-compose.yml index 09410a93d..77429cb1f 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.11.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.11.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.11.9" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.0/.env b/linux/ecosystem/atlassian/bitbucket/2/2.12.0/.env index 294f230ca..264e3db1f 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.0/.env @@ -1,2 +1,3 @@ RELEASE=2.12.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.12.0/Dockerfile index 45b111458..89e138d45 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.12.0/docker-compose.yml index d40f4ea21..0b04160ab 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.12.0" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.1/.env b/linux/ecosystem/atlassian/bitbucket/2/2.12.1/.env index 71bd47e84..f3739168c 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.1/.env @@ -1,2 +1,3 @@ RELEASE=2.12.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.12.1/Dockerfile index 007ecaf5a..a3ed82529 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.12.1/docker-compose.yml index ec8a97175..6789bf09f 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.12.1" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.2/.env b/linux/ecosystem/atlassian/bitbucket/2/2.12.2/.env index 4fc5149c3..cdad680e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.2/.env @@ -1,2 +1,3 @@ RELEASE=2.12.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.12.2/Dockerfile index f7019829e..2dec97f9b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.12.2/docker-compose.yml index cadfe9d21..31987bd65 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.12.2" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.3/.env b/linux/ecosystem/atlassian/bitbucket/2/2.12.3/.env index 6a2dc3ae4..bc8a7c3dd 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.3/.env @@ -1,2 +1,3 @@ RELEASE=2.12.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.12.3/Dockerfile index d2b057a91..8c6dc9e0d 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.12.3/docker-compose.yml index 66c8470fc..b0927f32d 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.12.3" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.4/.env b/linux/ecosystem/atlassian/bitbucket/2/2.12.4/.env index e5e75ea62..6983a6aca 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.4/.env @@ -1,2 +1,3 @@ RELEASE=2.12.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.12.4/Dockerfile index 167259cc7..0dcddda9a 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.12.4/docker-compose.yml index ffb48836c..a0bd1cff4 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.12.4" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.5/.env b/linux/ecosystem/atlassian/bitbucket/2/2.12.5/.env index 667da710e..3ca8e3a34 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.5/.env @@ -1,2 +1,3 @@ RELEASE=2.12.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.12.5/Dockerfile index 41668f07e..2bbb42a09 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.12.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.12.5/docker-compose.yml index e19b58126..c22e12f05 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.12.5" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.6/.env b/linux/ecosystem/atlassian/bitbucket/2/2.12.6/.env index ef16b6a61..8b7799d7a 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.6/.env @@ -1,2 +1,3 @@ RELEASE=2.12.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.12.6/Dockerfile index bed92668c..32ed3d341 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.12.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.12.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.12.6/docker-compose.yml index 0d9230c72..97b121962 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.12.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.12.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.12.6" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.2.0/.env b/linux/ecosystem/atlassian/bitbucket/2/2.2.0/.env index 54da496eb..78fc67986 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.2.0/.env @@ -1,2 +1,3 @@ RELEASE=2.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.2.0/Dockerfile index 51295d6e8..61ac35379 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.2.0/docker-compose.yml index 8075d6bcf..11eb30953 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.3.1/.env b/linux/ecosystem/atlassian/bitbucket/2/2.3.1/.env index 0b77dfb84..f0896b8d5 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.3.1/.env @@ -1,2 +1,3 @@ RELEASE=2.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.3.1/Dockerfile index 25d633170..65665892c 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.3.1/docker-compose.yml index 1bf2427ab..5c3d9ca2c 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.4.2/.env b/linux/ecosystem/atlassian/bitbucket/2/2.4.2/.env index b25718b7e..ec0cd345f 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.4.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.4.2/.env @@ -1,2 +1,3 @@ RELEASE=2.4.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.4.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.4.2/Dockerfile index ac7d93724..1f6586ad4 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.4.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.4.2/docker-compose.yml index 107f7a2e3..b9218579a 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.4.2" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.5.4/.env b/linux/ecosystem/atlassian/bitbucket/2/2.5.4/.env index fe05222e0..6826494b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.5.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.5.4/.env @@ -1,2 +1,3 @@ RELEASE=2.5.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.5.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.5.4/Dockerfile index 361a1eb99..0d767a848 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.5.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.5.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.5.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.5.4/docker-compose.yml index b511262fe..9d42acfc6 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.5.4" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.6.5/.env b/linux/ecosystem/atlassian/bitbucket/2/2.6.5/.env index 50228d2a0..5c202f27f 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.6.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.6.5/.env @@ -1,2 +1,3 @@ RELEASE=2.6.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.6.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.6.5/Dockerfile index 1a8bb21e7..0d7bc3052 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.6.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.6.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.6.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.6.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.6.5/docker-compose.yml index 1e37e4160..b21a7abaa 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.6.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.6.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.6.5" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.7.6/.env b/linux/ecosystem/atlassian/bitbucket/2/2.7.6/.env index f03d3c7dc..cba4de96a 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.7.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.7.6/.env @@ -1,2 +1,3 @@ RELEASE=2.7.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.7.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.7.6/Dockerfile index a0bd1d682..27773170d 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.7.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.7.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.7.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.7.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.7.6/docker-compose.yml index 5f8df8dc7..7d19b7a8b 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.7.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.7.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.7.6" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.8.4/.env b/linux/ecosystem/atlassian/bitbucket/2/2.8.4/.env index 1a8ebbc6f..90bb69a0a 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.8.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.8.4/.env @@ -1,2 +1,3 @@ RELEASE=2.8.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.8.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.8.4/Dockerfile index 68e80acc3..9cc9bd49e 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.8.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.8.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.8.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.8.4/docker-compose.yml index 4db541143..ed6294ca2 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.8.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.8.4" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.8.5/.env b/linux/ecosystem/atlassian/bitbucket/2/2.8.5/.env index 082203808..afd4a9233 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.8.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.8.5/.env @@ -1,2 +1,3 @@ RELEASE=2.8.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.8.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.8.5/Dockerfile index dcaad9db2..d900ce7cb 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.8.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.8.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.8.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.8.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.8.5/docker-compose.yml index cf533300f..cd19fe652 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.8.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.8.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.8.5" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.1/.env b/linux/ecosystem/atlassian/bitbucket/2/2.9.1/.env index ccd53a324..d8cc8fef6 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.1/.env @@ -1,2 +1,3 @@ RELEASE=2.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.9.1/Dockerfile index 0da22005c..588eadea7 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.9.1/docker-compose.yml index 781db34bd..815c41078 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.9.1" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.2/.env b/linux/ecosystem/atlassian/bitbucket/2/2.9.2/.env index 7eeab2923..75a3799f3 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.2/.env @@ -1,2 +1,3 @@ RELEASE=2.9.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.9.2/Dockerfile index 9e8f8246b..9cebcbc02 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.9.2/docker-compose.yml index cb423fdd7..f18525d81 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.9.2" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.3/.env b/linux/ecosystem/atlassian/bitbucket/2/2.9.3/.env index ec009f103..8759dd1a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.3/.env @@ -1,2 +1,3 @@ RELEASE=2.9.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.9.3/Dockerfile index 3f0352468..57a2a6060 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.9.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.9.3/docker-compose.yml index 2f6d5b395..edaa527af 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.9.3" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.4/.env b/linux/ecosystem/atlassian/bitbucket/2/2.9.4/.env index c3b3e4592..7e9b8caa7 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.4/.env @@ -1,2 +1,3 @@ RELEASE=2.9.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.9.4/Dockerfile index dee7ea8d8..219743e30 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.9.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.9.4/docker-compose.yml index 56aae4352..4e1a4248a 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.9.4" diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.5/.env b/linux/ecosystem/atlassian/bitbucket/2/2.9.5/.env index 537d97401..c5e230408 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.5/.env @@ -1,2 +1,3 @@ RELEASE=2.9.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/2/2.9.5/Dockerfile index 39692c984..49885c73c 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=2.9.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/2/2.9.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/2/2.9.5/docker-compose.yml index 39be5a8de..c1d29c272 100644 --- a/linux/ecosystem/atlassian/bitbucket/2/2.9.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/2/2.9.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:2.9.5" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.0.1/.env index dfd797686..a035853dd 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.1/.env @@ -1,2 +1,3 @@ RELEASE=3.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.0.1/Dockerfile index 8aaf25de2..05192a5f4 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.0.1/docker-compose.yml index 11b594d73..4bf073e53 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.0.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.4/.env b/linux/ecosystem/atlassian/bitbucket/3/3.0.4/.env index d4e2ba8b3..611c8ad20 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.4/.env @@ -1,2 +1,3 @@ RELEASE=3.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.0.4/Dockerfile index 578e36a7d..f46f4e42e 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.0.4/docker-compose.yml index ecbbee8e8..fd319e1da 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.0.4" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.5/.env b/linux/ecosystem/atlassian/bitbucket/3/3.0.5/.env index 8fa617769..5095b4411 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.5/.env @@ -1,2 +1,3 @@ RELEASE=3.0.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.0.5/Dockerfile index 221a4b95b..8bafba843 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.0.5/docker-compose.yml index becc8587a..470bf11ae 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.0.5" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.6/.env b/linux/ecosystem/atlassian/bitbucket/3/3.0.6/.env index ac5dffa8c..1c9cefaea 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.6/.env @@ -1,2 +1,3 @@ RELEASE=3.0.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.0.6/Dockerfile index 8f6a9f8dd..6cc99b17f 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.0.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.0.6/docker-compose.yml index 09a405c6f..5a5fc78b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.0.6" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.7/.env b/linux/ecosystem/atlassian/bitbucket/3/3.0.7/.env index f0ceeb713..6cd9f5472 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.7/.env @@ -1,2 +1,3 @@ RELEASE=3.0.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.0.7/Dockerfile index c742868b8..db2de77f2 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.0.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.0.7/docker-compose.yml index f2f5a1122..04fb59a4f 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.0.7" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.8/.env b/linux/ecosystem/atlassian/bitbucket/3/3.0.8/.env index 8cae2084f..2d694f21c 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.8/.env @@ -1,2 +1,3 @@ RELEASE=3.0.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.0.8/Dockerfile index 838c78a51..490516f66 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.0.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.0.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.0.8/docker-compose.yml index 3b7bd34f4..d5c594843 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.0.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.0.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.0.8" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.1.0/.env index e8152d22f..c5d10417f 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.0/.env @@ -1,2 +1,3 @@ RELEASE=3.1.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.1.0/Dockerfile index 19e15fbed..96b43401a 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.1.0/docker-compose.yml index 45859ebbd..d7771cfeb 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.1.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.1.1/.env index f4ae0a6ae..bddcd0d80 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.1/.env @@ -1,2 +1,3 @@ RELEASE=3.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.1.1/Dockerfile index bda92d41e..36b44ba06 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.1.1/docker-compose.yml index ac4a72c47..62e387189 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.1.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.3/.env b/linux/ecosystem/atlassian/bitbucket/3/3.1.3/.env index 503fd693f..a2f8e78ec 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.3/.env @@ -1,2 +1,3 @@ RELEASE=3.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.1.3/Dockerfile index a3fc85637..5919dc723 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.1.3/docker-compose.yml index 5a24792ee..59963a839 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.1.3" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.4/.env b/linux/ecosystem/atlassian/bitbucket/3/3.1.4/.env index 22b62975d..644302c86 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.4/.env @@ -1,2 +1,3 @@ RELEASE=3.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.1.4/Dockerfile index 4a5bedf96..95926e48b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.1.4/docker-compose.yml index 70621d6f6..a51d6c430 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.1.4" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.5/.env b/linux/ecosystem/atlassian/bitbucket/3/3.1.5/.env index c2e44dcd9..3a7d93509 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.5/.env @@ -1,2 +1,3 @@ RELEASE=3.1.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.1.5/Dockerfile index 776b95fdc..b2fe159de 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.1.5/docker-compose.yml index 395564f89..27dee4133 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.1.5" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.7/.env b/linux/ecosystem/atlassian/bitbucket/3/3.1.7/.env index 951554e89..e117b9c23 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.7/.env @@ -1,2 +1,3 @@ RELEASE=3.1.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.1.7/Dockerfile index 288d2dfb8..f6149ea5f 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.1.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.1.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.1.7/docker-compose.yml index 6f703066b..90e600144 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.1.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.1.7" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.10.0/.env index 6c2420cf4..94fd50349 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.0/.env @@ -1,2 +1,3 @@ RELEASE=3.10.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.10.0/Dockerfile index d1362f777..d4e868850 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.10.0/docker-compose.yml index 5f8ec00c9..823f7615c 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.10.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.2/.env b/linux/ecosystem/atlassian/bitbucket/3/3.10.2/.env index 59d75d15e..2aea29902 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.2/.env @@ -1,2 +1,3 @@ RELEASE=3.10.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.10.2/Dockerfile index 3f16843ca..c02433fb4 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.10.2/docker-compose.yml index e6b529517..d5718589b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.10.2" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.3/.env b/linux/ecosystem/atlassian/bitbucket/3/3.10.3/.env index 7e5cd4ccd..f16e6f67e 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.3/.env @@ -1,2 +1,3 @@ RELEASE=3.10.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.10.3/Dockerfile index 371d0d0e2..cfa0553c6 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.10.3/docker-compose.yml index eb4924c1f..dc5a68a17 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.10.3" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.4/.env b/linux/ecosystem/atlassian/bitbucket/3/3.10.4/.env index e7bb5e72d..da05ae6e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.4/.env @@ -1,2 +1,3 @@ RELEASE=3.10.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.10.4/Dockerfile index ee8ef2dca..dd2241263 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.10.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.10.4/docker-compose.yml index 0d5373d97..fab84500b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.10.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.10.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.10.4" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.11.0/.env index f0962ade9..da26ff937 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.0/.env @@ -1,2 +1,3 @@ RELEASE=3.11.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.11.0/Dockerfile index 74c14d4ee..d2e9b868d 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.11.0/docker-compose.yml index 2f20fb51f..69d62395a 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.11.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.11.1/.env index 8694ee46e..f53a1254d 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.1/.env @@ -1,2 +1,3 @@ RELEASE=3.11.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.11.1/Dockerfile index 1761a8b96..b8b443a4f 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.11.1/docker-compose.yml index 053f6e515..0c7ed843b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.11.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.2/.env b/linux/ecosystem/atlassian/bitbucket/3/3.11.2/.env index ad55e6f9c..dafce5aca 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.2/.env @@ -1,2 +1,3 @@ RELEASE=3.11.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.11.2/Dockerfile index f6d088aee..655a9d3b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.11.2/docker-compose.yml index ea307df02..fbf89d244 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.11.2" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.3/.env b/linux/ecosystem/atlassian/bitbucket/3/3.11.3/.env index 9bed767fc..c0f0587ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.3/.env @@ -1,2 +1,3 @@ RELEASE=3.11.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.11.3/Dockerfile index 08e43303a..1594cc693 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.11.3/docker-compose.yml index 40b48e107..a8c162491 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.11.3" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.4/.env b/linux/ecosystem/atlassian/bitbucket/3/3.11.4/.env index 506783c79..2ee2f528e 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.4/.env @@ -1,2 +1,3 @@ RELEASE=3.11.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.11.4/Dockerfile index 5a0e1011d..1eae0e58b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.11.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.11.4/docker-compose.yml index 1bf0eb5d0..305c65956 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.11.4" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.6/.env b/linux/ecosystem/atlassian/bitbucket/3/3.11.6/.env index 1f9c3e596..a3872281b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.6/.env @@ -1,2 +1,3 @@ RELEASE=3.11.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.11.6/Dockerfile index 226e34cd7..c8c73e91d 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.11.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.11.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.11.6/docker-compose.yml index 3a2bb321d..e7973907b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.11.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.11.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.11.6" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.2.0/.env index a3a4460e9..834221fda 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.0/.env @@ -1,2 +1,3 @@ RELEASE=3.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.2.0/Dockerfile index cfd805596..a7a2c88a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.2.0/docker-compose.yml index 3ecad7bbf..5967f0de2 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.2/.env b/linux/ecosystem/atlassian/bitbucket/3/3.2.2/.env index ee3f5b4c0..00f4e1fa6 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.2/.env @@ -1,2 +1,3 @@ RELEASE=3.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.2.2/Dockerfile index 652f16051..605388648 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.2.2/docker-compose.yml index 03edbc59e..e61069993 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.2.2" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.4/.env b/linux/ecosystem/atlassian/bitbucket/3/3.2.4/.env index 9a03f4416..2cbd0645a 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.4/.env @@ -1,2 +1,3 @@ RELEASE=3.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.2.4/Dockerfile index fdbae697a..500260065 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.2.4/docker-compose.yml index 51c43d109..ae768c3b8 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.2.4" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.5/.env b/linux/ecosystem/atlassian/bitbucket/3/3.2.5/.env index e9026ebd1..51ae88c96 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.5/.env @@ -1,2 +1,3 @@ RELEASE=3.2.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.2.5/Dockerfile index 56aa1ac80..f0f6f5d04 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.2.5/docker-compose.yml index ebd3f87ac..3be5c1310 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.2.5" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.7/.env b/linux/ecosystem/atlassian/bitbucket/3/3.2.7/.env index c36dc88df..d442c2315 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.7/.env @@ -1,2 +1,3 @@ RELEASE=3.2.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.2.7/Dockerfile index e496034ba..b73e40947 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.2.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.2.7/docker-compose.yml index e08431cc7..9c435dc89 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.2.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.2.7" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.3.0/.env index 54907572f..77ceb7aaf 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.0/.env @@ -1,2 +1,3 @@ RELEASE=3.3.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.3.0/Dockerfile index bbe351af2..8826c13bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.3.0/docker-compose.yml index 34c8eb4e8..756aeba67 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.3.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.3.1/.env index 74d8cbdfd..86caa7873 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.1/.env @@ -1,2 +1,3 @@ RELEASE=3.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.3.1/Dockerfile index ff05e4e4b..1d418fe08 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.3.1/docker-compose.yml index b40259c99..3a80bb1e9 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.2/.env b/linux/ecosystem/atlassian/bitbucket/3/3.3.2/.env index 48150cd3e..770c73a3c 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.2/.env @@ -1,2 +1,3 @@ RELEASE=3.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.3.2/Dockerfile index 195327ea6..627d48a5b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.3.2/docker-compose.yml index c9823c8c1..fa1049a6b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.3.2" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.3/.env b/linux/ecosystem/atlassian/bitbucket/3/3.3.3/.env index 1a2b2a4cb..2c9c989cc 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.3/.env @@ -1,2 +1,3 @@ RELEASE=3.3.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.3.3/Dockerfile index 54600915a..b92056640 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.3.3/docker-compose.yml index b25da599e..258f2ee97 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.3.3" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.5/.env b/linux/ecosystem/atlassian/bitbucket/3/3.3.5/.env index 184619bcd..250a5c993 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.5/.env @@ -1,2 +1,3 @@ RELEASE=3.3.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.3.5/Dockerfile index f422410b3..7c8a14ab8 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.3.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.3.5/docker-compose.yml index a8bd85178..0c5cdc8c9 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.3.5" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.4.0/.env index 24691fdfc..26fb6d7ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.0/.env @@ -1,2 +1,3 @@ RELEASE=3.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.4.0/Dockerfile index 88313be31..ebfaee8ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.4.0/docker-compose.yml index d4c56ef0a..4789f1cbe 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.4.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.4.1/.env index 832834989..17b752cad 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.1/.env @@ -1,2 +1,3 @@ RELEASE=3.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.4.1/Dockerfile index 4629ca89c..d88b42e33 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.4.1/docker-compose.yml index a14845a21..fcefe7c0d 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.4.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.3/.env b/linux/ecosystem/atlassian/bitbucket/3/3.4.3/.env index 110587aec..bff10dabe 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.3/.env @@ -1,2 +1,3 @@ RELEASE=3.4.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.4.3/Dockerfile index b361e2ce0..b7458b440 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.4.3/docker-compose.yml index 2d1572fe4..9271fce74 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.4.3" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.5/.env b/linux/ecosystem/atlassian/bitbucket/3/3.4.5/.env index df1d17759..13dc39e7a 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.5/.env @@ -1,2 +1,3 @@ RELEASE=3.4.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.4.5/Dockerfile index b2a1fd1f0..dc2709e76 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.4.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.4.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.4.5/docker-compose.yml index 2a89eceb8..7428791be 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.4.5" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.5.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.5.0/.env index e0f5abce3..0e5f61df0 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.5.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.5.0/.env @@ -1,2 +1,3 @@ RELEASE=3.5.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.5.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.5.0/Dockerfile index 7606b7b02..c179f8068 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.5.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.5.0/docker-compose.yml index 28d02dcdf..cda9cfe4f 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.5.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.5.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.5.1/.env index a249ff265..efb8d7d47 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.5.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.5.1/.env @@ -1,2 +1,3 @@ RELEASE=3.5.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.5.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.5.1/Dockerfile index 511d4d89b..56dc29f60 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.5.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.5.1/docker-compose.yml index ab4e6e94a..3fc9d4315 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.5.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.6.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.6.0/.env index dce6c5288..ab2db374e 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.6.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.6.0/.env @@ -1,2 +1,3 @@ RELEASE=3.6.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.6.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.6.0/Dockerfile index e1819ab9e..1445a0420 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.6.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.6.0/docker-compose.yml index fa32902ce..eb309dec8 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.6.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.6.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.6.1/.env index 8dd1a6e17..9e838f473 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.6.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.6.1/.env @@ -1,2 +1,3 @@ RELEASE=3.6.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.6.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.6.1/Dockerfile index 293fe2eff..220bb816b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.6.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.6.1/docker-compose.yml index 352e06336..d6a0d2d4a 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.6.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.7.0/.env index 8027078cb..73cfe5a5b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.0/.env @@ -1,2 +1,3 @@ RELEASE=3.7.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.7.0/Dockerfile index df54649e8..e604d9210 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.7.0/docker-compose.yml index bc6649c78..5067689f1 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.7.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.7.1/.env index 7f61d3fe8..b43b0f20e 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.1/.env @@ -1,2 +1,3 @@ RELEASE=3.7.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.7.1/Dockerfile index 6810a9122..9a79c3ef5 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.7.1/docker-compose.yml index e18ec26db..279af87ab 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.7.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.2/.env b/linux/ecosystem/atlassian/bitbucket/3/3.7.2/.env index f99861c4a..24a525cb8 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.2/.env @@ -1,2 +1,3 @@ RELEASE=3.7.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.7.2/Dockerfile index c4610ba1a..cc1e5b9b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.7.2/docker-compose.yml index 9f3078b66..470934292 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.7.2" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.3/.env b/linux/ecosystem/atlassian/bitbucket/3/3.7.3/.env index 7b2e9db8d..94a464068 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.3/.env @@ -1,2 +1,3 @@ RELEASE=3.7.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.7.3/Dockerfile index e32981142..100944f89 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.7.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.7.3/docker-compose.yml index 2c552e74a..83417a6b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.7.3" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.4/.env b/linux/ecosystem/atlassian/bitbucket/3/3.7.4/.env index 9f9ccdce2..7fc3c0829 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.4/.env @@ -1,2 +1,3 @@ RELEASE=3.7.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.7.4/Dockerfile index 8b84ea171..3ef2b5f92 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.7.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.7.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.7.4/docker-compose.yml index 85acdf687..ac5c8cab5 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.7.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.7.4" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.8.0/.env b/linux/ecosystem/atlassian/bitbucket/3/3.8.0/.env index d2313a3b9..9ad9564a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.8.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.8.0/.env @@ -1,2 +1,3 @@ RELEASE=3.8.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.8.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.8.0/Dockerfile index 338771726..3ef91b6ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.8.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.8.0/docker-compose.yml index 42a46bd0e..54b7c7e4e 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.8.0" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.8.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.8.1/.env index d2b2e0a18..83cf19139 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.8.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.8.1/.env @@ -1,2 +1,3 @@ RELEASE=3.8.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.8.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.8.1/Dockerfile index de8b66333..8c99acc13 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.8.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.8.1/docker-compose.yml index 9980b04dc..fa7237be1 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.8.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.9.1/.env b/linux/ecosystem/atlassian/bitbucket/3/3.9.1/.env index f51420b92..8c8aab9cd 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.9.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.9.1/.env @@ -1,2 +1,3 @@ RELEASE=3.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.9.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.9.1/Dockerfile index 4cd2435ef..387e78940 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.9.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.9.1/docker-compose.yml index bdd2a85d8..a0f5d348e 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.9.1" diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.9.2/.env b/linux/ecosystem/atlassian/bitbucket/3/3.9.2/.env index 2487bfdc3..ce2d6541b 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.9.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/3/3.9.2/.env @@ -1,2 +1,3 @@ RELEASE=3.9.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.9.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/3/3.9.2/Dockerfile index fb17f5a2b..85672b24c 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/3/3.9.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=3.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-stash-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-stash-${RELEASE}.tar.gz ################################################################## # Setup @@ -31,7 +32,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-stash-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/3/3.9.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/3/3.9.2/docker-compose.yml index d0d96d157..7f4be80bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/3/3.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/3/3.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:3.9.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.0.1/.env index faafa2e70..9cee3158f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.1/.env @@ -1,2 +1,3 @@ RELEASE=4.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.0.1/Dockerfile index 1eb330c06..2e8e331b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.0.1/docker-compose.yml index eccce07aa..cf5d93246 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.0.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.0.2/.env index d82aa7754..843b99265 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.2/.env @@ -1,2 +1,3 @@ RELEASE=4.0.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.0.2/Dockerfile index 324fc732e..d6f924079 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.0.2/docker-compose.yml index 32678897a..ca5d38150 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.0.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.0.3/.env index 868c846a5..d5288d701 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.3/.env @@ -1,2 +1,3 @@ RELEASE=4.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.0.3/Dockerfile index 0faeb55df..927495de3 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.0.3/docker-compose.yml index 0656abb99..674900078 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.0.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.4/.env b/linux/ecosystem/atlassian/bitbucket/4/4.0.4/.env index d3e9a3589..76dce9de4 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.4/.env @@ -1,2 +1,3 @@ RELEASE=4.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.0.4/Dockerfile index 74206ac63..23624fb3f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.0.4/docker-compose.yml index e4f78e4ea..54aae566a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.0.4" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.6/.env b/linux/ecosystem/atlassian/bitbucket/4/4.0.6/.env index 2d21606e1..8f041b585 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.6/.env @@ -1,2 +1,3 @@ RELEASE=4.0.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.0.6/Dockerfile index 1f2c7e680..cb70c520a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.0.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.0.6/docker-compose.yml index c4c6a75a4..bc7f0e96f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.0.6" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.7/.env b/linux/ecosystem/atlassian/bitbucket/4/4.0.7/.env index f4e8a5028..24c1b3dfc 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.7/.env @@ -1,2 +1,3 @@ RELEASE=4.0.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.0.7/Dockerfile index a6bbb8925..13f8178ac 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.0.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.0.7/docker-compose.yml index 851019727..4e5f18a5f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.0.7" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.8/.env b/linux/ecosystem/atlassian/bitbucket/4/4.0.8/.env index 123be2dbc..04447d693 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.8/.env @@ -1,2 +1,3 @@ RELEASE=4.0.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.0.8/Dockerfile index 04eb13652..d08f72bef 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.0.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.0.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.0.8/docker-compose.yml index 659a08000..1ddd5fc89 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.0.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.0.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.0.8" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.1.0/.env index 65d76e6a1..fa01ac5ea 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.0/.env @@ -1,2 +1,3 @@ RELEASE=4.1.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.1.0/Dockerfile index 9d6cf0e2d..5448a043d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.1.0/docker-compose.yml index c91d04404..65b536ab8 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.1.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.1.3/.env index 635667c23..70b65d781 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.3/.env @@ -1,2 +1,3 @@ RELEASE=4.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.1.3/Dockerfile index 9797be14f..61d289dfd 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.1.3/docker-compose.yml index b69530308..280ce0517 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.1.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.4/.env b/linux/ecosystem/atlassian/bitbucket/4/4.1.4/.env index bc46965a5..a93f01514 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.4/.env @@ -1,2 +1,3 @@ RELEASE=4.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.1.4/Dockerfile index ffbcc8ea7..744d62a35 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.1.4/docker-compose.yml index 68d5ed38d..ba4e8a4f6 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.1.4" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.6/.env b/linux/ecosystem/atlassian/bitbucket/4/4.1.6/.env index bc067c000..fa3f2c2b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.6/.env @@ -1,2 +1,3 @@ RELEASE=4.1.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.1.6/Dockerfile index 4e081377f..913a069ef 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.1.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.1.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.1.6/docker-compose.yml index dbd928bbf..63adf993b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.1.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.1.6" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.10.0/.env index 89503731b..a897e3ae4 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.0/.env @@ -1,2 +1,3 @@ RELEASE=4.10.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.10.0/Dockerfile index 0a6d19f05..43152864a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.10.0/docker-compose.yml index 31432046e..e9795e76b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.10.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.10.1/.env index b06239edd..b1f9a1d8c 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.1/.env @@ -1,2 +1,3 @@ RELEASE=4.10.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.10.1/Dockerfile index 17184ff99..a8dce4dcd 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.10.1/docker-compose.yml index 503a53caa..beaed5257 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.10.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.10.2/.env index 6afe61d79..75ce3588c 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.2/.env @@ -1,2 +1,3 @@ RELEASE=4.10.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.10.2/Dockerfile index 32637caec..a7aec8dac 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.10.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.10.2/docker-compose.yml index 5c9f4aa4a..b8942426e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.10.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.11.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.11.1/.env index ef641167e..39322fb60 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.11.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.11.1/.env @@ -1,2 +1,3 @@ RELEASE=4.11.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.11.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.11.1/Dockerfile index 6d4790bc5..96c07fcfa 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.11.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.11.1/docker-compose.yml index 0dfaa9eae..e89c2f80d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.11.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.11.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.11.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.11.2/.env index 74c55c677..d42ed0b0b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.11.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.11.2/.env @@ -1,2 +1,3 @@ RELEASE=4.11.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.11.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.11.2/Dockerfile index dd01c6801..f707d127a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.11.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.11.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.11.2/docker-compose.yml index 7ac41942f..1c061f3ee 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.11.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.11.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.12.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.12.0/.env index bbd922f70..1541134c5 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.12.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.12.0/.env @@ -1,2 +1,3 @@ RELEASE=4.12.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.12.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.12.0/Dockerfile index 0053f201c..de21482db 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.12.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.12.0/docker-compose.yml index 3d83f8645..3555b1166 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.12.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.12.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.12.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.12.1/.env index 77dae55a9..d7fdc9e10 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.12.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.12.1/.env @@ -1,2 +1,3 @@ RELEASE=4.12.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.12.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.12.1/Dockerfile index 067ebaad5..6eb2e9cf5 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.12.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.12.1/docker-compose.yml index 751160dd1..8dc92b020 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.12.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.12.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.13.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.13.0/.env index fa8b8ba32..285ce401f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.13.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.13.0/.env @@ -1,2 +1,3 @@ RELEASE=4.13.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.13.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.13.0/Dockerfile index 2e627f603..31c115130 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.13.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.13.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.13.0/docker-compose.yml index c3a7a4eba..cb377d4c4 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.13.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.13.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.13.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.13.1/.env index a2e3ec4aa..54adfda65 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.13.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.13.1/.env @@ -1,2 +1,3 @@ RELEASE=4.13.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.13.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.13.1/Dockerfile index 133495e8f..f7d46235f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.13.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.13.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.13.1/docker-compose.yml index 9e8983a77..62dd2e314 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.13.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.13.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.0/.env index 374ecd778..c2fa13b4b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.0/.env @@ -1,2 +1,3 @@ RELEASE=4.14.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.0/Dockerfile index 4c2cea373..8b2b64cd6 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.0/docker-compose.yml index f3f6fc36c..0487eb9da 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.1/.env index 85780bc7a..4552ea925 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.1/.env @@ -1,2 +1,3 @@ RELEASE=4.14.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.1/Dockerfile index f3eba4319..2a729bcc4 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.1/docker-compose.yml index ec1c57e46..0f368a0fc 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.10/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.10/.env index d945a71e0..61b7aae8e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.10/.env @@ -1,2 +1,3 @@ RELEASE=4.14.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.10/Dockerfile index 0ba61931b..90c3cccc7 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.10/docker-compose.yml index 15bc9acab..e1318974b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.10" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.11/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.11/.env index e7bddf291..37a6bf2ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.11/.env @@ -1,2 +1,3 @@ RELEASE=4.14.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.11/Dockerfile index cde160eda..f60d8e7e4 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.11/docker-compose.yml index fd1d1f3db..85589ecac 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.11" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.12/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.12/.env index 12d9bb45a..cb4c9ecbb 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.12/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.12/.env @@ -1,2 +1,3 @@ RELEASE=4.14.12 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.12/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.12/Dockerfile index 9ce9a26ad..43a2c6e12 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.12/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.12/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.12/docker-compose.yml index 2ee5a3d90..f596edb60 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.12" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.2/.env index fe2baa1ea..ec389d97d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.2/.env @@ -1,2 +1,3 @@ RELEASE=4.14.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.2/Dockerfile index efb5afc78..f184b1fff 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.2/docker-compose.yml index a22fade17..d02c8da51 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.3/.env index 52b6b986b..4fcb35caf 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.3/.env @@ -1,2 +1,3 @@ RELEASE=4.14.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.3/Dockerfile index d5dd288c0..d4706af2b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.3/docker-compose.yml index 33dd6d83c..2dfaa9e94 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.4/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.4/.env index 86d714838..fd67e3c45 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.4/.env @@ -1,2 +1,3 @@ RELEASE=4.14.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.4/Dockerfile index 894f2f561..29887efec 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.4/docker-compose.yml index 3f988ec4b..b59c71157 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.4" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.5/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.5/.env index c8a41e102..c726fc37e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.5/.env @@ -1,2 +1,3 @@ RELEASE=4.14.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.5/Dockerfile index 9d625ae03..688289628 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.5/docker-compose.yml index 9956d9900..57cde39ec 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.5" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.6/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.6/.env index deae64208..873f4ed83 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.6/.env @@ -1,2 +1,3 @@ RELEASE=4.14.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.6/Dockerfile index 00379c833..f9844112a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.6/docker-compose.yml index af2f27731..39947f980 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.6" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.7/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.7/.env index 51372a456..5ed6dfea8 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.7/.env @@ -1,2 +1,3 @@ RELEASE=4.14.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.7/Dockerfile index a2fac9af2..ae31e2fc3 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.7/docker-compose.yml index 5f1a5431a..bf7c2ea0b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.7" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.8/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.8/.env index e5c37e351..67184ca0b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.8/.env @@ -1,2 +1,3 @@ RELEASE=4.14.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.8/Dockerfile index ac8143573..30fc1411e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.8/docker-compose.yml index b1b1544b8..dbe374f00 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.8" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.9/.env b/linux/ecosystem/atlassian/bitbucket/4/4.14.9/.env index b38e708af..12cd440ef 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.9/.env @@ -1,2 +1,3 @@ RELEASE=4.14.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.14.9/Dockerfile index c47dd1c1e..958513f26 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.14.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.14.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.14.9/docker-compose.yml index 7c6f67a78..ec660cd5b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.14.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.14.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.14.9" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.2.0/.env index 40ac7b4ed..92cabcd23 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.0/.env @@ -1,2 +1,3 @@ RELEASE=4.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.2.0/Dockerfile index a39cebfa6..a9e27d58f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.2.0/docker-compose.yml index 099db284d..3ab06f5b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.2.1/.env index 173ebbc84..ab20867a4 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.1/.env @@ -1,2 +1,3 @@ RELEASE=4.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.2.1/Dockerfile index fb145266e..b7f3dec59 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.2.1/docker-compose.yml index 37938be8f..c42d5e8ad 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.2.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.2.2/.env index 8a190e446..4d33156c1 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.2/.env @@ -1,2 +1,3 @@ RELEASE=4.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.2.2/Dockerfile index bb6199c53..aaef05ccb 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.2.2/docker-compose.yml index c0f754afe..f2fecb8f3 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.2.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.2.3/.env index 1cd92965c..907a9b810 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.3/.env @@ -1,2 +1,3 @@ RELEASE=4.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.2.3/Dockerfile index c0a2907b1..bc853fe62 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.2.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.2.3/docker-compose.yml index f54b2b77c..3a71c7c47 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.2.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.3.0/.env index b43244d77..da852a47e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.0/.env @@ -1,2 +1,3 @@ RELEASE=4.3.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.3.0/Dockerfile index e3717836d..32ac56f4e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.3.0/docker-compose.yml index 5ff38b3ef..19745bb31 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.3.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.3.1/.env index 2f26002cb..bf7cf5f48 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.1/.env @@ -1,2 +1,3 @@ RELEASE=4.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.3.1/Dockerfile index 384b9020e..195fb95cc 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.3.1/docker-compose.yml index c0b0b1156..1ab038617 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.3.2/.env index fe57a4b10..1a8635602 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.2/.env @@ -1,2 +1,3 @@ RELEASE=4.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.3.2/Dockerfile index 02589190a..164638f52 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.3.2/docker-compose.yml index 8f5acd7a7..d5f0faf6e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.3.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.3.3/.env index c16f11060..6d822a715 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.3/.env @@ -1,2 +1,3 @@ RELEASE=4.3.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.3.3/Dockerfile index 5e49c3faa..c6709f491 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.3.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.3.3/docker-compose.yml index 54064f600..653565346 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.3.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.4.0/.env index e54f8f005..3e03ba8bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.0/.env @@ -1,2 +1,3 @@ RELEASE=4.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.4.0/Dockerfile index 4164b4b6a..22d714827 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.4.0/docker-compose.yml index ae5cbf8fb..53ac56144 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.4.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.4.1/.env index 369f90243..585bbcc0e 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.1/.env @@ -1,2 +1,3 @@ RELEASE=4.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.4.1/Dockerfile index 93613437c..dfb35ab26 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.4.1/docker-compose.yml index 61b12108e..4c0ea5940 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.4.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.4.2/.env index af698ee5e..6b9d62fed 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.2/.env @@ -1,2 +1,3 @@ RELEASE=4.4.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.4.2/Dockerfile index ca4d9fe1f..abcc1edbd 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.4.2/docker-compose.yml index e3918580c..3e9d8b851 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.4.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.4/.env b/linux/ecosystem/atlassian/bitbucket/4/4.4.4/.env index 3c627dfa1..0d3a734c0 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.4/.env @@ -1,2 +1,3 @@ RELEASE=4.4.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.4.4/Dockerfile index c733a8028..eb0981e4f 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.4.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.4.4/docker-compose.yml index f4217309f..12a7c8bff 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.4.4" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.5.1/.env index 5710b7c3e..d47a2b747 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.1/.env @@ -1,2 +1,3 @@ RELEASE=4.5.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.5.1/Dockerfile index 113a19217..cbc28a38c 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.5.1/docker-compose.yml index 03232b4ee..69919e283 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.5.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.5.2/.env index 2a47e2ea5..86de65bea 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.2/.env @@ -1,2 +1,3 @@ RELEASE=4.5.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.5.2/Dockerfile index 0889f50e1..4ba304876 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.5.2/docker-compose.yml index 8e42d6003..6ebfb2287 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.5.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.5.3/.env index 577d827f4..7bab6d036 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.3/.env @@ -1,2 +1,3 @@ RELEASE=4.5.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.5.3/Dockerfile index 568ff5c4a..db9becc29 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.5.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.5.3/docker-compose.yml index f9b36c710..4d016e700 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.5.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.6.0/.env index a9d7f9a12..7a36df841 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.0/.env @@ -1,2 +1,3 @@ RELEASE=4.6.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.6.0/Dockerfile index 2c03cbf92..adc1750d3 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.6.0/docker-compose.yml index 138bb6cb1..790c01ff4 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.6.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.6.1/.env index c0d8dff38..d52b5c6f2 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.1/.env @@ -1,2 +1,3 @@ RELEASE=4.6.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.6.1/Dockerfile index 5287fb1d0..87747c73d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.6.1/docker-compose.yml index 9a248cf3c..37dd19ff1 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.6.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.6.2/.env index b17812e48..de5e6f386 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.2/.env @@ -1,2 +1,3 @@ RELEASE=4.6.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.6.2/Dockerfile index 84cbbdfc9..40ac3f00a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.6.2/docker-compose.yml index f4931d2d6..ae44f12a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.6.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.6.3/.env index 5c5c9cf2b..b55567504 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.3/.env @@ -1,2 +1,3 @@ RELEASE=4.6.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.6.3/Dockerfile index 902d9b135..68a502622 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.6.3/docker-compose.yml index 1efd4778c..e697906b8 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.6.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.4/.env b/linux/ecosystem/atlassian/bitbucket/4/4.6.4/.env index e9b152c15..94ca14dff 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.4/.env @@ -1,2 +1,3 @@ RELEASE=4.6.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.6.4/Dockerfile index b2d36bc76..651cbc24a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.6.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.6.4/docker-compose.yml index 3005dc3de..d268e7ee7 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.6.4" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.7.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.7.1/.env index 36c27d1bb..b721380ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.7.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.7.1/.env @@ -1,2 +1,3 @@ RELEASE=4.7.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.7.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.7.1/Dockerfile index e74dad11f..9050aa28d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.7.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.7.1/docker-compose.yml index 0ceeb53cd..a4197996d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.7.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.7.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.7.2/.env index 08e626c8e..e35e2b867 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.7.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.7.2/.env @@ -1,2 +1,3 @@ RELEASE=4.7.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.7.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.7.2/Dockerfile index d262d8207..ebb7a3e96 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.7.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.7.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.7.2/docker-compose.yml index a3f7b7d59..c209a50ac 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.7.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.8.0/.env index 2869b0c1b..3d4590d67 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.0/.env @@ -1,2 +1,3 @@ RELEASE=4.8.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.8.0/Dockerfile index a1c8166d3..b6dfb0510 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.8.0/docker-compose.yml index 809bbd257..dfcf8d09a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.8.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.8.1/.env index deec9cfb0..402556ade 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.1/.env @@ -1,2 +1,3 @@ RELEASE=4.8.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.8.1/Dockerfile index cff4de8db..e9225427b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.8.1/docker-compose.yml index 5e4851425..6ecc8d7de 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.8.1" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.2/.env b/linux/ecosystem/atlassian/bitbucket/4/4.8.2/.env index d820a70b8..4cbccc73c 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.2/.env @@ -1,2 +1,3 @@ RELEASE=4.8.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.8.2/Dockerfile index e977bbaf0..c31dc18aa 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.8.2/docker-compose.yml index 159106199..dc47e1dbb 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.8.2" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.3/.env b/linux/ecosystem/atlassian/bitbucket/4/4.8.3/.env index d05ea062e..46bbfefc7 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.3/.env @@ -1,2 +1,3 @@ RELEASE=4.8.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.8.3/Dockerfile index 2a0a42dc4..04d8477f1 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.8.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.8.3/docker-compose.yml index 3abb1ec3b..a460acdba 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.8.3" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.4/.env b/linux/ecosystem/atlassian/bitbucket/4/4.8.4/.env index a3e087b99..0d4e40211 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.4/.env @@ -1,2 +1,3 @@ RELEASE=4.8.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.8.4/Dockerfile index 0eb567242..f1d8a331d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.8.4/docker-compose.yml index 6cb14ebf6..e769a3f8b 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.8.4" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.5/.env b/linux/ecosystem/atlassian/bitbucket/4/4.8.5/.env index bcef8e07f..34a00c7cd 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.5/.env @@ -1,2 +1,3 @@ RELEASE=4.8.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.8.5/Dockerfile index fa1c25246..e7ecf7f99 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.8.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.8.5/docker-compose.yml index 86dc60f0c..d8fbeeb09 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.8.5" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.6/.env b/linux/ecosystem/atlassian/bitbucket/4/4.8.6/.env index a2132a1aa..edf34d5fc 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.6/.env @@ -1,2 +1,3 @@ RELEASE=4.8.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.8.6/Dockerfile index d030b9cfb..bdab9a378 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.8.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.8.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.8.6/docker-compose.yml index dac3944a5..ee7141260 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.8.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.8.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.8.6" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.9.0/.env b/linux/ecosystem/atlassian/bitbucket/4/4.9.0/.env index b3d01a696..aa4570e2d 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.9.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.9.0/.env @@ -1,2 +1,3 @@ RELEASE=4.9.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.9.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.9.0/Dockerfile index 8929cb415..ebb4d1f8a 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.9.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.9.0/docker-compose.yml index eacee17e9..6d596c4c3 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.9.0" diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.9.1/.env b/linux/ecosystem/atlassian/bitbucket/4/4.9.1/.env index cd66a2bc1..5ba31a2ef 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.9.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/4/4.9.1/.env @@ -1,2 +1,3 @@ RELEASE=4.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.9.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/4/4.9.1/Dockerfile index d48dcf184..6db2a3ad2 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/4/4.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/4/4.9.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/4/4.9.1/docker-compose.yml index d6bda4e55..192c92d39 100644 --- a/linux/ecosystem/atlassian/bitbucket/4/4.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/4/4.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:4.9.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.10/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.10/.env index 3e84a22e7..75a930872 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.10/.env @@ -1,2 +1,3 @@ RELEASE=5.0.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.10/Dockerfile index f6a0df504..7e1fe146d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.10/docker-compose.yml index b4b1dd7f6..315799eb8 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.10" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.2/.env index 43f6816d7..87c145f29 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.2/.env @@ -1,2 +1,3 @@ RELEASE=5.0.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.2/Dockerfile index bffd2a06b..8c61504df 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.2/docker-compose.yml index 1bf7e13ba..83be5ecb6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.4/.env index c3bb0c557..4e1bf9924 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.4/.env @@ -1,2 +1,3 @@ RELEASE=5.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.4/Dockerfile index 39ba5626e..0fceaf9b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.4/docker-compose.yml index c4bc42952..a187f4b8f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.5/.env index d43e51773..959ab2f00 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.5/.env @@ -1,2 +1,3 @@ RELEASE=5.0.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.5/Dockerfile index ec755ae8c..b1c8ae3c4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.5/docker-compose.yml index f398071ef..4f3c5e2d6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.6/.env index 76350aa73..6c0a2086c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.6/.env @@ -1,2 +1,3 @@ RELEASE=5.0.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.6/Dockerfile index b4dd6fa08..20d6f0048 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.6/docker-compose.yml index f013370d9..cdd0554a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.7/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.7/.env index 480424f46..b154bf639 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.7/.env @@ -1,2 +1,3 @@ RELEASE=5.0.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.7/Dockerfile index 1e731a57a..31a6fa17d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.7/docker-compose.yml index 8f695bd7f..062e9931b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.7" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.8/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.8/.env index 19aaceee6..f76180aea 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.8/.env @@ -1,2 +1,3 @@ RELEASE=5.0.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.8/Dockerfile index 1b40e42b9..1701e4c5d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.8/docker-compose.yml index d4e7ff5ba..eca8c80da 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.8" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.9/.env b/linux/ecosystem/atlassian/bitbucket/5/5.0.9/.env index a7d43e362..3d40b6a8f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.9/.env @@ -1,2 +1,3 @@ RELEASE=5.0.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.0.9/Dockerfile index 8f9cbc10d..abf52efc1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.0.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.0.9/docker-compose.yml index 021ff05cc..77a3d8035 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.0.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.0.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.0.9" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.1/.env index 5f5e5cd2d..9e8dc4c26 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.1/.env @@ -1,2 +1,3 @@ RELEASE=5.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.1/Dockerfile index 4317279f8..559f30da2 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.1/docker-compose.yml index 0bdb02744..b1bd059bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.2/.env index 83be28f76..ee74699ad 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.2/.env @@ -1,2 +1,3 @@ RELEASE=5.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.2/Dockerfile index 9d36f26a7..6cb598414 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.2/docker-compose.yml index c2134312e..a4cb3852f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.3/.env index 7f373a63c..b3f3cfc60 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.3/.env @@ -1,2 +1,3 @@ RELEASE=5.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.3/Dockerfile index 7070b4722..6c7e807d6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.3/docker-compose.yml index d88318d54..1c9828b9b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.4/.env index 333d786e1..0c681de6c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.4/.env @@ -1,2 +1,3 @@ RELEASE=5.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.4/Dockerfile index 977d86442..cd1c33271 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.4/docker-compose.yml index a979ce754..7b538fc0b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.5/.env index ceb2299e4..b2d744417 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.5/.env @@ -1,2 +1,3 @@ RELEASE=5.1.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.5/Dockerfile index 2236b7ff7..16664bffe 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.5/docker-compose.yml index 59e0824db..cabc4eaa1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.6/.env index 02de80387..6ddb273f7 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.6/.env @@ -1,2 +1,3 @@ RELEASE=5.1.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.6/Dockerfile index ab1824514..20c25e6e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.6/docker-compose.yml index ea9f293f6..cd9d5d65f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.7/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.7/.env index 8379c3b81..03b9c53f3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.7/.env @@ -1,2 +1,3 @@ RELEASE=5.1.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.7/Dockerfile index 2fd6a1101..3a39a392b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.7/docker-compose.yml index 610b215da..d64e969f6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.7" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.8/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.8/.env index 9261cc87b..9dd00ca9c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.8/.env @@ -1,2 +1,3 @@ RELEASE=5.1.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.8/Dockerfile index dd3406dd8..422097cc0 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.8/docker-compose.yml index e0a7d7a7b..ccd1ef4cf 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.8" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.9/.env b/linux/ecosystem/atlassian/bitbucket/5/5.1.9/.env index ab31a166c..f22021675 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.9/.env @@ -1,2 +1,3 @@ RELEASE=5.1.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.1.9/Dockerfile index e2fcb30a0..3c0ffa702 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.1.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.1.9/docker-compose.yml index 47ba5659c..15ad91947 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.1.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.1.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.1.9" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.10.0/.env index 0e6158500..3cba00e98 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.0/.env @@ -1,2 +1,3 @@ RELEASE=5.10.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.10.0/Dockerfile index c3f55b5aa..f621b4aae 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.10.0/docker-compose.yml index f69e89e27..3b531d599 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.10.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.10.1/.env index 5ddd5d8d1..cae3d24d6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.1/.env @@ -1,2 +1,3 @@ RELEASE=5.10.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.10.1/Dockerfile index 839710bbe..525223bb0 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.10.1/docker-compose.yml index 1f038b300..6c6a84c74 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.10.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.10.2/.env index 8a8ee5eca..9a1e24eb3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.2/.env @@ -1,2 +1,3 @@ RELEASE=5.10.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.10.2/Dockerfile index b63ce23c2..5e12e69ec 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.10.2/docker-compose.yml index 88029c6ff..a569303f3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.10.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.10.3/.env index eb1e1de4e..d49111fee 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.3/.env @@ -1,2 +1,3 @@ RELEASE=5.10.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.10.3/Dockerfile index daf9d6ddc..d4bf59729 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.10.3/docker-compose.yml index 7931a5a14..8483eaf7e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.10.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.10.4/.env index 289b5b717..db375d4f4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.4/.env @@ -1,2 +1,3 @@ RELEASE=5.10.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.10.4/Dockerfile index e53c84b20..2b82aeb70 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.10.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.10.4/docker-compose.yml index 5e8e1614b..de5f0ff24 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.10.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.10.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.10.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.11.1/.env index db3cf3d66..70051990e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.1/.env @@ -1,2 +1,3 @@ RELEASE=5.11.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.11.1/Dockerfile index bf7c0a962..946994e79 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.11.1/docker-compose.yml index 2081a505a..ba662022c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.11.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.11.2/.env index 4281c86b6..ba4aa9437 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.2/.env @@ -1,2 +1,3 @@ RELEASE=5.11.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.11.2/Dockerfile index 3c1ee896e..35340b058 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.11.2/docker-compose.yml index 8beb8066c..3ee9d0956 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.11.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.11.3/.env index e86fb583d..737a59163 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.3/.env @@ -1,2 +1,3 @@ RELEASE=5.11.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.11.3/Dockerfile index 1ad941370..c7934d885 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.11.3/docker-compose.yml index 751487dd1..a0affe887 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.11.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.11.4/.env index a59994e67..de2b5b565 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.4/.env @@ -1,2 +1,3 @@ RELEASE=5.11.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.11.4/Dockerfile index 70158b50b..8d1586c69 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.11.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.11.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.11.4/docker-compose.yml index 91b181f59..428080680 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.11.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.11.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.11.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.12.0/.env index 691a04742..0cecfc302 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.0/.env @@ -1,2 +1,3 @@ RELEASE=5.12.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.12.0/Dockerfile index ea2009aab..460b7715a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.12.0/docker-compose.yml index 101c4f827..162d9f6b6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.12.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.12.1/.env index d314cde82..fe4bc0f39 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.1/.env @@ -1,2 +1,3 @@ RELEASE=5.12.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.12.1/Dockerfile index e7623036e..8b9477d6d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.12.1/docker-compose.yml index bdba45aec..ecbceb127 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.12.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.12.2/.env index 5c9e707c6..06a1b7255 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.2/.env @@ -1,2 +1,3 @@ RELEASE=5.12.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.12.2/Dockerfile index 0c5f07ac3..05b53d0d9 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.12.2/docker-compose.yml index 2b2498285..20dded02e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.12.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.12.3/.env index 32b11c706..dc1fe8b84 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.3/.env @@ -1,2 +1,3 @@ RELEASE=5.12.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.12.3/Dockerfile index 11a1479d1..1e219b8d2 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.12.3/docker-compose.yml index a063b31e9..801305f7d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.12.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.12.4/.env index 1e8d716d5..cdf16af13 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.4/.env @@ -1,2 +1,3 @@ RELEASE=5.12.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.12.4/Dockerfile index 039908e4f..98a5b7831 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.12.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.12.4/docker-compose.yml index 81df05422..442548aed 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.12.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.12.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.12.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.13.0/.env index 2a84ce565..95c997831 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.0/.env @@ -1,2 +1,3 @@ RELEASE=5.13.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.13.0/Dockerfile index 36e4779c6..01815935a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.13.0/docker-compose.yml index 05acacdb0..885346602 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.13.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.13.1/.env index fc5141cd8..82958c8df 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.1/.env @@ -1,2 +1,3 @@ RELEASE=5.13.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.13.1/Dockerfile index 6dbcd1a56..78ae4d58a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.13.1/docker-compose.yml index d4191c85a..c724cf8b6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.13.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.13.3/.env index 2131c69f2..0d2786286 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.3/.env @@ -1,2 +1,3 @@ RELEASE=5.13.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.13.3/Dockerfile index 8c47a7d3d..a0f7c7aae 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.13.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.13.3/docker-compose.yml index 455937b37..356926870 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.13.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.13.4/.env index 0e1dc70bf..e3bb06948 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.4/.env @@ -1,2 +1,3 @@ RELEASE=5.13.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.13.4/Dockerfile index b48933aa5..1f4b49376 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.13.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.13.4/docker-compose.yml index 5be237571..9df4e02c2 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.13.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.13.5/.env index 304d82526..d17f8e888 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.5/.env @@ -1,2 +1,3 @@ RELEASE=5.13.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.13.5/Dockerfile index 507048fb0..385e77f07 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.13.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.13.5/docker-compose.yml index 633424455..391a2dd96 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.13.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.13.6/.env index 14727af4f..1272fc113 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.6/.env @@ -1,2 +1,3 @@ RELEASE=5.13.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.13.6/Dockerfile index 2756dd2d4..05cef44c4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.13.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.13.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.13.6/docker-compose.yml index 60b75cdb6..220b0bc8a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.13.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.13.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.13.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.14.0/.env index eeb7925f5..604025ed3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.0/.env @@ -1,2 +1,3 @@ RELEASE=5.14.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.14.0/Dockerfile index 27b45f63c..8185ca708 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.14.0/docker-compose.yml index 50073de26..15c2b5f25 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.14.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.14.1/.env index 32eb62e87..7792fd17a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.1/.env @@ -1,2 +1,3 @@ RELEASE=5.14.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.14.1/Dockerfile index 406f6628a..931da4110 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.14.1/docker-compose.yml index dd8927f08..a9abd0f65 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.14.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.14.2/.env index 751364a09..ca73ac095 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.2/.env @@ -1,2 +1,3 @@ RELEASE=5.14.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.14.2/Dockerfile index 7213cebfe..ef76e6c23 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.14.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.14.2/docker-compose.yml index 16d4b185e..499de2e51 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.14.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.14.3/.env index b8a0c51e1..cc20ad691 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.3/.env @@ -1,2 +1,3 @@ RELEASE=5.14.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.14.3/Dockerfile index 946b903f8..dc07d596c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.14.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.14.3/docker-compose.yml index 8475ba924..a90c3671f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.14.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.14.4/.env index d9236d15f..ff068945c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.4/.env @@ -1,2 +1,3 @@ RELEASE=5.14.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.14.4/Dockerfile index 33cb689f5..b519917bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.14.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.14.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.14.4/docker-compose.yml index 49a4cc39b..3b5404161 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.14.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.14.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.14.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.15.0/.env index 5e1bdd29a..d78b18da9 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.0/.env @@ -1,2 +1,3 @@ RELEASE=5.15.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.15.0/Dockerfile index f0b5daa34..eeac6fe32 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.15.0/docker-compose.yml index d3c42b865..297273e2c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.15.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.15.1/.env index 4dbcf5230..c272e6cea 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.1/.env @@ -1,2 +1,3 @@ RELEASE=5.15.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.15.1/Dockerfile index cf52eb3c5..da3b66dc5 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.15.1/docker-compose.yml index 0dbb92b97..9d088da5a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.15.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.15.2/.env index d4f77bc81..8bfc8d07e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.2/.env @@ -1,2 +1,3 @@ RELEASE=5.15.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.15.2/Dockerfile index 9cae2eedf..3335b90fb 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.15.2/docker-compose.yml index 5f910b94b..7b4c8b7fd 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.15.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.15.3/.env index c1c0065f3..3e3f44809 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.3/.env @@ -1,2 +1,3 @@ RELEASE=5.15.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.15.3/Dockerfile index 7d684cc43..04f585b93 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.15.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.15.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.15.3/docker-compose.yml index 02515c0de..18a86ac6f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.15.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.15.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.15.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.0/.env index 5e455a5f5..5b739cb0e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.0/.env @@ -1,2 +1,3 @@ RELEASE=5.16.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.0/Dockerfile index 74d174a60..834c7ae5f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.0/docker-compose.yml index f933a1d72..272324763 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.1/.env index a5bf7512b..fdeb20e1b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.1/.env @@ -1,2 +1,3 @@ RELEASE=5.16.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.1/Dockerfile index b90161296..2fbaacac6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.1/docker-compose.yml index 032955264..4cb8bed1c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.10/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.10/.env index 20e647117..16f0b1680 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.10/.env @@ -1,2 +1,3 @@ RELEASE=5.16.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.10/Dockerfile index 861b5235c..88c7ab830 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.10/docker-compose.yml index dc9989af9..a4073df7c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.10" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.11/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.11/.env index a941bc30f..ad9e2e065 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.11/.env @@ -1,2 +1,3 @@ RELEASE=5.16.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.11/Dockerfile index 0b00bc621..ec261bc06 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.11/docker-compose.yml index 89f71a699..b17497dd5 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.11" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.2/.env index ad7ce60d3..2720b4d36 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.2/.env @@ -1,2 +1,3 @@ RELEASE=5.16.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.2/Dockerfile index 4980e53dd..f0fbca222 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.2/docker-compose.yml index 24f5f1f82..8b7880e11 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.3/.env index 870340dae..59f311064 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.3/.env @@ -1,2 +1,3 @@ RELEASE=5.16.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.3/Dockerfile index 03556cdf5..4dbe24416 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.3/docker-compose.yml index b140d4adc..9f234387a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.4/.env index 5bc49eb80..3a76d860d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.4/.env @@ -1,2 +1,3 @@ RELEASE=5.16.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.4/Dockerfile index dd4aa5474..1a7ed581b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.4/docker-compose.yml index 5ac6abe2e..d6ba30a65 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.5/.env index 7b1a45eea..0872f3879 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.5/.env @@ -1,2 +1,3 @@ RELEASE=5.16.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.5/Dockerfile index 2e6ea0626..fa8c76c09 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.5/docker-compose.yml index 537c57a8f..e4e2cefa1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.6/.env index 3679a41f2..f1cc84572 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.6/.env @@ -1,2 +1,3 @@ RELEASE=5.16.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.6/Dockerfile index 1525982f1..f8d90052e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.6/docker-compose.yml index a680c1af2..2a4959569 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.7/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.7/.env index 7b8e1c737..573928f4d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.7/.env @@ -1,2 +1,3 @@ RELEASE=5.16.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.7/Dockerfile index 2fcf0e14b..0f1bc90d4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.7/docker-compose.yml index 75ae3b0fc..79fb47036 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.7" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.8/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.8/.env index b5abebc90..06ec398e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.8/.env @@ -1,2 +1,3 @@ RELEASE=5.16.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.8/Dockerfile index d8c568337..3f1dccb59 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.8/docker-compose.yml index a01cb93b1..e95e750ae 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.8" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.9/.env b/linux/ecosystem/atlassian/bitbucket/5/5.16.9/.env index 4451207a5..31bbcf829 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.9/.env @@ -1,2 +1,3 @@ RELEASE=5.16.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.16.9/Dockerfile index cc5c4740f..754ee969a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.16.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.16.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.16.9/docker-compose.yml index 64717f82d..02d41ccf5 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.16.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.16.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.16.9" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.0/.env index cdb6534cd..b558ba7c7 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.0/.env @@ -1,2 +1,3 @@ RELEASE=5.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.0/Dockerfile index df7c8e99b..00182f46d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.0/docker-compose.yml index e02170a53..ce0f16255 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.1/.env index 2a98a625c..7cf868ddb 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.1/.env @@ -1,2 +1,3 @@ RELEASE=5.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.1/Dockerfile index b4b27a31c..c2e2b5a5a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.1/docker-compose.yml index b65292638..0ad665e7e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.2/.env index 922e24da4..575603c5a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.2/.env @@ -1,2 +1,3 @@ RELEASE=5.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.2/Dockerfile index 95c2a2cca..0e09cc451 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.2/docker-compose.yml index 6109c1f43..4e7c21cb9 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.3/.env index 9885fd393..dca8d960e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.3/.env @@ -1,2 +1,3 @@ RELEASE=5.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.3/Dockerfile index 933166831..b12f5c871 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.3/docker-compose.yml index 4346f0146..f2e054bb6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.4/.env index 7bdd645e7..60429f9d2 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.4/.env @@ -1,2 +1,3 @@ RELEASE=5.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.4/Dockerfile index dfebb5020..ab3dc58f9 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.4/docker-compose.yml index ae58daf00..0bf6ad357 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.5/.env index 5862ca9ad..cb9e35c4a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.5/.env @@ -1,2 +1,3 @@ RELEASE=5.2.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.5/Dockerfile index 518e21670..13b196922 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.5/docker-compose.yml index 8137a59f9..9394ab904 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.6/.env index afb0f0a90..39aec5dd1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.6/.env @@ -1,2 +1,3 @@ RELEASE=5.2.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.6/Dockerfile index 033c3fe87..7a019cabb 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.6/docker-compose.yml index 90ee78076..26f1fa899 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.7/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.7/.env index df227e0f4..6492f1719 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.7/.env @@ -1,2 +1,3 @@ RELEASE=5.2.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.7/Dockerfile index f853e2e84..d01e57fb1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.7/docker-compose.yml index 47eedd1f5..5f5246eea 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.7" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.8/.env b/linux/ecosystem/atlassian/bitbucket/5/5.2.8/.env index 6b272ea62..edb9883e4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.8/.env @@ -1,2 +1,3 @@ RELEASE=5.2.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.2.8/Dockerfile index deda5c1d3..21b1c8e49 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.2.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.2.8/docker-compose.yml index 7d2c93fea..73d4cbe9e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.2.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.2.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.2.8" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.0/.env index 44993a70d..346d81f57 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.0/.env @@ -1,2 +1,3 @@ RELEASE=5.3.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.0/Dockerfile index 8496716d9..f882e8c39 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.0/docker-compose.yml index a49f99b8c..dcded3d86 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.1/.env index 273752070..92786933c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.1/.env @@ -1,2 +1,3 @@ RELEASE=5.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.1/Dockerfile index 4113ae673..6411285a1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.1/docker-compose.yml index 11b0dc758..ba342bf96 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.2/.env index 09395b203..df2605382 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.2/.env @@ -1,2 +1,3 @@ RELEASE=5.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.2/Dockerfile index 08b67f7a2..2d283b086 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.2/docker-compose.yml index 7995f79cb..b7a5ffec0 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.3/.env index 2705f547f..789acbcc4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.3/.env @@ -1,2 +1,3 @@ RELEASE=5.3.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.3/Dockerfile index a28acfa9a..e54ffdf18 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.3/docker-compose.yml index 5ba014459..96462e72c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.4/.env index 0da914e6f..0a54f5b99 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.4/.env @@ -1,2 +1,3 @@ RELEASE=5.3.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.4/Dockerfile index 5d2da06a7..76f7f1a14 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.4/docker-compose.yml index 348475d00..e96c26305 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.5/.env index 0780c4b62..db37324a5 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.5/.env @@ -1,2 +1,3 @@ RELEASE=5.3.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.5/Dockerfile index 0f8e5015b..1e937e10d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.5/docker-compose.yml index 4a00951ee..f95ac21b5 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.6/.env index f566ea593..06298ce6d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.6/.env @@ -1,2 +1,3 @@ RELEASE=5.3.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.6/Dockerfile index 75ed0e0fa..42cbfcce1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.6/docker-compose.yml index cfdc703ef..17e4b9651 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.7/.env b/linux/ecosystem/atlassian/bitbucket/5/5.3.7/.env index 5a0d42cba..57b2263a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.7/.env @@ -1,2 +1,3 @@ RELEASE=5.3.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.3.7/Dockerfile index 5a3a587ff..39b820b44 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.3.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.3.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.3.7/docker-compose.yml index f90092557..5e4900858 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.3.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.3.7" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.0/.env index 9e8735607..92e8d8d46 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.0/.env @@ -1,2 +1,3 @@ RELEASE=5.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.0/Dockerfile index 122dfc0d8..f26ff4205 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.0/docker-compose.yml index 35ff0fe22..dfefab0bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.1/.env index 8b99ba590..3903b6e46 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.1/.env @@ -1,2 +1,3 @@ RELEASE=5.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.1/Dockerfile index 8ca339a76..914a0f150 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.1/docker-compose.yml index da5ef0945..49cfd7102 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.2/.env index 9f3a8ff67..b60754211 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.2/.env @@ -1,2 +1,3 @@ RELEASE=5.4.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.2/Dockerfile index e562a00f4..38b5d130a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.2/docker-compose.yml index f2b6f9dab..3c6b7b33c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.3/.env index 5a67008c6..6f5a572dc 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.3/.env @@ -1,2 +1,3 @@ RELEASE=5.4.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.3/Dockerfile index 447ff05a6..158776b6c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.3/docker-compose.yml index c0a1ed642..2ebb68e88 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.4/.env index afbd11eb5..a81f2602f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.4/.env @@ -1,2 +1,3 @@ RELEASE=5.4.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.4/Dockerfile index 55b07a5f7..ffd0a461e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.4/docker-compose.yml index 6218cfde7..894f7a50b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.6/.env index 05548fcb8..83327e70c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.6/.env @@ -1,2 +1,3 @@ RELEASE=5.4.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.6/Dockerfile index cab076e38..aafb52ad2 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.6/docker-compose.yml index f68f8286f..da25352f7 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.7/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.7/.env index b292d68df..cf3cfa98c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.7/.env @@ -1,2 +1,3 @@ RELEASE=5.4.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.7/Dockerfile index 7f975ddd4..507101965 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.7/docker-compose.yml index d0ec03dd4..c0ee15705 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.7" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.8/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.8/.env index 066a965b0..bbd21c435 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.8/.env @@ -1,2 +1,3 @@ RELEASE=5.4.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.8/Dockerfile index 0e44b92f0..289d0f468 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.8/docker-compose.yml index dfb5f5462..3ef14a0fd 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.8" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.9/.env b/linux/ecosystem/atlassian/bitbucket/5/5.4.9/.env index e4690cb62..c051c87d3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.9/.env @@ -1,2 +1,3 @@ RELEASE=5.4.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.4.9/Dockerfile index 2b12eed9a..5b1199b2c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.4.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.4.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.4.9/docker-compose.yml index 98035b2b9..ca06b5cd1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.4.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.4.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.4.9" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.0/.env index 7fc40b99b..22d6e62bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.0/.env @@ -1,2 +1,3 @@ RELEASE=5.5.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.0/Dockerfile index dc519daaf..b783d5ea3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.0/docker-compose.yml index 621455245..b43713053 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.1/.env index ef41b1d7a..119391f1a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.1/.env @@ -1,2 +1,3 @@ RELEASE=5.5.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.1/Dockerfile index f09189dee..362064c21 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.1/docker-compose.yml index 8a1e37626..f573de47b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.2/.env index dfc19e9ff..fb1f45de8 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.2/.env @@ -1,2 +1,3 @@ RELEASE=5.5.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.2/Dockerfile index 6ad9b4e5a..0fcd5d5be 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.2/docker-compose.yml index 0030828f9..2cd9ce74f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.3/.env index e73f7c664..0366c0df7 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.3/.env @@ -1,2 +1,3 @@ RELEASE=5.5.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.3/Dockerfile index 6eaeed292..28bf12b22 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.3/docker-compose.yml index b087938cf..3952f8075 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.4/.env index d5df5c1be..1b0c30eb6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.4/.env @@ -1,2 +1,3 @@ RELEASE=5.5.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.4/Dockerfile index 08f8ba83d..e353c467c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.4/docker-compose.yml index e6f90b6ec..872f0cfe7 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.5/.env index da9595ac0..518215d88 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.5/.env @@ -1,2 +1,3 @@ RELEASE=5.5.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.5/Dockerfile index 7ac425f14..bb6b19278 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.5/docker-compose.yml index 5c860778e..b032f9879 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.6/.env index 6c8f7eb9a..3cd94038b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.6/.env @@ -1,2 +1,3 @@ RELEASE=5.5.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.6/Dockerfile index d2dd900b2..b2020716b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.6/docker-compose.yml index a9896d233..b7c4e9743 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.7/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.7/.env index 2103b1ea3..46b5f8bd9 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.7/.env @@ -1,2 +1,3 @@ RELEASE=5.5.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.7/Dockerfile index 123c17655..9d4f5a1ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.7/docker-compose.yml index 6945ab233..a770d26ca 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.7" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.8/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.8/.env index c7e0888ce..69d3afe04 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.8/.env @@ -1,2 +1,3 @@ RELEASE=5.5.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.8/Dockerfile index a3424af0e..366c5e7fe 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.8/docker-compose.yml index f0e2d9926..26f8ffd84 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.8" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.9/.env b/linux/ecosystem/atlassian/bitbucket/5/5.5.9/.env index 613e63506..0cdd802b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.9/.env @@ -1,2 +1,3 @@ RELEASE=5.5.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.5.9/Dockerfile index 3d5cbd223..01892938e 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.5.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.5.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.5.9/docker-compose.yml index b0d914fb9..b87c95140 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.5.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.5.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.5.9" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.6.1/.env index 8454d57ec..05ff4711b 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.1/.env @@ -1,2 +1,3 @@ RELEASE=5.6.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.6.1/Dockerfile index 4975d426e..1ac552876 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.6.1/docker-compose.yml index b8d6d44d3..27abad96d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.6.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.6.2/.env index 692171a01..7b91aa08f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.2/.env @@ -1,2 +1,3 @@ RELEASE=5.6.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.6.2/Dockerfile index 1832472f8..5a73d614c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.6.2/docker-compose.yml index 0b3a11b55..c6d486fa1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.6.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.6.3/.env index 8840a42a6..2cb2354e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.3/.env @@ -1,2 +1,3 @@ RELEASE=5.6.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.6.3/Dockerfile index 1ecbf0d8b..4b9e147a6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.6.3/docker-compose.yml index 6b311b2bd..4aed0d491 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.6.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.6.4/.env index 6614a225b..397ffbcfd 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.4/.env @@ -1,2 +1,3 @@ RELEASE=5.6.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.6.4/Dockerfile index 31656ab72..acf0131bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.6.4/docker-compose.yml index 3669f9c5e..eb7abdb6f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.6.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.5/.env b/linux/ecosystem/atlassian/bitbucket/5/5.6.5/.env index 6a2141123..1120456bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.5/.env @@ -1,2 +1,3 @@ RELEASE=5.6.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.6.5/Dockerfile index 951f6816a..6de6ef6e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.6.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.6.5/docker-compose.yml index e68c7601d..2775f8e4a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.6.5" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.6/.env b/linux/ecosystem/atlassian/bitbucket/5/5.6.6/.env index 1a9460773..f33538bf7 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.6/.env @@ -1,2 +1,3 @@ RELEASE=5.6.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.6.6/Dockerfile index f6a33e862..3567ae230 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.6.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.6.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.6.6/docker-compose.yml index 92785d80a..1245c65b4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.6.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.6.6" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.7.0/.env index c171c4206..ce10ea95c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.0/.env @@ -1,2 +1,3 @@ RELEASE=5.7.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.7.0/Dockerfile index 4b0334642..a613157a8 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.7.0/docker-compose.yml index e3c7e7bbb..e6c5a5047 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.7.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.7.1/.env index 34d8e98dc..cc15ff246 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.1/.env @@ -1,2 +1,3 @@ RELEASE=5.7.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.7.1/Dockerfile index 596886b36..41dc488f1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.7.1/docker-compose.yml index 08d866c29..f64bbd699 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.7.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.7.2/.env index 0751cec18..e33065a0d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.2/.env @@ -1,2 +1,3 @@ RELEASE=5.7.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.7.2/Dockerfile index bb4f19a4d..928b8134c 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.7.2/docker-compose.yml index eef0417d2..24b887092 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.7.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.7.3/.env index ddd320917..41e9f5db1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.3/.env @@ -1,2 +1,3 @@ RELEASE=5.7.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.7.3/Dockerfile index 53afacaa8..06a3fae15 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.7.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.7.3/docker-compose.yml index ebe29a258..4ccbdae2f 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.7.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.7.4/.env index 1c242fd58..45dedd6f6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.4/.env @@ -1,2 +1,3 @@ RELEASE=5.7.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.7.4/Dockerfile index 7c33962c0..d9fabecd5 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.7.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.7.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.7.4/docker-compose.yml index 407853c64..a75fae024 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.7.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.7.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.8.0/.env index 5ea8740c8..c4e5bb1c0 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.0/.env @@ -1,2 +1,3 @@ RELEASE=5.8.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.8.0/Dockerfile index 17d915280..48e16eafa 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.8.0/docker-compose.yml index 4efeedc83..5adf341f9 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.8.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.8.1/.env index 7f7f4c555..b8b7eda3a 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.1/.env @@ -1,2 +1,3 @@ RELEASE=5.8.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.8.1/Dockerfile index dd4201e46..6249128c6 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.8.1/docker-compose.yml index 9979a0085..bae78bd3d 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.8.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.8.2/.env index ca2814938..34e2b0296 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.2/.env @@ -1,2 +1,3 @@ RELEASE=5.8.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.8.2/Dockerfile index f16649c02..fc1f39861 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.8.2/docker-compose.yml index 627c7c404..98823cf05 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.8.2" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.3/.env b/linux/ecosystem/atlassian/bitbucket/5/5.8.3/.env index 4acaa36b5..b51753682 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.3/.env @@ -1,2 +1,3 @@ RELEASE=5.8.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.8.3/Dockerfile index 3ecff85ea..5ea4c59bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.8.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.8.3/docker-compose.yml index 55e5b5173..84473c141 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.8.3" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.4/.env b/linux/ecosystem/atlassian/bitbucket/5/5.8.4/.env index 22434d0e9..7c6a220c7 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.4/.env @@ -1,2 +1,3 @@ RELEASE=5.8.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.8.4/Dockerfile index d4fa05481..07f80bdd2 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.8.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.8.4/docker-compose.yml index 87095753f..97a439e92 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.8.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.8.4" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.0/.env b/linux/ecosystem/atlassian/bitbucket/5/5.9.0/.env index 693292b7e..c7b063fba 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.0/.env @@ -1,2 +1,3 @@ RELEASE=5.9.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.9.0/Dockerfile index 9897cccf8..1e5fc5a81 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.9.0/docker-compose.yml index e8cc9140e..1acef4402 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.9.0" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.1/.env b/linux/ecosystem/atlassian/bitbucket/5/5.9.1/.env index 50243567d..e4c39bbf1 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.1/.env @@ -1,2 +1,3 @@ RELEASE=5.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.9.1/Dockerfile index 45cc1f722..3ca164cee 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.9.1/docker-compose.yml index 503cf0a4f..52f29f769 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.9.1" diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.2/.env b/linux/ecosystem/atlassian/bitbucket/5/5.9.2/.env index ef17a5997..7478267a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.2/.env @@ -1,2 +1,3 @@ RELEASE=5.9.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/5/5.9.2/Dockerfile index 753d82f70..fa57bedf3 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/5/5.9.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/5/5.9.2/docker-compose.yml index 020287f48..dd53e75f4 100644 --- a/linux/ecosystem/atlassian/bitbucket/5/5.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/5/5.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:5.9.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/.env index a51f64ab7..1823a3e1f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/.env @@ -1,2 +1,3 @@ RELEASE=6.0.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile index 019fac56a..fe5b8959d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile.jdk11 index 733f1c665..7eef452a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/docker-compose.yml index 7443639cb..d9587e555 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/.env index d220a370b..88ea198c6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/.env @@ -1,2 +1,3 @@ RELEASE=6.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile index 0fdf53c9d..a0af3b3df 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile.jdk11 index 8e33f5925..e1dd9c84e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/docker-compose.yml index 73e241c72..236908fda 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/.env index c791eba82..7048e8760 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/.env @@ -1,2 +1,3 @@ RELEASE=6.0.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile index 7f79a29a8..6f54e0477 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile.jdk11 index ec4da54c5..93b490923 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/docker-compose.yml index 17f671660..df748ad47 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.10" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/.env index a733e2661..536f5c46b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/.env @@ -1,2 +1,3 @@ RELEASE=6.0.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile index 5928b04a8..bab5bad29 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile.jdk11 index b7cda27ca..e4efe2c1c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/docker-compose.yml index 39671948f..b1a224b5a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.11" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/.env index af3c2174b..5feeb2094 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/.env @@ -1,2 +1,3 @@ RELEASE=6.0.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile index a2ad6f08a..609c155e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile.jdk11 index a1842e0db..4625916a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/docker-compose.yml index b470283b4..89c39bdeb 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/.env index 429167298..4c6de7566 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/.env @@ -1,2 +1,3 @@ RELEASE=6.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile index f6db59820..c4dba124b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile.jdk11 index c4f6b2e5a..91fb45cc7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/docker-compose.yml index d6495ba64..c87bf3c29 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/.env index 85cd9caac..4c2ad35cc 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/.env @@ -1,2 +1,3 @@ RELEASE=6.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile index f76fde35e..2f7dbf345 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile.jdk11 index ac9d1c452..dc3c8ba6b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/docker-compose.yml index 55d18b492..90b38a59a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/.env index b2387f1ea..a033bbe6b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/.env @@ -1,2 +1,3 @@ RELEASE=6.0.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile index 2d3a13d3a..5effca9b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile.jdk11 index e1edd2ce9..01b3f8613 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/docker-compose.yml index 43a794ff7..189219f15 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.5" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/.env index 9a6111fd4..a5053d0e7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/.env @@ -1,2 +1,3 @@ RELEASE=6.0.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile index 0ad8dbc1b..9ae8d4d97 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile.jdk11 index 7e2fe3c66..fbfbb3863 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/docker-compose.yml index 4696453dc..17c434c27 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.6" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/.env index 624c04c4d..32090c51f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/.env @@ -1,2 +1,3 @@ RELEASE=6.0.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile index 0a33aabbd..5560d6c1b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile.jdk11 index b3e969b37..2524a2862 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/docker-compose.yml index 406fe9a07..578c60206 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.7" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/.env b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/.env index 634a9c5b7..350877d7f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/.env @@ -1,2 +1,3 @@ RELEASE=6.0.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile index a93d4f65a..680ee3f30 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile.jdk11 index 152f4e64f..61c0bef62 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/docker-compose.yml index cd769f098..2b6548a0b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.0.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.0.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.0.9" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/.env index b8e22adab..79a607fe1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/.env @@ -1,2 +1,3 @@ RELEASE=6.1.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile index 75ac7911a..dbe94118a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile.jdk11 index 5767a83ce..e5a709161 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/docker-compose.yml index b103fc39f..a82f883ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/.env index 71a1e3dd4..723f20df8 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/.env @@ -1,2 +1,3 @@ RELEASE=6.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile index ab602f53a..aecfed2a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile.jdk11 index 60a5f5bba..6619f74ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/docker-compose.yml index a08a2b95e..be5aa6c26 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/.env index d3ca38e9d..cb021ec40 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/.env @@ -1,2 +1,3 @@ RELEASE=6.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile index d10b32da5..bcf77fcb7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile.jdk11 index 19ab6ecbe..30569a030 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/docker-compose.yml index 92dfe8900..c157f3cc5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/.env index e51f8bd5a..02428c070 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/.env @@ -1,2 +1,3 @@ RELEASE=6.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile index f16576279..ef90985b4 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile.jdk11 index 1b55e6375..fd5c03ef6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/docker-compose.yml index 6ab933f3b..688fcc0ea 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/.env index a068a99cd..0c47ec523 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/.env @@ -1,2 +1,3 @@ RELEASE=6.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile index ccd15f2cb..f54c2a885 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile.jdk11 index c4db689ad..9a7abcb6c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/docker-compose.yml index 1dab486ea..6d870fe5f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/.env index 4650ac8c3..17c253bc7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/.env @@ -1,2 +1,3 @@ RELEASE=6.1.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile index 1dfe2c4d4..c76ab1fce 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile.jdk11 index b1d6c40d4..0e89519d2 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/docker-compose.yml index 5d5a9aa6d..f20c27108 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.5" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/.env index d34c4096e..1e7072920 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/.env @@ -1,2 +1,3 @@ RELEASE=6.1.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile index 838595329..ce0868010 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile.jdk11 index 9428db628..a3a020c21 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/docker-compose.yml index 8ab170000..9683abe17 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.6" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/.env index deac0ae96..75ff762c4 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/.env @@ -1,2 +1,3 @@ RELEASE=6.1.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile index aed802800..587ff78a8 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile.jdk11 index 27ab52b83..c4fc08dbb 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/docker-compose.yml index e01aa8a3a..9fac7511c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.7" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/.env index 1971a31ba..0ee3a2684 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/.env @@ -1,2 +1,3 @@ RELEASE=6.1.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile index 4f2409934..4cebe7382 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile.jdk11 index bb5f5c1b7..ff07d2cbf 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/docker-compose.yml index bb240a644..3bfc435e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.8" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/.env b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/.env index a845eeda1..b53bae463 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/.env @@ -1,2 +1,3 @@ RELEASE=6.1.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile index df8b9b82e..5db89d3bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile.jdk11 index ba9f947dc..afa01b263 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/docker-compose.yml index edeb49045..4fac10f86 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.1.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.1.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.1.9" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/.env index a396ad2ef..00f442f98 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/.env @@ -1,2 +1,3 @@ RELEASE=6.10.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile index 674329337..10c799c01 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile.jdk11 index 33993a861..c72438dee 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/docker-compose.yml index ec8536073..a1f72c938 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/.env index 3f2d71851..b01aedf98 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/.env @@ -1,2 +1,3 @@ RELEASE=6.10.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile index 9d5ea6ff6..09f106abf 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile.jdk11 index 87633e625..9c81201f3 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/docker-compose.yml index 3ee5990b7..bd1bdd7f1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/.env index b8cb7e480..d2a16c13c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/.env @@ -1,2 +1,3 @@ RELEASE=6.10.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile index 92db31877..d815d8315 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile.jdk11 index 5783765a7..7e23e0dd4 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/docker-compose.yml index 97d2aa8a6..fe1a4e72a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.10" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/.env index 8b1f78c4b..b63afb481 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/.env @@ -1,2 +1,3 @@ RELEASE=6.10.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile index 7f37efca6..0138b9987 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile.jdk11 index 9a322da25..593e7ca7f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/docker-compose.yml index 0d94ba171..d4942e699 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.11" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/.env index 9ac945553..48fafbda1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/.env @@ -1,2 +1,3 @@ RELEASE=6.10.12 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile index 5b2d0edea..730f72432 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile.jdk11 index 26c85d423..e536cd489 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/docker-compose.yml index ec7149000..fca545fcc 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.12" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/.env index 66d920738..263440782 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/.env @@ -1,2 +1,3 @@ RELEASE=6.10.13 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile index 1e792eadf..63a0fca06 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile.jdk11 index 18f6f474a..2e24b1a41 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/docker-compose.yml index e4cd5ae85..d99a1e7b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.13" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/.env index ba960e756..cbb0a303c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/.env @@ -1,2 +1,3 @@ RELEASE=6.10.14 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile index 194016471..89bae10e3 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile.jdk11 index 61768a2ba..ff44ca521 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/docker-compose.yml index 607be33d7..85d4ba1bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.14" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/.env index ee550b568..6391b1631 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/.env @@ -1,2 +1,3 @@ RELEASE=6.10.15 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile index dc2aa00ae..415745730 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile.jdk11 index fd3795eb5..896159509 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/docker-compose.yml index 2105b1281..b93995d23 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.15" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/.env index d2119034e..d9bb1ceb8 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/.env @@ -1,2 +1,3 @@ RELEASE=6.10.16 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile index 627001b5f..a825f4343 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile.jdk11 index e68f50666..1ceb47c2b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/docker-compose.yml index 6d818189e..561cc20de 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.16" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/.env index be6c67fc3..ebe390028 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/.env @@ -1,2 +1,3 @@ RELEASE=6.10.17 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile index c1d9e41d0..2f25a98aa 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile.jdk11 index faba5ebf5..ff21778dd 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/docker-compose.yml index 69841dbab..965f3cff4 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.17" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/.env index b4e798536..4e9f5e5bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/.env @@ -1,2 +1,3 @@ RELEASE=6.10.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile index 5d62827a4..5a4a1e92f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile.jdk11 index 573427ce1..f57573e8a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/docker-compose.yml index eb711cd09..dbe67faa9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/.env index 923fa224d..e5895953e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/.env @@ -1,2 +1,3 @@ RELEASE=6.10.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile index 703e8a033..052d33f56 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile.jdk11 index 450dfbf51..df2d301a6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/docker-compose.yml index a59f4756a..8637781c6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/.env index 4ae04aa63..8ab9113ed 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/.env @@ -1,2 +1,3 @@ RELEASE=6.10.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile index 2e2e77106..60c7ed8e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile.jdk11 index 931ff5ad2..bf4e44631 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/docker-compose.yml index 3d6d12347..e262af7a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/.env index a4e69f331..cb898bce9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/.env @@ -1,2 +1,3 @@ RELEASE=6.10.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile index e0be4abeb..dcd157542 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile.jdk11 index 8f771d116..66ce724a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/docker-compose.yml index d75ba0bce..da29e5d48 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.5" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/.env index 27dc2d5ed..0f389b037 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/.env @@ -1,2 +1,3 @@ RELEASE=6.10.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile index 5d5e19e11..332fd35f4 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile.jdk11 index e737a5c7d..1ef53b2e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/docker-compose.yml index 5d478f921..bb3b5a0a5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.7" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/.env index eb211d360..8876ce25d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/.env @@ -1,2 +1,3 @@ RELEASE=6.10.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile index 5e0ebcef2..e313d0f1d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile.jdk11 index 39489c8c5..b25293601 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/docker-compose.yml index 9712623c0..752cbbb4c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.8" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/.env b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/.env index 266eac00c..66f743e73 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/.env @@ -1,2 +1,3 @@ RELEASE=6.10.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile index 87d0a3b70..252b50f52 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile.jdk11 index bcf0b586b..7b84348ca 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.10.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/docker-compose.yml index ea5e1907d..3ee48157a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.10.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.10.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.10.9" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/.env index ad6fc4f74..eba643645 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/.env @@ -1,2 +1,3 @@ RELEASE=6.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile index 4a131fdbf..901d2e094 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile.jdk11 index 42a702727..e7e751f97 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/docker-compose.yml index b9cb73b30..f0bd83cda 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/.env index 754444ca5..0facc1323 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/.env @@ -1,2 +1,3 @@ RELEASE=6.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile index b2ce2d112..f9db3c969 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile.jdk11 index c57a56f98..bfb65092d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/docker-compose.yml index 3ee2084ae..f0136f77b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/.env index c3f8dc087..80ad63d9f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/.env @@ -1,2 +1,3 @@ RELEASE=6.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile index 280ccce55..c5b29d947 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile.jdk11 index 3671e6533..7be86b3c3 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/docker-compose.yml index 1833b9787..6d2b9f46b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/.env index d865af8fb..3953e9759 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/.env @@ -1,2 +1,3 @@ RELEASE=6.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile index e090af048..ed7e01f7a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile.jdk11 index c7446f829..c958351d9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/docker-compose.yml index e53209510..776334ddd 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/.env index b5fd5430f..284c081cf 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/.env @@ -1,2 +1,3 @@ RELEASE=6.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile index c28cdf242..7860bb7a4 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile.jdk11 index 3ba586fed..7cc3342e7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/docker-compose.yml index 3a60e47a7..951d52241 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/.env index 6d0b1e87d..49d85e79f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/.env @@ -1,2 +1,3 @@ RELEASE=6.2.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile index b69bf0766..91f9919dc 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile.jdk11 index 64d70f44a..9ed0e114c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/docker-compose.yml index 0f6da8ca1..917df987b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.5" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/.env index 7ca10d556..dc37d7462 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/.env @@ -1,2 +1,3 @@ RELEASE=6.2.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile index 155862253..e52134dfa 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile.jdk11 index a3d33f207..e944b53e3 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/docker-compose.yml index 601999594..8623550c1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.6" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/.env b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/.env index 514a5779a..9f12fd871 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/.env @@ -1,2 +1,3 @@ RELEASE=6.2.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile index d7ce11398..f963a4550 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile.jdk11 index 2fd3f7597..a59a0d94e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/docker-compose.yml index 158dc9762..75254179f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.2.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.2.7" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/.env index e8ea24bc2..00a345fc5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/.env @@ -1,2 +1,3 @@ RELEASE=6.3.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile index dd6894ea9..bc3eceb67 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile.jdk11 index b392255bb..30df8fe53 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/docker-compose.yml index 4c1b473c9..c22c2f3e7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.3.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/.env index e6ae009ea..fca882423 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/.env @@ -1,2 +1,3 @@ RELEASE=6.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile index 3d20b219f..a52ae6a9a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile.jdk11 index a162dce80..07548cf63 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/docker-compose.yml index d525cfda7..e0751c323 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/.env index d5efbecbd..bcb442a8c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/.env @@ -1,2 +1,3 @@ RELEASE=6.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile index f2d360260..05fafc254 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile.jdk11 index 9f6fdeba5..bb414c52d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/docker-compose.yml index 2b96753f4..35047aa77 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.3.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/.env index d4564e6d3..42c7a7786 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/.env @@ -1,2 +1,3 @@ RELEASE=6.3.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile index 2322feb0f..6d069d6c2 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile.jdk11 index 3fe2cc25b..59e86811b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/docker-compose.yml index ca0ec56d5..85c63dbe9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.3.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/.env index 1b868d2c8..a04c358e2 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/.env @@ -1,2 +1,3 @@ RELEASE=6.3.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile index 92353f0ce..66839330d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile.jdk11 index d5960bf63..93184979e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/docker-compose.yml index 42a32e385..b2aa5c46c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.3.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/.env b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/.env index 0ee66e0e1..7c03c9cae 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/.env @@ -1,2 +1,3 @@ RELEASE=6.3.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile index bc5fb19b9..63f9e409e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile.jdk11 index 4174dbc7b..8c3345061 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/docker-compose.yml index bef122e16..c61b1e509 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.3.5" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/.env b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/.env index 0210567c3..727092e14 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/.env @@ -1,2 +1,3 @@ RELEASE=6.3.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile index ad97d7f47..74c89aff5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile.jdk11 index e9d64c850..237b46347 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/docker-compose.yml index d934355a7..054276d22 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.3.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.3.6" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/.env index 4501b635c..00eb91adb 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/.env @@ -1,2 +1,3 @@ RELEASE=6.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile index bc588e1dc..672a34183 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile.jdk11 index 0c34f9ffd..c42bfd1b4 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/docker-compose.yml index 6a96d89a6..1370efa0e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.4.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/.env index 7caa0a997..cc73d50bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/.env @@ -1,2 +1,3 @@ RELEASE=6.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile index 3e3901de3..20f0568b9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile.jdk11 index 2319e0196..cd409cd65 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/docker-compose.yml index 0a6d0f4f3..3499882d6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.4.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/.env index d9e176894..7179e664b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/.env @@ -1,2 +1,3 @@ RELEASE=6.4.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile index e946def0c..2cd9adf81 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile.jdk11 index ff3bd73d7..20f3d19e9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/docker-compose.yml index d3247c58a..0df36f006 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.4.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/.env index 3b2b92182..4f8f8469d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/.env @@ -1,2 +1,3 @@ RELEASE=6.4.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile index 88d76faaa..17ccffcfb 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile.jdk11 index 16e3054a4..442899a8f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/docker-compose.yml index ec7d7e73e..57aad60bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.4.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/.env index 855ecc846..ff3200ca5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/.env @@ -1,2 +1,3 @@ RELEASE=6.4.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile index 9bfa385e2..e4d534f26 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile.jdk11 index 89bf38db5..adb66e184 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/docker-compose.yml index d6644d04c..f73e3ce8b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.4.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/.env index 1a5d80395..168ee08c1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/.env @@ -1,2 +1,3 @@ RELEASE=6.5.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile index 340f4d414..1692751b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile.jdk11 index 4698c8867..016c8143e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/docker-compose.yml index 903b9dedf..b0895b290 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.5.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/.env index 58b1e89cc..6b76fab59 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/.env @@ -1,2 +1,3 @@ RELEASE=6.5.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile index 0cf2699d3..bbd707e87 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile.jdk11 index 2171f4a78..6fc0b7b63 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/docker-compose.yml index 628a3c4b6..f294430ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.5.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/.env index eefc278a1..71c5af741 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/.env @@ -1,2 +1,3 @@ RELEASE=6.5.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile index b9b89a90d..ed8e81823 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile.jdk11 index 5acf3fa5e..16363dd23 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/docker-compose.yml index 4523d5801..ecc3ca083 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.5.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/.env index 6168777a4..f98bafd08 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/.env @@ -1,2 +1,3 @@ RELEASE=6.6.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile index 2d3e7e7f1..ade933ec5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile.jdk11 index a157c5223..28e68fde0 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/docker-compose.yml index 52073e8ba..4cbecb701 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.6.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/.env index 4717782f8..4c436d012 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/.env @@ -1,2 +1,3 @@ RELEASE=6.6.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile index 02d54e740..59213ec40 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile.jdk11 index 64759921c..9c7eabb36 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/docker-compose.yml index b0e7e0366..d535f4a05 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.6.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/.env index a8e897495..ab54be7a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/.env @@ -1,2 +1,3 @@ RELEASE=6.6.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile index cf45744b9..0ff2f35e6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile.jdk11 index 465997265..916ee6460 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/docker-compose.yml index 226a39568..38bbaa85e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.6.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/.env index 188b46439..3699fc662 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/.env @@ -1,2 +1,3 @@ RELEASE=6.6.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile index b47a6c550..22784a4ea 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile.jdk11 index 6754fc7bf..eacc8080e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/docker-compose.yml index 5430a5b01..bef4b5508 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.6.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/.env index e0f656c7b..7f8b89a76 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/.env @@ -1,2 +1,3 @@ RELEASE=6.6.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile index eb962db07..c005ea4d6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile.jdk11 index bb4aabcce..468e1fefd 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/docker-compose.yml index 5385530a9..240388b3d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.6.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/.env index 2d86f5522..12e62b300 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/.env @@ -1,2 +1,3 @@ RELEASE=6.7.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile index b0849c2d8..7efa51273 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile.jdk11 index 79ef236c7..fa4bda733 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/docker-compose.yml index 46f7ae28c..7c6c6772b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.7.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/.env index 010019062..e55299d26 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/.env @@ -1,2 +1,3 @@ RELEASE=6.7.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile index 693e366c2..dd27fd0c2 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile.jdk11 index 4c95086d2..80ee8c277 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/docker-compose.yml index 5bd71881d..e222f847c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.7.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/.env index d3fa3fdfe..43d854734 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/.env @@ -1,2 +1,3 @@ RELEASE=6.7.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile index d35c2d8d0..d3408d040 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile.jdk11 index 21a21ca1d..2d3b5ac57 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/docker-compose.yml index dec513abc..a33a91eed 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.7.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/.env index b3a765c7d..9c7c92535 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/.env @@ -1,2 +1,3 @@ RELEASE=6.7.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile index f5e7dbd9d..2dde0a9b6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile.jdk11 index c9d3f4f31..c1838f7b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/docker-compose.yml index 299d6236c..82d0328a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.7.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/.env index 9ec7034ac..288612ec2 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/.env @@ -1,2 +1,3 @@ RELEASE=6.7.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile index 455f00473..41311dc65 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile.jdk11 index 0b1fb38de..82da99ce9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/docker-compose.yml index 39a802ece..70ef63fd5 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.7.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/.env b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/.env index 699e6583a..6813f6631 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/.env @@ -1,2 +1,3 @@ RELEASE=6.7.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile index e615630cc..f5da642e6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile.jdk11 index 115cc8ec9..7d66efba9 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.7.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/docker-compose.yml index 43a0d49ad..14cafc7f0 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.7.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.7.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.7.5" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/.env index a7cb6b66a..619b5d728 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/.env @@ -1,2 +1,3 @@ RELEASE=6.8.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile index 0ae184569..b965e52fe 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile.jdk11 index 5f0bf34cc..fa6beb7bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/docker-compose.yml index 43ebdec88..88011f805 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.8.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/.env index 433863e31..18bea139d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/.env @@ -1,2 +1,3 @@ RELEASE=6.8.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile index f8c873ead..eb1ed7f0f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile.jdk11 index 6b837e342..a639347e3 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/docker-compose.yml index 020477df0..8ad478ddc 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.8.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/.env index d31c73af3..4f2a02f9f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/.env @@ -1,2 +1,3 @@ RELEASE=6.8.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile index bd02766b8..27e40906d 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile.jdk11 index c1d4cd3e9..ed80773d0 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/docker-compose.yml index 0e0b9dd2a..dd55a9d8b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.8.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/.env index 3819e1db4..c48fdf00e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/.env @@ -1,2 +1,3 @@ RELEASE=6.8.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile index 1bb9dde8c..ad9d53b54 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile.jdk11 index f4a92103c..6952b8f36 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/docker-compose.yml index 3d3267cd3..460c2b07f 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.8.3" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/.env b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/.env index 881cb3d58..baca54614 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/.env @@ -1,2 +1,3 @@ RELEASE=6.8.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile index ebbce8719..a1b930f5c 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile.jdk11 index d4dba1c92..6a3634d59 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/docker-compose.yml index 3ac9cad32..5063d6295 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.8.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.8.4" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/.env b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/.env index 630bc13e4..bdfd6aa55 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/.env @@ -1,2 +1,3 @@ RELEASE=6.9.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile index 1cc371cf8..a5274203e 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile.jdk11 index 61fd2e6bc..61083a86b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/docker-compose.yml index d6d3ec075..d357f0bae 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.9.0" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/.env b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/.env index 43b3d10fe..5c7191576 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/.env @@ -1,2 +1,3 @@ RELEASE=6.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile index 8a9563bca..e1db4cd8b 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile.jdk11 index 1efa00512..e622677b6 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/docker-compose.yml index 15eda11a1..104e25693 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.9.1" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/.env b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/.env index 6d4a9a4ea..d7e6ac7bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/.env @@ -1,2 +1,3 @@ RELEASE=6.9.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile index f75a23d6e..463b8d714 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile.jdk11 index 5c52901c4..aff1d5789 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/docker-compose.yml index 9498603ef..a7c06a5a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.9.2" diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/.env b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/.env index 3f9ec5718..62371f7d3 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/.env @@ -1,2 +1,3 @@ RELEASE=6.9.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile index 1938d9c24..3bd2c9e42 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile.jdk11 index 89410ace5..517b2560a 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.9.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/docker-compose.yml index 8db9d0d67..5adfe7a20 100644 --- a/linux/ecosystem/atlassian/bitbucket/6/6.9.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/6/6.9.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:6.9.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/.env index b4317da57..220c76412 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/.env @@ -1,2 +1,3 @@ RELEASE=7.0.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile index 366c83356..ccec9a252 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile.jdk11 index e0a70fc0d..8c89f5cb0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/docker-compose.yml index 8661ccd62..6a625b17e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.0.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/.env index af1cb607a..4c5e38510 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/.env @@ -1,2 +1,3 @@ RELEASE=7.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile index f99b5eb9d..5cedb6eb5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile.jdk11 index c8200948f..5fc4122c5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/docker-compose.yml index ddf05551e..073ac38f9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.0.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/.env index 7aca9accc..911070378 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/.env @@ -1,2 +1,3 @@ RELEASE=7.0.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile index 767ea4928..162b02d6e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile.jdk11 index 8899279b2..903186595 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/docker-compose.yml index 4fba4da43..2fc54b239 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.0.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/.env index 9cf7d1ee8..2acd89fb6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/.env @@ -1,2 +1,3 @@ RELEASE=7.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile index 32f0145e2..07a3ec9a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile.jdk11 index f48c2e74c..ddf9acc25 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/docker-compose.yml index eea203806..548b23248 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.0.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/.env index f6fae4192..446662d37 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/.env @@ -1,2 +1,3 @@ RELEASE=7.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile index a78ffaecd..f60eaa106 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile.jdk11 index 183fd7b18..04356794b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/docker-compose.yml index 8ab68a87f..3308c49ae 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.0.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/.env b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/.env index 41a36f815..a3df58777 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/.env @@ -1,2 +1,3 @@ RELEASE=7.0.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile index 12ab62a00..d1c83f381 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile.jdk11 index 3e13b1d89..1764be6c1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/docker-compose.yml index 9cf26398a..9882fc4a4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.0.5" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/.env index d242a4e47..2867ce8a5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/.env @@ -1,2 +1,3 @@ RELEASE=7.1.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile index b5c59f35d..590cfc3ee 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile.jdk11 index d1ae3029a..54d0a982e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/docker-compose.yml index 9a1596d65..e9b20e021 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.1.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/.env index 7f20f7a67..60761bd7e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/.env @@ -1,2 +1,3 @@ RELEASE=7.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile index 1a11a923b..6460051f1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile.jdk11 index 91c8cd93e..d94356682 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/docker-compose.yml index 576d198d0..c9ee9e34c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.1.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/.env index dae416bc0..fc7072bb9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/.env @@ -1,2 +1,3 @@ RELEASE=7.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile index 0b3d5a5ae..30e2f82cc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile.jdk11 index 5739b84b1..d825b4bbd 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/docker-compose.yml index 605c10281..26949b057 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.1.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/.env index 72513ba53..f25fd5050 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/.env @@ -1,2 +1,3 @@ RELEASE=7.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile index d189154f8..66993e566 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile.jdk11 index ee7571c87..10523ea10 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/docker-compose.yml index 402106ebe..d2a022122 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.1.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/.env index 93f9bf6c2..2396344a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/.env @@ -1,2 +1,3 @@ RELEASE=7.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile index f84bdd6cb..b57212da5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile.jdk11 index 3b8ce53d2..15fb3a9fe 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/docker-compose.yml index 9ffc70397..88449847a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.1.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/.env index 09e98d329..cd2a7b7aa 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/.env @@ -1,2 +1,3 @@ RELEASE=7.10.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile index 74f073eee..ecd411ee7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile.jdk11 index 1bc57cfcf..1cfe3cc16 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/docker-compose.yml index a477c8b20..1a028d43d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.10.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/.env index e67cf4863..673ad5af0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/.env @@ -1,2 +1,3 @@ RELEASE=7.10.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile index c0670a3d0..ceac15d47 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile.jdk11 index cbcaa7f06..ab5261de4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/docker-compose.yml index 66d11189e..0fa96de74 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.10.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/.env index 7f31ceca0..bfaaca24c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/.env @@ -1,2 +1,3 @@ RELEASE=7.11.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile index 23ecd7dc4..a7a2576e3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile.jdk11 index 1594a0cd0..7d985e08b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/docker-compose.yml index 96f53af2f..b3513930a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.11.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/.env index a9a14344f..e2d930a06 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/.env @@ -1,2 +1,3 @@ RELEASE=7.11.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile index 5d82017f9..fe81f024f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile.jdk11 index 161ea4167..3efb12300 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/docker-compose.yml index 59ead8926..3a4c628fb 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.11.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.11.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/.env index 0a1d33b2a..0e0492c22 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/.env @@ -1,2 +1,3 @@ RELEASE=7.12.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile index 72c183c0e..0a95ab256 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile.jdk11 index 037c5a803..87d9ef6c3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/docker-compose.yml index 6e398d016..2da3c45e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.12.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/.env index 66dffa5e0..12368ee46 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/.env @@ -1,2 +1,3 @@ RELEASE=7.12.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile index d6c785b4c..65b89714d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile.jdk11 index 056a0ac71..3bf93aee2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/docker-compose.yml index 6d24e9d75..6d547f4fe 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.12.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.12.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/.env index a943d2a08..cf3731b20 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/.env @@ -1,2 +1,3 @@ RELEASE=7.13.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile index f8b91f451..92929bd2e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile.jdk11 index 52536f044..60504c8f7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/docker-compose.yml index b20180891..93b3e55ea 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.13.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/.env index 7a5cb1abe..182074f51 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/.env @@ -1,2 +1,3 @@ RELEASE=7.13.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile index e257bc3ab..45c58f18f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile.jdk11 index bf8933ce8..c6e62ec22 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/docker-compose.yml index 8b5694942..bad4b5777 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.13.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.13.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/.env index e355065e4..ebcd801e8 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/.env @@ -1,2 +1,3 @@ RELEASE=7.14.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile index 50e1bb0fd..c4c49f133 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile.jdk11 index 465595eab..031dd449d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/docker-compose.yml index 7c1f8c40d..68bb5ad7b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.14.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/.env index 61bfe781b..a04297535 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/.env @@ -1,2 +1,3 @@ RELEASE=7.14.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile index 78cc6a1a9..a7e14373f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile.jdk11 index c90178286..33651c3aa 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/docker-compose.yml index 935bfafe4..14a4f8d96 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.14.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/.env index 062a119b6..29a8164ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/.env @@ -1,2 +1,3 @@ RELEASE=7.14.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile index ffa035658..bb1e6f6b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.14.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile.jdk11 index 68facdb82..fb99340c1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.14.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/docker-compose.yml index 390d1e22d..8602edcf5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.14.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.14.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.14.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/.env index 62a3ab519..bad21e08c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/.env @@ -1,2 +1,3 @@ RELEASE=7.15.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile index bd788d52f..5706e7deb 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile.jdk11 index 6cd1ce182..21a972397 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/docker-compose.yml index f965f1050..5459a244b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.15.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/.env index 3d80ece92..60b377c6c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/.env @@ -1,2 +1,3 @@ RELEASE=7.15.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile index 8ed24b4ac..5c1d26a08 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile.jdk11 index 08a0dbd68..c9aee1287 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/docker-compose.yml index 5f8c0b761..e94b5f25d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.15.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/.env index 4fa0e097d..da4eb451b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/.env @@ -1,2 +1,3 @@ RELEASE=7.15.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile index 803967f91..39490c752 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile.jdk11 index 333e0e3c9..9977dcb9f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/docker-compose.yml index ee831525b..b141b0072 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.15.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/.env index 70c84be8c..34f224dd6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/.env @@ -1,2 +1,3 @@ RELEASE=7.15.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile index ed2fecf47..c4fc0152d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile.jdk11 index 9e34499e2..a6a2d2ab3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.15.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/docker-compose.yml index f2b398d94..e3b7b77a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.15.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.15.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.15.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/.env index 4680b4bb2..f7a3bf77b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/.env @@ -1,2 +1,3 @@ RELEASE=7.16.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile index f9dcf9b51..8ad5b3692 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile.jdk11 index 0611e77c9..53b13555c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/docker-compose.yml index 2728e0615..3f183b3bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.16.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/.env index 8f2d45d99..7b4df06b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/.env @@ -1,2 +1,3 @@ RELEASE=7.16.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile index 54586a661..0bfe20e78 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile.jdk11 index 1afbacc11..4e01a9771 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/docker-compose.yml index ef906d266..ac8544316 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.16.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/.env index c5cd9eae7..5a9258a4c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/.env @@ -1,2 +1,3 @@ RELEASE=7.16.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile index 146faf0f8..6ece08748 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile.jdk11 index 9bd1454a9..2b40d5349 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/docker-compose.yml index ce9cafaf9..68896ebe9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.16.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/.env index 65241848d..01570fd09 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/.env @@ -1,2 +1,3 @@ RELEASE=7.16.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile index 1018eda11..9b73c1e34 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile.jdk11 index e646ebe1b..7087f5a3d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.16.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/docker-compose.yml index de3370637..a49095b06 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.16.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.16.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.16.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/.env index 332c9acfa..c297b868e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/.env @@ -1,2 +1,3 @@ RELEASE=7.17.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile index 534f1b041..e00e954c9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile.jdk11 index a57d56bd6..750c2a8ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/docker-compose.yml index 2ce76834d..2ad77b240 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/.env index 8509fb10b..3eba74ff7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/.env @@ -1,2 +1,3 @@ RELEASE=7.17.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile index cf3e5f647..dc9849148 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile.jdk11 index cfec295e9..240acb6bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/docker-compose.yml index 0bb4ff6c8..df60d35f0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/.env index f16ee0786..c2e5c4a04 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/.env @@ -1,2 +1,3 @@ RELEASE=7.17.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile index d9409cf56..d3b47b086 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile.jdk11 index 10fa1da57..b5b8b1990 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/docker-compose.yml index 37dd1bc43..18f330167 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.10" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/.env index db2376dbe..19b59c736 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/.env @@ -1,2 +1,3 @@ RELEASE=7.17.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile index 509ec9bb1..48e12c580 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile.jdk11 index 5f39ff0b8..a6d306d74 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/docker-compose.yml index 435377970..9162a265b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.11" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/.env index b3e500a9e..035d6dfca 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/.env @@ -1,2 +1,3 @@ RELEASE=7.17.12 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile index 3fcc38a2b..767ee6e27 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile.jdk11 index 683d44517..cf35f6045 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/docker-compose.yml index e8ab71505..c26496d67 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.12" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/.env index 57704d2cb..49504c5d7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/.env @@ -1,2 +1,3 @@ RELEASE=7.17.13 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile index a4e89574e..504cb5d91 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile.jdk11 index fe3b1c7d1..dcde3a8c9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/docker-compose.yml index d06e33bba..bddf55328 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.13" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/.env index ade753de9..bec235898 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/.env @@ -1,2 +1,3 @@ RELEASE=7.17.14 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile index e19e394de..a83acf8df 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile.jdk11 index 0d9ff0d25..b29e635a4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/docker-compose.yml index 08476f285..b182983d5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.14" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/.env index 550a2f526..1caf237b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/.env @@ -1,2 +1,3 @@ RELEASE=7.17.15 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile index 26ed012ec..08dcdb4cb 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile.jdk11 index 32fb5b823..d191e40e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/docker-compose.yml index e5ba84337..85f4d8835 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.15" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/.env index 9f8920dfd..ff47d216f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/.env @@ -1,2 +1,3 @@ RELEASE=7.17.16 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile index 8f2945c07..a4a13461a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile.jdk11 index df3cb60cb..d5dffb7f7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/docker-compose.yml index ee66b5e13..1eeafce10 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.16" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/.env index ff2521e7a..2972ff9a2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/.env @@ -1,2 +1,3 @@ RELEASE=7.17.17 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile index 8061d7b3d..77ecc3353 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile.jdk11 index da3da5605..d3e9aa990 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/docker-compose.yml index 656bc35a4..503215c33 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.17" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/.env index 1ca32e0ae..fd4ed3d57 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/.env @@ -1,2 +1,3 @@ RELEASE=7.17.18 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile index 438e05c97..c88d5989a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile.jdk11 index 42f64c493..25a462fe6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/docker-compose.yml index ef2cf8ab8..7096a7587 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.18" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/.env index bf5d84eaf..723c8f557 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/.env @@ -1,2 +1,3 @@ RELEASE=7.17.19 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile index 215ebdd77..e95dbae6c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile.jdk11 index f3913ed49..ca312b748 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/docker-compose.yml index 6a1de52cc..068a73d8b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.19" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/.env index e7696db04..7320e2830 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/.env @@ -1,2 +1,3 @@ RELEASE=7.17.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile index 081958a43..5e0a7cb11 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile.jdk11 index 2473e3f45..1684e0c05 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/docker-compose.yml index 24a519af7..78b0c8dbf 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/.env index b7183285e..a648430c4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/.env @@ -1,2 +1,3 @@ RELEASE=7.17.20 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile index 5d58d9856..543e0db18 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile.jdk11 index 071fdc316..9f49c17cc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/docker-compose.yml index 264c48088..641b832e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.20/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.20" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/.env index 930befac9..f4a19398f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/.env @@ -1,2 +1,3 @@ RELEASE=7.17.21 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile index 15066fecb..d9f9d9bc8 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile.jdk11 index 105342f69..f4eb1f937 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/docker-compose.yml index 4e93453fb..a4c8ea066 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.21/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.21" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/.env index 539f10c76..cdb0c9029 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/.env @@ -1,2 +1,3 @@ RELEASE=7.17.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile index 0582028c5..89968b31b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile.jdk11 index ab6482aca..c1008a92d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/docker-compose.yml index 91c642558..c2c8f14d8 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/.env index b2dca34f6..d69c7fc33 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/.env @@ -1,2 +1,3 @@ RELEASE=7.17.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile index 02eafe920..912604ce6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile.jdk11 index 76e269192..8de348540 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/docker-compose.yml index 5b115ebd3..9b1a5b331 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/.env index 23e65d7ed..b6ef10831 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/.env @@ -1,2 +1,3 @@ RELEASE=7.17.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile index 387d651e8..a493b2c0b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile.jdk11 index 826d6ec61..1a009f19f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/docker-compose.yml index 7e4839c82..921535cca 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.5" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/.env index 21aa85775..5fd3f2af4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/.env @@ -1,2 +1,3 @@ RELEASE=7.17.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile index 3ace1f64b..51ca159f5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile.jdk11 index b07fd47e2..e48c00a97 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/docker-compose.yml index 620606ec7..43bacd66b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.6" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/.env index 0182295b9..62e81c486 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/.env @@ -1,2 +1,3 @@ RELEASE=7.17.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile index b6d13f866..96d070610 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile.jdk11 index c32d2c0ce..1d03f6b93 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/docker-compose.yml index 56e05abef..c331de84a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.7" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/.env index f32652c1c..2ec44f5d1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/.env @@ -1,2 +1,3 @@ RELEASE=7.17.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile index 8f46c5615..25aafc849 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile.jdk11 index 2c2885389..4673b512d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/docker-compose.yml index b3b6da1d4..e11d06f1d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.8" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/.env b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/.env index 3c021aab0..03232c963 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/.env @@ -1,2 +1,3 @@ RELEASE=7.17.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile index abeb8ddd3..f622985c5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile.jdk11 index 182a2cce1..5ab92db68 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.17.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/docker-compose.yml index 8ba2211b7..3f020c8f9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.17.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.17.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.17.9" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/.env index f6fb3f0a0..8f51a3621 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/.env @@ -1,2 +1,3 @@ RELEASE=7.18.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile index 3b7ad1675..63a1078b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile.jdk11 index 687645ae9..4ff1a9c1c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/docker-compose.yml index 6eb647e6c..37c3c060f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.18.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/.env index 981652e6e..4bf2df764 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/.env @@ -1,2 +1,3 @@ RELEASE=7.18.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile index 6e4504191..c4f8f0384 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile.jdk11 index fa223b6b8..cec335f2c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/docker-compose.yml index ac5772eec..dca66215c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.18.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/.env index 8d5a9a87b..4e91d7331 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/.env @@ -1,2 +1,3 @@ RELEASE=7.18.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile index e141deb85..b2e9f7b81 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile.jdk11 index 6ad4b67bf..09938eb1e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/docker-compose.yml index b934eaa28..4ccbc9d0b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.18.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/.env index 3b15fa89b..916ac2282 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/.env @@ -1,2 +1,3 @@ RELEASE=7.18.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile index 858d1ca5c..7db7c07a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile.jdk11 index 416110946..e6a342905 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/docker-compose.yml index bea810b7a..726df140f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.18.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/.env index 3e782346a..d111d4852 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/.env @@ -1,2 +1,3 @@ RELEASE=7.18.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile index 2a9e7ef34..d9c546994 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile.jdk11 index 2a86e5b7c..a46298e75 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.18.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/docker-compose.yml index 9fb45e786..e8f3405a4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.18.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.18.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.18.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/.env index a02369ca2..16a491873 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/.env @@ -1,2 +1,3 @@ RELEASE=7.19.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile index 550d5b709..2d70cb173 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile.jdk11 index 7df1370d8..a50228a13 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/docker-compose.yml index 8cf568016..25cbdc428 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.19.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/.env index 945b21b68..63c5b7740 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/.env @@ -1,2 +1,3 @@ RELEASE=7.19.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile index 9213d65c4..cb87b2003 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile.jdk11 index 9eeb64e0e..f683d97bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/docker-compose.yml index 89d732195..cff4dd9bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.19.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/.env index 874d899c3..8922fc950 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/.env @@ -1,2 +1,3 @@ RELEASE=7.19.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile index 0281b092b..ca31d07a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile.jdk11 index bf8beed7b..145efe032 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/docker-compose.yml index d449f5709..45c07ac51 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.19.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/.env b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/.env index d0c2644e0..594245bc5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/.env @@ -1,2 +1,3 @@ RELEASE=7.19.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile index 9a7e970aa..85b8593bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile.jdk11 index b3342aee9..9dc62f310 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.19.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/docker-compose.yml index bb13da54a..5826ceabc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.19.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.19.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.19.5" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/.env index 731f7b0a7..8c139b114 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/.env @@ -1,2 +1,3 @@ RELEASE=7.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile index a3373cc75..eae92f396 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile.jdk11 index 559a895b4..b25a1d9c2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/docker-compose.yml index 8a0c5bd94..50687ff9a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/.env index 899108ca0..4f3af2227 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/.env @@ -1,2 +1,3 @@ RELEASE=7.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile index 1ae6d8354..e1bd1b308 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile.jdk11 index 660fe452f..93bb0148f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/docker-compose.yml index 736b9fe34..bf9cc4075 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.2.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/.env index 9e2fe1f81..7fe737f1b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/.env @@ -1,2 +1,3 @@ RELEASE=7.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile index 4389792a7..8dd00da20 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile.jdk11 index 414ec707a..020f2a365 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/docker-compose.yml index 64dcb8160..429706e6d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.2.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/.env index c25c3826e..6530b391c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/.env @@ -1,2 +1,3 @@ RELEASE=7.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile index b419587c4..0c0220f5d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile.jdk11 index 5dfe2880c..55f9c697b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/docker-compose.yml index 3e6da9533..35869bc94 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.2.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/.env index 1537a64fb..2551bc940 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/.env @@ -1,2 +1,3 @@ RELEASE=7.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile index 308a8df8f..8b0a3278b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile.jdk11 index d80c87075..2c0ea2d90 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/docker-compose.yml index faafd7846..5ef1f90b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.2.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/.env b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/.env index 56426665d..d4cfb3eb2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/.env @@ -1,2 +1,3 @@ RELEASE=7.2.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile index 02dc2bb7e..221b9854c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile.jdk11 index 985693b65..4becc7d01 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/docker-compose.yml index a31efbb27..0b51cc34d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.2.5" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/.env b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/.env index db704ab97..67cc22356 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/.env @@ -1,2 +1,3 @@ RELEASE=7.2.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile index 1a9423f86..dda77aae2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile.jdk11 index c601500ac..456b9cbc5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/docker-compose.yml index a879d0310..6042bcfff 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.2.6" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/.env index 9b5775077..89393d306 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/.env @@ -1,2 +1,3 @@ RELEASE=7.20.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile index 097667d71..3e78ea3f5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile.jdk11 index 0d731063d..33f9970b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/docker-compose.yml index 4077c300e..9b1c48c43 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.20.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/.env index 7619109eb..d5f6735c0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/.env @@ -1,2 +1,3 @@ RELEASE=7.20.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile index f6d0efab0..393a628dc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile.jdk11 index 9bbaa0939..2fedf8c22 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/docker-compose.yml index 1f1ed7077..23ff5c80a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.20.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/.env index fae2a7387..1f05224d8 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/.env @@ -1,2 +1,3 @@ RELEASE=7.20.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile index 87b94c8ff..e646586b9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile.jdk11 index 6ef514f6b..38c27f6d1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/docker-compose.yml index b7b7f6c3a..cdacabd2b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.20.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/.env index 7ef81d350..131f8575d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/.env @@ -1,2 +1,3 @@ RELEASE=7.20.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile index 45195cb34..862f8bf26 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile.jdk11 index 5209ded21..851cf0c4d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.20.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/docker-compose.yml index 7b9dd2769..e08bd1544 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.20.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.20.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.20.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/.env index 1c1de666f..24aed10dc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/.env @@ -1,2 +1,3 @@ RELEASE=7.21.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile index 18f50cf94..82a7dd40c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile.jdk11 index 88622bd16..5e4c9517d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/docker-compose.yml index 0c6704d1a..97685caed 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/.env index ca96b2ef2..dd80424f3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/.env @@ -1,2 +1,3 @@ RELEASE=7.21.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile index 126c065f9..971f57b64 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile.jdk11 index 64e6cd92d..27d3921ee 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/docker-compose.yml index 8bf4b4c25..f057c07a7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/.env index f52d06b28..a41b8620d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/.env @@ -1,2 +1,3 @@ RELEASE=7.21.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile index 517d00e04..1acfb175e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile.jdk11 index 8f71640ed..eeaf19610 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/docker-compose.yml index f461fdca3..217498f9a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.10" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/.env index 42dc7cfc1..718b93365 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/.env @@ -1,2 +1,3 @@ RELEASE=7.21.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile index b2a050572..7c0a64633 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile.jdk11 index 53f9d1d21..cbeb4d813 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/docker-compose.yml index eba3ff57f..dfd483335 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.11" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/.env index 083b4a267..d3d7804bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/.env @@ -1,2 +1,3 @@ RELEASE=7.21.12 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile index 0e872b225..786458589 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile.jdk11 index a2c03267d..55524003a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/docker-compose.yml index 69b4539e5..063ded62b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.12" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/.env index ed945b106..aa28e2e5b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/.env @@ -1,2 +1,3 @@ RELEASE=7.21.13 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile index 915c14274..9ea132e75 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile.jdk11 index 2d3398eea..8f5771e3a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/docker-compose.yml index fbf9ef2bb..3adf995e9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.13" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/.env index 4a1090218..dedcd6aca 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/.env @@ -1,2 +1,3 @@ RELEASE=7.21.14 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile index 467bc9fd8..3b7d03046 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile.jdk11 index 9679651ce..9653b2ef9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/docker-compose.yml index 7c0b97243..ede77c17f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.14" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/.env index ee3418ed1..ee418e7d4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/.env @@ -1,2 +1,3 @@ RELEASE=7.21.15 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile index ff52560d2..6e64a0064 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile.jdk11 index 69127384a..593bf32a5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/docker-compose.yml index 6e599f2b8..496d0f433 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.15" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/.env index 1cee8b5bc..28fc91062 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/.env @@ -1,2 +1,3 @@ RELEASE=7.21.16 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile index e18a7bc18..024564335 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile.jdk11 index a740623dc..d7310172e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/docker-compose.yml index e5eb84d82..424d154a5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.16" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/.env index 87d4955cc..cbbd496bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/.env @@ -1,2 +1,3 @@ RELEASE=7.21.17 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile index 2e933f154..078b6039d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile.jdk11 index 3757a5f62..90139f79c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/docker-compose.yml index 2439d58e4..98ef4cab1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.17" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/.env index 9681a9038..9d174cb04 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/.env @@ -1,2 +1,3 @@ RELEASE=7.21.18 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile index c138fa1dc..cd3e45a3f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile.jdk11 index 388c3d0b6..d4092aa2d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/docker-compose.yml index c4e86d9a3..fa6f0b31d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.18" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/.env index c0140e117..0248596be 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/.env @@ -1,2 +1,3 @@ RELEASE=7.21.19 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile index 611e0d39b..b1760cb53 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile.jdk11 index 703900033..899538b93 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/docker-compose.yml index 1c980380e..48d752e9c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.19" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/.env index 46bd5f4ef..9bbc30f28 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/.env @@ -1,2 +1,3 @@ RELEASE=7.21.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile index 22cfda7e9..9a2e69d4a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile.jdk11 index 739da7e32..4139248a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/docker-compose.yml index c5fe9d919..a3c370ad9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/.env index f10cb1023..d4b80903a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/.env @@ -1,2 +1,3 @@ RELEASE=7.21.20 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile index 5ea50b1bd..3de06371a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile.jdk11 index aed709006..876754e57 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/docker-compose.yml index 55c902659..98339f620 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.20/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.20" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/.env index e53199424..b0a997b7e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/.env @@ -1,2 +1,3 @@ RELEASE=7.21.21 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile index 09785afa1..c7a9a2c5a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile.jdk11 index 881b6daaf..bf8d82fd7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/docker-compose.yml index 1215fe68a..3ea27a2a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.21/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.21" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/.env index dacc57575..d5e16564f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/.env @@ -1,2 +1,3 @@ RELEASE=7.21.22 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile index 5a225442d..380771c82 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile.jdk11 index e5f0dec7d..2132adac6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/docker-compose.yml index 3c536d27d..55d992433 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.22/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.22" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/.env index 743015f83..698e077e9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/.env @@ -1,2 +1,3 @@ RELEASE=7.21.23 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile index 9b7833ba6..3e7fd8b82 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile.jdk11 index 3b2f63903..6022692f0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/docker-compose.yml index d43ade02f..1fa98a2e4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.23/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.23" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/.env index 2c1a2ba46..2c7fce9d7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/.env @@ -1,2 +1,3 @@ RELEASE=7.21.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile index dcef89b7a..0e2e1ab02 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile.jdk11 index bdf4f9121..bd49df4d3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/docker-compose.yml index 786cc4055..97817802d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/.env index 5e1fd569b..db2d09ce0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/.env @@ -1,2 +1,3 @@ RELEASE=7.21.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile index 45d5b7c15..f3a579bbf 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile.jdk11 index a48e23390..affd8ca64 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/docker-compose.yml index b2e919cae..753c14583 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/.env index 476db0c4c..e6f9b3ed4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/.env @@ -1,2 +1,3 @@ RELEASE=7.21.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile index afd81ae08..9d337f91f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile.jdk11 index c6203f91e..b865660d2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/docker-compose.yml index 1540c6a96..7bb7e7770 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.5" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/.env index 67a2e7d3e..8f9202505 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/.env @@ -1,2 +1,3 @@ RELEASE=7.21.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile index 4d85ab4b1..e1bd29f4e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile.jdk11 index 0060ef510..9acb5cb7d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/docker-compose.yml index f03974857..87c99335d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.6" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/.env index e930f3ee5..002da409c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/.env @@ -1,2 +1,3 @@ RELEASE=7.21.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile index 6155f54d3..3725a40ef 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile.jdk11 index 28ddbd1bc..716faad72 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/docker-compose.yml index 946064653..cbc635a1f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.7" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/.env index 9fc839f4b..76b90332a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/.env @@ -1,2 +1,3 @@ RELEASE=7.21.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile index 3c15bebfc..d1e171981 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile.jdk11 index 065a10b97..69e6b12e8 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/docker-compose.yml index 0a5a5b2a0..3298da96d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.8" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/.env b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/.env index ec325272f..a98d9950b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/.env @@ -1,2 +1,3 @@ RELEASE=7.21.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile index 43f2d9e4d..43036a825 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile.jdk11 index 37fb62c69..4fa797ced 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.21.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/docker-compose.yml index 6b01f6295..da1cb89bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.21.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.21.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.21.9" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/.env index 73449420a..3d560fc01 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/.env @@ -1,2 +1,3 @@ RELEASE=7.3.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile index 6cc952c44..83a6dc74e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile.jdk11 index 581d06ff3..ac95680ea 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/docker-compose.yml index 708d68c1f..ba82875f6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.3.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/.env index a51ff5d74..539252921 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/.env @@ -1,2 +1,3 @@ RELEASE=7.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile index 6d1c27a06..21fa27836 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile.jdk11 index f4f98463c..8354ce7e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/docker-compose.yml index 055e80082..a35cb3d42 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/.env index 825340de6..3eae5bae2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/.env @@ -1,2 +1,3 @@ RELEASE=7.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile index 79c06e64f..e5d41d7b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile.jdk11 index c7f09e8d7..73cab348f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/docker-compose.yml index 9e9040bd0..697ecbb0d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.3.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/.env index c5fe48d72..9bb0d5ede 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/.env @@ -1,2 +1,3 @@ RELEASE=7.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile index daaa04572..eab2ce622 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile.jdk11 index 4209e5d83..755126ab5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/docker-compose.yml index 98d7dcc83..52e899cd7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.4.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/.env index 4a7ad0f3a..05c267b7b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/.env @@ -1,2 +1,3 @@ RELEASE=7.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile index 2563c99ab..110daa305 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile.jdk11 index 70b0ab4fb..f507bbcbc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/docker-compose.yml index 0e5729b7c..c69e0135e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.4.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/.env index 286304282..ef226d988 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/.env @@ -1,2 +1,3 @@ RELEASE=7.4.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile index 30afcfb77..22993ac84 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile.jdk11 index a5c6804e6..810155e19 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/docker-compose.yml index d7ba73fe1..1fb3411f6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.4.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/.env index b9f0e5bc9..d852f2693 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/.env @@ -1,2 +1,3 @@ RELEASE=7.5.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile index 0df6c2118..03edfef00 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile.jdk11 index 739e1f21d..b91127497 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/docker-compose.yml index 405e9967f..048b289a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.5.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/.env index c55ee8bdf..4f47bb0fa 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/.env @@ -1,2 +1,3 @@ RELEASE=7.5.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile index 43ccc5e6b..cb01cd55f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile.jdk11 index 3c2d48a0e..ed17c3e91 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/docker-compose.yml index 4b2ba561d..a15aad538 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.5.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/.env index c6ee20fd2..41aa1321c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/.env @@ -1,2 +1,3 @@ RELEASE=7.5.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile index c2e37db51..cf4978780 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile.jdk11 index 6fd9b5716..d182eb809 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/docker-compose.yml index 2da626102..bf2f306dd 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.5.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/.env index 854450ce2..a856e869d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/.env @@ -1,2 +1,3 @@ RELEASE=7.6.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile index 469ebef0e..ed6733fed 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile.jdk11 index 5610da125..5d0c9342e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/docker-compose.yml index a31223ed3..11daadfcd 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/.env index 07704dd6f..0f96d048e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/.env @@ -1,2 +1,3 @@ RELEASE=7.6.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile index 5ff1b3046..6842069b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile.jdk11 index 1c6194a59..f5b97f683 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/docker-compose.yml index 45f8905df..294ecd3b9 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/.env index 68be80ff6..40bdbd6e3 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/.env @@ -1,2 +1,3 @@ RELEASE=7.6.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile index 01f5fff4c..3e7b78f61 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile.jdk11 index 10af22362..268a74113 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/docker-compose.yml index 56e27fb14..b034aa13c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.10" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/.env index 677b3b643..accd8ab19 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/.env @@ -1,2 +1,3 @@ RELEASE=7.6.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile index 87b1eab13..57d04b070 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile.jdk11 index 540294999..978b9986a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/docker-compose.yml index 9cd94bec0..d5f946e58 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.11" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/.env index 883e809dc..70da88305 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/.env @@ -1,2 +1,3 @@ RELEASE=7.6.12 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile index 40853c35a..2db677a61 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile.jdk11 index cfa383d55..b52a4f61d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/docker-compose.yml index 1f2daa7d0..2a6783232 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.12" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/.env index db0eff3de..3cf4070e8 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/.env @@ -1,2 +1,3 @@ RELEASE=7.6.13 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile index d4aff6183..50bca522b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile.jdk11 index 89a0a2866..84772f905 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/docker-compose.yml index 42719f601..b95f00cb6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.13" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/.env index 81de091ba..ead791eda 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/.env @@ -1,2 +1,3 @@ RELEASE=7.6.14 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile index 5048d5f19..c38f2bdab 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile.jdk11 index d82128ee5..1757d6904 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/docker-compose.yml index 269139df0..658dc953b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.14" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/.env index 456d607fc..e96336c7f 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/.env @@ -1,2 +1,3 @@ RELEASE=7.6.15 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile index 53687119b..a15277a97 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile.jdk11 index 6549eb0d0..7187051bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/docker-compose.yml index 4e187a2bd..e4aac0752 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.15" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/.env index 892ac1298..7df2c1667 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/.env @@ -1,2 +1,3 @@ RELEASE=7.6.16 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile index e27f86b28..72ae7677d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile.jdk11 index 1e0b257d8..8d1636d5a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/docker-compose.yml index f8a81449f..0ea6449fa 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.16" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/.env index c688d2037..6fac9484e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/.env @@ -1,2 +1,3 @@ RELEASE=7.6.17 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile index 5988d4843..c93240f23 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile.jdk11 index e39fd3c47..9e1c8c440 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/docker-compose.yml index 0d2bc724c..603921cb0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.17" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/.env index a95ead050..165fef778 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/.env @@ -1,2 +1,3 @@ RELEASE=7.6.19 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile index b78cc2f5e..bd0217e99 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile.jdk11 index 441c33523..f12f7d408 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/docker-compose.yml index 581b8a315..36ff837f0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.19" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/.env index 060a26fc6..932f44e10 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/.env @@ -1,2 +1,3 @@ RELEASE=7.6.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile index 58a549968..a09966ca0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile.jdk11 index 7da7b57b2..cf6496afa 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/docker-compose.yml index ae877d6d5..b7444bc94 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.2" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/.env index e2a78c74a..9d6f9031e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/.env @@ -1,2 +1,3 @@ RELEASE=7.6.20 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile index 67c098322..d1de63282 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile.jdk11 index ef6fea7c9..86c92d88b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/docker-compose.yml index f8f7ae26f..42fae6141 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.20/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.20" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/.env index 8ccaf8236..256553927 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/.env @@ -1,2 +1,3 @@ RELEASE=7.6.21 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile index 7568b2f55..72af6f179 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile.jdk11 index f3eea6a8f..e44ce86b4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/docker-compose.yml index 8e8f3f25c..b053f2249 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.21/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.21" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/.env index 211e4d859..2db8cb293 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/.env @@ -1,2 +1,3 @@ RELEASE=7.6.22 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile index a57b1dcd5..0e041e5ba 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile.jdk11 index cdb3e1e5a..df5f5d43d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/docker-compose.yml index 27cd9619d..17c089565 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.22/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.22" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/.env index 2e42f13ab..1eb7ca507 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/.env @@ -1,2 +1,3 @@ RELEASE=7.6.23 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile index 7b7651d4c..91a2b564a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile.jdk11 index dd6589af0..8f233e00b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/docker-compose.yml index 5a272885b..5e93ddbe0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.23/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.23" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/.env index 465066c56..68a9cf79a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/.env @@ -1,2 +1,3 @@ RELEASE=7.6.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile index 7d563c0c2..f83a959b5 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile.jdk11 index fa91be599..a5f305128 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/docker-compose.yml index afa08f7ca..b6ee04d93 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.3" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/.env index 6f614d804..37b653181 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/.env @@ -1,2 +1,3 @@ RELEASE=7.6.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile index b36f66c3f..0551da672 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile.jdk11 index f58c00b11..279c57bad 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/docker-compose.yml index 9e14e07e4..7f14ea5bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.4" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/.env index 63d77c582..f6a6cfe8c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/.env @@ -1,2 +1,3 @@ RELEASE=7.6.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile index 61d9d00a4..8bf22ca4b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile.jdk11 index 7473d13af..d9e99f0b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/docker-compose.yml index 64192d940..18641f5b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.5" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/.env index cc3a05588..221a9bc14 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/.env @@ -1,2 +1,3 @@ RELEASE=7.6.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile index 77c7a0adb..be263cc1d 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile.jdk11 index e092d97af..4d36a118a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/docker-compose.yml index 6b51242f3..5e1877de6 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.6" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/.env index e2857bec1..2bb206052 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/.env @@ -1,2 +1,3 @@ RELEASE=7.6.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile index dc4e94bda..a471d17f0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile.jdk11 index 7c658507d..38fa15b9b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/docker-compose.yml index 07dceadc8..81bf05232 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.7" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/.env index 262eebedf..b4b6b318a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/.env @@ -1,2 +1,3 @@ RELEASE=7.6.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile index c1879532b..8f589cae1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile.jdk11 index 53da7dc12..8eb6b50b4 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/docker-compose.yml index 09e18cdeb..a5c27fb09 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.8" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/.env b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/.env index 4f04d1b61..9732a90c7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/.env @@ -1,2 +1,3 @@ RELEASE=7.6.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile index b2499fe9e..3a6b90063 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile.jdk11 index d4b01690d..7fa4f2ca1 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/docker-compose.yml index 771ce4edb..0c69ce0ff 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.6.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.6.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.6.9" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/.env index 4f8dafd96..5c9e4f3ac 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/.env @@ -1,2 +1,3 @@ RELEASE=7.7.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile index 3c1cfdf08..3b74ed4e2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile.jdk11 index f23147407..c8ca3891e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/docker-compose.yml index 1d627a683..6982bf2c0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.7.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/.env index 01d42b3b5..8e4352a27 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/.env @@ -1,2 +1,3 @@ RELEASE=7.7.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile index 4999f2310..82d23cd4b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile.jdk11 index 1d1fc375d..36cbdd5b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/docker-compose.yml index 4624c5041..6c396a892 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.7.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/.env index 9afa2f16d..f7a587ca8 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/.env @@ -1,2 +1,3 @@ RELEASE=7.8.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile index 174f7a71b..ad3a0d17e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile.jdk11 index cf2db1726..6ee3304cb 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/docker-compose.yml index 3d81ca5f0..d1936d334 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.8.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/.env index 84a3c15d8..666e4ea8b 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/.env @@ -1,2 +1,3 @@ RELEASE=7.8.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile index a979197ee..76f4b339c 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile.jdk11 index 87fdcd91a..22ace5c10 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/docker-compose.yml index b317f6a1b..a5e872668 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.8.1" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/.env b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/.env index aab77ccc4..0b4f8ba1e 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/.env @@ -1,2 +1,3 @@ RELEASE=7.9.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile index c135dda41..55bd82e8a 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile.jdk11 index 4b1ed96d6..60d424ca2 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/docker-compose.yml index 70f6c6477..46d0c96fa 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.9.0" diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/.env b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/.env index ac890701b..9390da496 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/.env @@ -1,2 +1,3 @@ RELEASE=7.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile index 114b8f26f..e3564f2d7 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile.jdk11 index 2f06bf403..a9df3e974 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/docker-compose.yml index 139cce5d7..de0881fbe 100644 --- a/linux/ecosystem/atlassian/bitbucket/7/7.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/7/7.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:7.9.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/.env index b995c70e1..857dee742 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/.env @@ -1,2 +1,3 @@ RELEASE=8.0.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile index dc35c7850..16d18624b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile.jdk11 index 969e0b520..81602c6d1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/docker-compose.yml index 9bea55746..90e7e12b5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.0.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/.env index fd125b640..8d566c744 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/.env @@ -1,2 +1,3 @@ RELEASE=8.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile index bb0464ec9..02e8dd96c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile.jdk11 index d7952c480..7038168f0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/docker-compose.yml index cbd7c864d..d211f8b1f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.0.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/.env index 6a086d460..e15d2a6e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/.env @@ -1,2 +1,3 @@ RELEASE=8.0.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile index 4f4eb5ecf..6fd54ef09 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile.jdk11 index 6cc4281d5..e6b83d800 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/docker-compose.yml index 68761dbf9..0a82ac0c1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.0.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/.env index 7e0aecd1c..6a1381afa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/.env @@ -1,2 +1,3 @@ RELEASE=8.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile index f2af33f3a..b64bcf138 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile.jdk11 index 6954b3199..59d1587e5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/docker-compose.yml index 405a4474f..4b81726f3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.0.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/.env index 6eb831943..60a0b1c44 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/.env @@ -1,2 +1,3 @@ RELEASE=8.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile index 09511965d..a1ddb024a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile.jdk11 index 70d9a5527..1e100b57b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/docker-compose.yml index c37a0badb..7f598f642 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.0.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/.env index fce55ec2e..9b46a9da7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/.env @@ -1,2 +1,3 @@ RELEASE=8.0.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile index 3e0e91526..7da05ee44 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile.jdk11 index 39b8c949e..352f1e8ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/docker-compose.yml index d6743d79a..5e2bcc73e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.0.5" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/.env index fce52175c..dbb50c126 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/.env @@ -1,2 +1,3 @@ RELEASE=8.1.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile index be1640270..fd39ed977 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile.jdk11 index a595165f0..b70332545 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/docker-compose.yml index 4be91d6f1..f234b904c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.1.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/.env index 5ec5b8ad7..b88bd62af 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/.env @@ -1,2 +1,3 @@ RELEASE=8.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile index 79c8668f1..bfc00892e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile.jdk11 index 2c76fce4e..eaa3f1a1b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/docker-compose.yml index f590c1bf7..b2c540688 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.1.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/.env index 114587f75..cf0a54c5b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/.env @@ -1,2 +1,3 @@ RELEASE=8.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile index 8dacd9cac..8905d1967 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile.jdk11 index 9622a7137..ff0c02841 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/docker-compose.yml index 346b4e624..d3f07408f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.1.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/.env index 9f4592586..97ef2ed19 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/.env @@ -1,2 +1,3 @@ RELEASE=8.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile index 058b05bfb..726d3c805 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile.jdk11 index 5125cf19e..3d401d3b9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/docker-compose.yml index 1dddc17c8..d2d8fc9ab 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.1.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/.env index c1c26da76..c0ff43c61 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/.env @@ -1,2 +1,3 @@ RELEASE=8.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile index d6a93eba0..154cd58c7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile.jdk11 index 40510dbd7..db0fbf3e7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/docker-compose.yml index 088e04ab0..8f7067116 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.1.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/.env index 5d79be1f2..f993d2f62 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/.env @@ -1,2 +1,3 @@ RELEASE=8.1.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile index d7c4b19b5..fb53840ec 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile.jdk11 index d25405768..62710f747 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/docker-compose.yml index 0fbee9cb8..baf3c6f07 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.1.5" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/.env index 0db17ac96..bb2628884 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/.env @@ -1,2 +1,3 @@ RELEASE=8.10.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile index c38c76f6a..1f2714957 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk11 index 352866ec7..691888d24 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk17 index 441fd50e0..5529de30f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/.env index c1b470193..5333a4827 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/.env @@ -1,2 +1,3 @@ RELEASE=8.10.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile index b84a2a74d..d936d867c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk11 index 9e62dce12..40bdb983a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk17 index 51714b42b..46f838794 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/.env index ce22c51ef..df62a8f1a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/.env @@ -1,2 +1,3 @@ RELEASE=8.10.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile index 6aa7f01ed..22eec3a72 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk11 index ed2cb71a9..b8a91749f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk17 index f1d90fec7..ba869bb1f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/.env index c36b8e28f..edcce19aa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/.env @@ -1,2 +1,3 @@ RELEASE=8.10.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile index fdd14339e..f3de80652 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk11 index fffd91bee..821abb5a8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk17 index 25542f76f..419baadcb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/.env index cb6fdaaa6..c835be509 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/.env @@ -1,2 +1,3 @@ RELEASE=8.10.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile index a6266ce79..d06e505fe 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk11 index ad1454c55..1134fd550 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk17 index dc0b9009e..1bdc91744 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/.env index 7b8ea3575..d7855983d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/.env @@ -1,2 +1,3 @@ RELEASE=8.10.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile index e00a1a797..ce4f9fe92 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk11 index ff965e187..a2e9309cd 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk17 index f8af5fbf1..504ea585c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/.env index 8468e0f4a..35b413105 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/.env @@ -1,2 +1,3 @@ RELEASE=8.10.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile index 78b64cf9e..28ee1ccff 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk11 index b50b619dd..4b468a770 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk17 index 806382590..ffb1fc95a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.10.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/.env index 4169baf69..4a8fdfae5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/.env @@ -1,2 +1,3 @@ RELEASE=8.11.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile index 9438fda5c..576989175 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk11 index 6da9d8e88..b876dca3f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk17 index 2112355af..1b163e843 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/.env index fab732e21..98e0b4c47 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/.env @@ -1,2 +1,3 @@ RELEASE=8.11.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile index d063ef50e..6853e5094 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk11 index 6e68b9fa6..53d5add0d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk17 index 8437079bb..e09e6df23 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/.env index 3746d52b4..326f897b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/.env @@ -1,2 +1,3 @@ RELEASE=8.11.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile index 0366eaf7c..11ece84a9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk11 index 54a213402..afc68d3f7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk17 index f990f4dca..ce3d08736 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/.env index cdddfa5f3..ffaec0803 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/.env @@ -1,2 +1,3 @@ RELEASE=8.11.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile index f6552894d..be630cece 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk11 index 40ac76ccf..f933101c9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk17 index 13fdbf60b..dd01a918f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/.env index f65df6174..b6d2fdf8f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/.env @@ -1,2 +1,3 @@ RELEASE=8.11.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile index 252336ef7..d05291c59 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk11 index 2ddc46683..216006f4e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk17 index 575681213..9760cd24d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/.env index 009bae0fd..be92142bc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/.env @@ -1,2 +1,3 @@ RELEASE=8.11.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile index aaa87daba..6e17a58a3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk11 index 6f7e33046..4e427faa4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk17 index c81d40768..5358c7473 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/.env index f9d2db456..76adf31bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/.env @@ -1,2 +1,3 @@ RELEASE=8.11.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile index d82253c38..9ddfb7906 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk11 index 0304220e9..da60cc669 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk17 index 2caddd347..ae314878e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.11.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/.env index ac3269559..08250ce43 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/.env @@ -1,2 +1,3 @@ RELEASE=8.12.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile index 8bdd32b75..cc430b675 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk11 index 19d3aac49..93c34de36 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk17 index ccd9b89c2..e55ec5aec 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/.env index 28a907028..7b30afe86 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/.env @@ -1,2 +1,3 @@ RELEASE=8.12.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile index 9ab8428f9..e67ed46a4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk11 index 7dd1cf8d3..8147fa47d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk17 index 7b1c62585..2c7b47841 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/.env index dfee44037..7de667e1c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/.env @@ -1,2 +1,3 @@ RELEASE=8.12.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile index 82d36bc0c..babf32bfa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk11 index c139450f0..79f288a26 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk17 index ce545f942..3297d7d5b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/.env index 8c444a1c8..391d5c61a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/.env @@ -1,2 +1,3 @@ RELEASE=8.12.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile index 20042a252..41eb9ce3e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk11 index efba3f885..7a774afb4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk17 index 426ee86e6..112173c69 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/.env index 229ef0010..082ac780b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/.env @@ -1,2 +1,3 @@ RELEASE=8.12.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile index 598b6d018..dc474c7bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk11 index d0888405f..7bb497fa9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk17 index a1e9771b8..905df5e47 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/.env index 5e60d55ad..7e1468de9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/.env @@ -1,2 +1,3 @@ RELEASE=8.12.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile index 0a10e28a4..a2bdf78de 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk11 index 9d226c84c..e2295d725 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk17 index 723fdc529..33669955b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/.env index 2f0177e9f..21b9a2aea 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/.env @@ -1,2 +1,3 @@ RELEASE=8.12.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile index fe9bbffcf..c2ac54e92 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk11 index 7235f8e06..309101f3f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk17 index 22a0278d2..1c0ae1ce7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.12.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/.env index 17c81badb..ca267c1b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/.env @@ -1,2 +1,3 @@ RELEASE=8.13.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile index 0436474ff..5bcf2ae91 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk11 index adcae7b5e..e7a05bd81 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk17 index b7fb927d9..35c5037a5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/.env index 5a1e70c6a..8d64f5276 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/.env @@ -1,2 +1,3 @@ RELEASE=8.13.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile index 027363577..bbaa65ab8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk11 index 9f6756425..1cd2091bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk17 index e6bdd9467..c474d4c86 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/.env index b991fd73e..a383bcde9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/.env @@ -1,2 +1,3 @@ RELEASE=8.13.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile index 4f2ec13cf..69d5c4d71 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk11 index 86158e047..845a145b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk17 index a24509416..ffa5dc1db 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/.env index 46408a6ca..2574dc2d9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/.env @@ -1,2 +1,3 @@ RELEASE=8.13.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile index 61126a1f0..c76a0b41a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk11 index 0cb8fbcb0..8b7170add 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk17 index 955596be4..4037c795d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/.env index b7eae982b..411eaf080 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/.env @@ -1,2 +1,3 @@ RELEASE=8.13.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile index 6b683832c..fa1d3b4bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk11 index 60d57c596..0bde02742 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk17 index c4fd40cd7..291352622 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/.env index 5c1f81127..7a4d8c6b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/.env @@ -1,2 +1,3 @@ RELEASE=8.13.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile index 602abdd56..56cf4fd8e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk11 index 1bd44e54f..ea5065bf8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk17 index 36def7e4d..d3385adfc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/.env index 2304dc909..347f9bbf1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/.env @@ -1,2 +1,3 @@ RELEASE=8.13.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile index b7c32b8e8..3636cdce7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk11 index be0842974..aa94637df 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk17 index 49c81ef43..d6a14b4a1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.13.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/.env index fc86f53b3..890cc61a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/.env @@ -1,2 +1,3 @@ RELEASE=8.14.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile index 218ebac66..fa149d16a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk11 index c0f239d5c..231c98c7b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk17 index 744d2edb7..a2268f1c7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/.env index d625d7e98..e418e379d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/.env @@ -1,2 +1,3 @@ RELEASE=8.14.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile index 85b80c93f..4e0484e7d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk11 index 6d7249c34..d655c357d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk17 index b5ec451ea..66e79e195 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/.env index 6fa9e73dd..56f468960 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/.env @@ -1,2 +1,3 @@ RELEASE=8.14.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile index 605c3fc27..4d1df40c4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk11 index 27aae9e55..27b1cc854 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk17 index 56400ed49..d4d91b669 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/.env index 0ad23e5f6..e14b3753f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/.env @@ -1,2 +1,3 @@ RELEASE=8.14.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile index 893f4737f..0d2543f1d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk11 index e15ee63f2..3a0629dd7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk17 index b598ab709..e0ddbc2d0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/.env index 8e5a19ccd..8541a4eee 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/.env @@ -1,2 +1,3 @@ RELEASE=8.14.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile index 06825799e..bef19b8bd 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk11 index 55837eb59..a4496a1b2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk17 index 84b98c3ae..897c75f08 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/.env index 212aedf77..f8ad339be 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/.env @@ -1,2 +1,3 @@ RELEASE=8.14.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile index 030ee7c62..8aaab99b6 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk11 index 4d54d5513..49024733b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk17 index 501017b80..e847c7a88 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/.env index 4b6c7d8d9..a3fcca345 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/.env @@ -1,2 +1,3 @@ RELEASE=8.14.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile index 2966c8164..4f9990d3a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk11 index 9efa5b205..20720010a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk17 index 96a770291..b335b12f7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.14.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/.env index 87f695659..d5b4bd589 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/.env @@ -1,2 +1,3 @@ RELEASE=8.15.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile index b862021d7..256685c1d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk11 index 2892808b0..88e42d231 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk17 index 64f0233db..cc5949dc2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/.env index 18b9210b7..072722b3a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/.env @@ -1,2 +1,3 @@ RELEASE=8.15.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile index d71a6f752..ac9c42975 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk11 index a3b27802f..e5f102d6e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk17 index ab0f6fc79..b1c91622c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/.env index 947b9e411..7751fd7cc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/.env @@ -1,2 +1,3 @@ RELEASE=8.15.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile index c8d34950a..b9d3bba2a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk11 index e253d9ae1..d4d4a86d7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk17 index 6c2ed0c32..730db4f9b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/.env index 787c136ff..df16cfd7b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/.env @@ -1,2 +1,3 @@ RELEASE=8.15.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile index 8e51f00c6..9e5bae90f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk11 index 41fddd579..7b41cdd95 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk17 index 0cafee333..8b00b7833 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/.env index 27628fc13..7ddbb6424 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/.env @@ -1,2 +1,3 @@ RELEASE=8.15.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile index b41d65704..df4664254 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk11 index 5ff7c8990..694e8443d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk17 index f922aa158..37e84eaa7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/.env index 5ecf4931b..4622b16a0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/.env @@ -1,2 +1,3 @@ RELEASE=8.15.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile index 59524d169..121469410 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk11 index 4dac70e57..6dbf90161 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk17 index f2dce2509..458d5feef 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.15.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/.env index f951ae25f..214d912d0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/.env @@ -1,2 +1,3 @@ RELEASE=8.16.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile index c635c1b7b..dd16ff901 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk11 index 9d78e090c..307ae6bfc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk17 index 125934d50..1708c4d60 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/.env index e2100e8ed..eca793d41 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/.env @@ -1,2 +1,3 @@ RELEASE=8.16.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile index 1488c57fa..8af4603ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk11 index 347edf672..d1f86c9f2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk17 index f276c59f2..2f2d16ac3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/.env index 95462e943..1f771bb42 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/.env @@ -1,2 +1,3 @@ RELEASE=8.16.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile index d2a49c112..837d67c8a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk11 index 38d9a7b8f..6dd3e0907 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk17 index 4e0dd5510..6adc19514 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/.env index 4cb90a3fb..2bad87552 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/.env @@ -1,2 +1,3 @@ RELEASE=8.16.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile index 7fa1562a0..2b17a32d9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk11 index 6bc79025f..06a954b09 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk17 index 1a634f7f9..1e3d808b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/.env index 6263b145a..00b27588d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/.env @@ -1,2 +1,3 @@ RELEASE=8.16.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile index 13d42319c..1a61107aa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk11 index db393d928..f4c6b34fa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk17 index 076a30cfa..e347948db 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.16.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.17.0/.env index 79a210228..153f9bda0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.0/.env @@ -1,2 +1,3 @@ RELEASE=8.17.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.17.0/Dockerfile index 074905adf..d85cc7687 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.17.0/docker-compose.yml index bbeceebca..b69c99ce1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.17.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.17.1/.env index 012544168..f8122375b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.1/.env @@ -1,2 +1,3 @@ RELEASE=8.17.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.17.1/Dockerfile index 7e4420ce6..b4d574ff6 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.17.1/docker-compose.yml index b7587257c..4d8c9bf59 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.17.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.17.2/.env index f4007c97c..fcd8014bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.2/.env @@ -1,2 +1,3 @@ RELEASE=8.17.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.17.2/Dockerfile index fe9bd0865..3deb97478 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.17.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.17.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.17.2/docker-compose.yml index ba7f6c1f3..dd95cc2cb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.17.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.17.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.17.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.18.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.18.0/.env index efc2a6a57..285d62427 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.18.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.18.0/.env @@ -1,2 +1,3 @@ RELEASE=8.18.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.18.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.18.0/Dockerfile index a1806c3ee..2ee71fead 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.18.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.18.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.18.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.18.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.18.0/docker-compose.yml index 4b226ff23..9980de7b4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.18.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.18.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.18.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.18.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.18.1/.env index 2cd6a3999..ebbe5a201 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.18.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.18.1/.env @@ -1,2 +1,3 @@ RELEASE=8.18.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.18.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.18.1/Dockerfile index 48de3efe3..1cb252bfe 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.18.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.18.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.18.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.18.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.18.1/docker-compose.yml index 28c9e9c70..7459064cb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.18.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.18.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.18.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.0/.env index 366e37996..25d76c984 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.0/.env @@ -1,2 +1,3 @@ RELEASE=8.19.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.0/Dockerfile index 6419566de..b9a204cf3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.0/docker-compose.yml index 65fdaec6a..c805e377e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.1/.env index 1a319f9dc..600bd9161 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.1/.env @@ -1,2 +1,3 @@ RELEASE=8.19.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.1/Dockerfile index dd2e8a399..693bb879b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.1/docker-compose.yml index 013fad4ba..10c8277d7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.10/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.10/.env index 3aec0438a..9aa022509 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.10/.env @@ -1,2 +1,3 @@ RELEASE=8.19.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.10/Dockerfile index 36ee3d609..b84a48cdc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.10/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.10/docker-compose.yml index 2b420c5e8..e68756acf 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.10" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.11/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.11/.env index 9f9eaafd5..ddd9a18a1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.11/.env @@ -1,2 +1,3 @@ RELEASE=8.19.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.11/Dockerfile index c763dde69..9c7ceb0e9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.11/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.11/docker-compose.yml index 0d539d2ce..7ed9010dd 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.11" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.12/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.12/.env index 250408c75..b8fd3e05e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.12/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.12/.env @@ -1,2 +1,3 @@ RELEASE=8.19.12 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.12/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.12/Dockerfile index 353f66075..b9ad1d371 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.12/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.12/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.12/docker-compose.yml index 643dd4d1c..c66eb22a8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.12" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.13/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/.env new file mode 100644 index 000000000..0e6c730b6 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/.env @@ -0,0 +1,3 @@ +RELEASE=8.19.13 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.13/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/Dockerfile new file mode 100644 index 000000000..b36d093d7 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.19.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/teamcity/agent/php7.3/Makefile b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.3/Makefile rename to linux/ecosystem/atlassian/bitbucket/8/8.19.13/Makefile diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.13/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/docker-compose.yml new file mode 100644 index 000000000..2d7333d29 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/bitbucket:8.19.13" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:8.19.13-jdk17" + build: + context: . diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.13/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.13/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.14/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/.env new file mode 100644 index 000000000..11258f74e --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/.env @@ -0,0 +1,3 @@ +RELEASE=8.19.14 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.14/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/Dockerfile new file mode 100644 index 000000000..70f41d1d0 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.19.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/teamcity/agent/php7.4/Makefile b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/php7.4/Makefile rename to linux/ecosystem/atlassian/bitbucket/8/8.19.14/Makefile diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.14/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/docker-compose.yml new file mode 100644 index 000000000..ea810f255 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/bitbucket:8.19.14" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:8.19.14-jdk17" + build: + context: . diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.14/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.14/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.15/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/.env new file mode 100644 index 000000000..7a6f79a69 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/.env @@ -0,0 +1,3 @@ +RELEASE=8.19.15 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.15/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/Dockerfile new file mode 100644 index 000000000..eddcefa13 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.19.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/teamcity/agent/php8.0/Makefile b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.0/Makefile rename to linux/ecosystem/atlassian/bitbucket/8/8.19.15/Makefile diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.15/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/docker-compose.yml new file mode 100644 index 000000000..dde57efeb --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/bitbucket:8.19.15" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:8.19.15-jdk17" + build: + context: . diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.15/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.15/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.16/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/.env new file mode 100644 index 000000000..9b65a5532 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/.env @@ -0,0 +1,3 @@ +RELEASE=8.19.16 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.16/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/Dockerfile new file mode 100644 index 000000000..c3e74ce2b --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.19.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/teamcity/agent/php8.1/Makefile b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.1/Makefile rename to linux/ecosystem/atlassian/bitbucket/8/8.19.16/Makefile diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.16/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/docker-compose.yml new file mode 100644 index 000000000..1ddc9aaef --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/bitbucket:8.19.16" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:8.19.16-jdk17" + build: + context: . diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.16/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.16/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.2/.env index 30ef1b8c3..2197343ca 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.2/.env @@ -1,2 +1,3 @@ RELEASE=8.19.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.2/Dockerfile index dc3cff735..36c8e6da6 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.2/docker-compose.yml index 10ecbbfa0..74f382ddc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.3/.env index f6adb1a4e..4914e00e2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.3/.env @@ -1,2 +1,3 @@ RELEASE=8.19.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.3/Dockerfile index de327669e..68ba7eaef 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.3/docker-compose.yml index 5028b8d22..8b4e16ebc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.4/.env index 544d5cab2..a5181551f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.4/.env @@ -1,2 +1,3 @@ RELEASE=8.19.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.4/Dockerfile index bdaf07aad..f456fb177 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.4/docker-compose.yml index 0123a2563..1fb73824e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.5/.env index 8a6c33573..377a47131 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.5/.env @@ -1,2 +1,3 @@ RELEASE=8.19.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.5/Dockerfile index 761d7fb8c..cc7e5d418 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.5/docker-compose.yml index 02de324aa..ba11fa8da 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.5" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.6/.env index d729acbad..380a1e10a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.6/.env @@ -1,2 +1,3 @@ RELEASE=8.19.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.6/Dockerfile index 2947eee66..5948e0762 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.6/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.6/docker-compose.yml index 4e068160f..ba7bc02bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.6" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.7/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.7/.env index d547024af..79f72f586 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.7/.env @@ -1,2 +1,3 @@ RELEASE=8.19.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.7/Dockerfile index 7457cf973..694adf2e1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.7/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.7/docker-compose.yml index 80e21329e..8cfc0458e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.7" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.8/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.8/.env index 51f4339c6..5db9297c1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.8/.env @@ -1,2 +1,3 @@ RELEASE=8.19.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.8/Dockerfile index 8159449f7..ed97079e2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.8/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.8/docker-compose.yml index 5910980f2..12a8fc15a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.8" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.9/.env b/linux/ecosystem/atlassian/bitbucket/8/8.19.9/.env index 3a11bbde7..e6c41d427 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.9/.env @@ -1,2 +1,3 @@ RELEASE=8.19.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.19.9/Dockerfile index 93a333295..e89a764d8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.19.9/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.19.9/docker-compose.yml index b4c331178..2658e51b0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.19.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.19.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.19.9" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/.env index 0221dc70b..13efc38b9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/.env @@ -1,2 +1,3 @@ RELEASE=8.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile index 151882cf9..658b5505e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile.jdk11 index 134cfa0fd..c9d8073b4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/docker-compose.yml index 1340087be..3557cfdb1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/.env index 32fb4739c..b61493e66 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/.env @@ -1,2 +1,3 @@ RELEASE=8.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile index 5530887d6..8ef0ceec3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile.jdk11 index 7b854e566..2977c107b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/docker-compose.yml index 5d7548cfa..ac70a0e68 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.2.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/.env index 00cc697b9..4fd0c6c57 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/.env @@ -1,2 +1,3 @@ RELEASE=8.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile index ba6fc93ce..ddededbfa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile.jdk11 index f12ba6ae1..50ac73102 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/docker-compose.yml index a8fab9833..21f773458 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.2.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/.env index 32eaf5c91..97160387e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/.env @@ -1,2 +1,3 @@ RELEASE=8.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile index 6d2b32a08..f032e6d8d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile.jdk11 index 9f93ddb97..a73f61d09 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/docker-compose.yml index 545699a25..ef51237f8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.2.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/.env index 67cad35d4..7ff97e38c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/.env @@ -1,2 +1,3 @@ RELEASE=8.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile index c7ec7238f..3c52517f0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile.jdk11 index a7623ec95..f3a93cf3f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/docker-compose.yml index 3911cc6f7..7ae0c12c6 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.2.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/.env index e6c12c3ac..49007154c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/.env @@ -1,2 +1,3 @@ RELEASE=8.3.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile index 59480a932..d14e0133e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile.jdk11 index f050f0cd9..4ed3784c2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/docker-compose.yml index de9a3a937..c507e511f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.3.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/.env index 8fed23bf5..80691f958 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/.env @@ -1,2 +1,3 @@ RELEASE=8.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile index d2e02dd0b..96f22076f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile.jdk11 index f28380474..a4f6bbe2c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/docker-compose.yml index 6248fc70c..90d98f810 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/.env index 0e84a11d2..0ba2f8181 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/.env @@ -1,2 +1,3 @@ RELEASE=8.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile index d5c9570df..7fda76f1c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile.jdk11 index d61d11c3b..2b9ac1f05 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/docker-compose.yml index 6c56e3112..fcc2d9efa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.3.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/.env index 2e030161c..d1d6fc8cf 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/.env @@ -1,2 +1,3 @@ RELEASE=8.3.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile index 73e836fd9..af529ed4c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile.jdk11 index fbf9a0e66..3853bed10 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/docker-compose.yml index 646ceaff1..6c7e980cb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.3.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/.env index 40a329fd4..50cb5c032 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/.env @@ -1,2 +1,3 @@ RELEASE=8.3.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile index cde6208f1..ab8158bf1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile.jdk11 index 64877d597..f0401da6e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/docker-compose.yml index 08a72a73c..30499965c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.3.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/.env index 642b71a8d..215a6bb90 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/.env @@ -1,2 +1,3 @@ RELEASE=8.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile index 895e11064..d8c195e83 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile.jdk11 index 97cb25dfe..eb08f757c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/docker-compose.yml index 1a3d19169..910714ffe 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.4.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/.env index 8a41c9559..9e3327f04 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/.env @@ -1,2 +1,3 @@ RELEASE=8.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile index 387c003ba..a61cce394 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile.jdk11 index 4a9bf3ce4..b8b4c5419 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/docker-compose.yml index 1c30044ae..6c5392a78 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.4.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/.env index 8187c0e5b..cfd262411 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/.env @@ -1,2 +1,3 @@ RELEASE=8.4.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile index 63a930d00..2081a0b50 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile.jdk11 index 85814133e..3a4866f5b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/docker-compose.yml index b5edee1f3..c190a7b46 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.4.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/.env index bf206ff20..62aa811c4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/.env @@ -1,2 +1,3 @@ RELEASE=8.4.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile index 1f1e41f7d..370c3d028 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile.jdk11 index bc55802c5..75e3e8177 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/docker-compose.yml index 81d540d74..164f9a682 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.4.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/.env index 2d8f28e4e..508f4fb93 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/.env @@ -1,2 +1,3 @@ RELEASE=8.4.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile index b79398525..3544354af 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile.jdk11 index 8b8aaf915..bd67d0495 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/docker-compose.yml index f10f48e83..138e052d7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.4.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/.env index efda4b2a3..1e5ea443c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/.env @@ -1,2 +1,3 @@ RELEASE=8.5.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile index b54c03625..b52ee9275 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile.jdk11 index 9c6430826..4033fc327 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/docker-compose.yml index 62a37d209..b3338816a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.5.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/.env index 0a2b6aab5..1267a1032 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/.env @@ -1,2 +1,3 @@ RELEASE=8.5.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile index 472b9cb24..23aa56f83 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile.jdk11 index 5c2853156..936e6b3c3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/docker-compose.yml index 829812778..09745a680 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.5.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/.env index 5743ad903..fb07c9f1e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/.env @@ -1,2 +1,3 @@ RELEASE=8.5.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile index 7c6cb6be6..bdf93e8d1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile.jdk11 index 656e6e4dd..a1343f588 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/docker-compose.yml index 5e010b621..19c86e7fb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.5.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/.env index b4ef15fab..ef0e65ac9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/.env @@ -1,2 +1,3 @@ RELEASE=8.5.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile index b812622ac..70724b31e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile.jdk11 index d3ddedac5..8043265c8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/docker-compose.yml index 13e89faad..f7617f0c7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.5.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/.env index 98efd95a4..eb4532cd5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/.env @@ -1,2 +1,3 @@ RELEASE=8.5.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile index 4014b54b7..22a8dd9fb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile.jdk11 index ba43e20cc..9858e184a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/docker-compose.yml index 69c747812..8757b564e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.5.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/.env index 3c5574bd7..78cd9fea8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/.env @@ -1,2 +1,3 @@ RELEASE=8.6.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile index b2b56acf4..990e737b1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile.jdk11 index 12aa8a0b3..c70c233f9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/docker-compose.yml index a5fa8bfb6..a1f7b9da9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.6.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/.env index 2f292f1d3..5bd3c173c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/.env @@ -1,2 +1,3 @@ RELEASE=8.6.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile index f738b7a9c..0da90a916 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile.jdk11 index b3814f1b0..454deb682 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/docker-compose.yml index 685e329a1..87896e53f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.6.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/.env index e8752b2c5..795aec40c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/.env @@ -1,2 +1,3 @@ RELEASE=8.6.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile index e004db921..3547e09bf 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile.jdk11 index 6f2c8df06..19cf90bac 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/docker-compose.yml index 178767f93..46059d5ca 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.6.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/.env index 9ea9b06e5..cc50eb95d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/.env @@ -1,2 +1,3 @@ RELEASE=8.6.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile index 4ab15b7c2..a502bbf9b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile.jdk11 index 0fed6ab5a..62e241a63 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/docker-compose.yml index a9bede63b..9a831abee 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.6.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/.env index e8cd4a34d..b83af3e56 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/.env @@ -1,2 +1,3 @@ RELEASE=8.6.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile index b53279cc5..eedd5c4db 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile.jdk11 index ff3c0a7c3..7a1ff4762 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/docker-compose.yml index 996f2d588..7c1797e90 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.6.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/.env index abd9b8752..553218b16 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/.env @@ -1,2 +1,3 @@ RELEASE=8.7.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile index f21828333..c92276b90 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile.jdk11 index 7f49a5737..c65d002af 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/docker-compose.yml index 42bfe2c31..e264c6ec0 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.7.0" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/.env index 5faffa303..2d75691ed 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/.env @@ -1,2 +1,3 @@ RELEASE=8.7.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile index c64d421f1..0fdd790ad 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile.jdk11 index f15763a84..34bf29010 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/docker-compose.yml index 80fef63a9..09dc8d40b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.7.1" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/.env index cd36bfe6b..6741b4c42 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/.env @@ -1,2 +1,3 @@ RELEASE=8.7.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile index 86ced8983..2f93c89c7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile.jdk11 index ca2bbb7a4..65af14ac3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/docker-compose.yml index f0278fb84..831905dc3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.7.2" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/.env index f5cd11ca0..0854a1e36 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/.env @@ -1,2 +1,3 @@ RELEASE=8.7.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile index 82e25586f..b0f9d9aeb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile.jdk11 index a85a88380..4be08b3be 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/docker-compose.yml index 42c757a84..8ac35d373 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.7.3" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/.env index 9142db993..224477303 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/.env @@ -1,2 +1,3 @@ RELEASE=8.7.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile index 2da4d9d54..8f76b9b87 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile.jdk11 index a5229888f..8df832543 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/docker-compose.yml index 340c55dcf..a1e7ee599 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.7.4" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/.env index 6f8a3096e..4eeb81f75 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/.env @@ -1,2 +1,3 @@ RELEASE=8.7.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile index f318846e2..c25702438 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile.jdk11 index 4c69d7349..cdf85e700 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/docker-compose.yml index e320cb581..31eb27db1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.7.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/8/8.7.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:8.7.5" diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/.env index f67575849..dab4ee39f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/.env @@ -1,2 +1,3 @@ RELEASE=8.8.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile index df145a81f..2c7981a94 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk11 index e08604b74..8dc231496 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk17 index 90b671cb3..561689411 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/.env index 17aa987a7..73e0f6589 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/.env @@ -1,2 +1,3 @@ RELEASE=8.8.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile index 664840389..5b879fdfd 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk11 index c9df30c87..adc0b2b3a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk17 index 920911602..c33e7e09b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/.env index 17d00056d..d72c0aafa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/.env @@ -1,2 +1,3 @@ RELEASE=8.8.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile index 49da4bea6..d6242e71e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk11 index fd21e592b..b4b8ee741 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk17 index 957614a39..e86bb6cba 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/.env index 13124a916..e960165a2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/.env @@ -1,2 +1,3 @@ RELEASE=8.8.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile index cb4389ddc..16abab034 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk11 index 82b4294c7..3c9b92be9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk17 index aa002f8c1..d01bdac88 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/.env index 5f6ac6fe8..b24247b41 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/.env @@ -1,2 +1,3 @@ RELEASE=8.8.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile index 5d77d75e9..944b9eeff 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk11 index c14c3484f..f0fe48f25 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk17 index 423e480ca..90e773276 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/.env index 398036dd8..e8630a8d5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/.env @@ -1,2 +1,3 @@ RELEASE=8.8.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile index c8e269c10..244a135fb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk11 index 7c3093da7..cec069549 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk17 index cd5751971..4bc4d155f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/.env index 42fa899e0..8525bf43e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/.env @@ -1,2 +1,3 @@ RELEASE=8.8.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile index 03d1a0d36..4e211df1a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk11 index 49d4d9722..647f81545 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk17 index d8e0d24f7..6ed1a88b5 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/.env b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/.env index 9f039bfba..e613b7372 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/.env @@ -1,2 +1,3 @@ RELEASE=8.8.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile index e3827b20e..ad9b870d2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk11 index eb318221a..081002a35 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk17 index 4dcfea4cc..a01dcfd34 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.8.7/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/.env index 520a87265..f99754772 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/.env @@ -1,2 +1,3 @@ RELEASE=8.9.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile index 7bf595ae5..18e2fdf12 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk11 index 42b586de9..f6918dcfa 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk17 index 1d13ce943..e1d2eb6b8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/.env index be60e67bf..7656e9f57 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/.env @@ -1,2 +1,3 @@ RELEASE=8.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile index d93d7571a..5a1328182 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk11 index 4b11e40db..f9d5e4a2e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk17 index 1084a75c6..d2a60ae58 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/.env index 691c68b91..ad8c1b92a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/.env @@ -1,2 +1,3 @@ RELEASE=8.9.10 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile index 96aeb6c19..1bfdc8676 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk11 index a4160586b..9d59aa870 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk17 index 7e50ab9f9..b0a3f999a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.10/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/.env index 5fa26cbff..d15d4df5e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/.env @@ -1,2 +1,3 @@ RELEASE=8.9.11 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile index e7ba042d7..b48e5f570 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk11 index ca8997174..f36a5d756 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk17 index 5f552d30e..9d52d6056 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.11/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/.env index 8eb49eebf..f3e187e1e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/.env @@ -1,2 +1,3 @@ RELEASE=8.9.12 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile index 05c454fa5..35cd897ce 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk11 index ee1801ae9..b49690782 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk17 index 734bc624c..a94067f19 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.12/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/.env index 6b212f3cc..bf4b3c502 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/.env @@ -1,2 +1,3 @@ RELEASE=8.9.13 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile index f1887349a..69f935bf1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk11 index 5e339ea12..6acaec572 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk17 index c1e442f99..ac1e149dd 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.13/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/.env index 7e55cc30e..bda1e3e4e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/.env @@ -1,2 +1,3 @@ RELEASE=8.9.14 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile index 732a17cea..7c418f3d3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk11 index 92cd36d28..0d33caf6b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk17 index 9040f8422..742c4eab2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.14/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/.env index 4ea3d9b85..1ab7e2761 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/.env @@ -1,2 +1,3 @@ RELEASE=8.9.15 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile index b4cc13f09..d29a652f9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk11 index b907377ef..1f80a1032 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk17 index f3bcad0a5..03171af4d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.15/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/.env index 3352b7c8c..79bbd9d79 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/.env @@ -1,2 +1,3 @@ RELEASE=8.9.16 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile index 6d73bd59c..31f8e08d4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk11 index cce3ed3cc..c465123d3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk17 index 13e7abd20..e678fb1f4 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.16/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/.env index 39db775df..a07d8dbe7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/.env @@ -1,2 +1,3 @@ RELEASE=8.9.17 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile index ed771f929..bed83cf89 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk11 index f48c24dd6..9a593ea14 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk17 index c0cf17f7d..126cc22db 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.17/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/.env index 14ff0ad33..11ee6ba84 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/.env @@ -1,2 +1,3 @@ RELEASE=8.9.18 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile index d06f8e535..6193b82e7 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk11 index dff470b68..1c86e95da 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk17 index 3cfd1d111..867a52643 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.18/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/.env index c8559c3af..a18f5a95b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/.env @@ -1,2 +1,3 @@ RELEASE=8.9.19 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile index b37e3474e..01432d757 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk11 index ecbbbba6c..01f6a3f8e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk17 index b9bddb521..ec0233b38 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.19/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/.env index 925bee192..c7bf1e53e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/.env @@ -1,2 +1,3 @@ RELEASE=8.9.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile index d4c88bbec..78205e33a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk11 index 26299f276..06a4bdd96 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk17 index 6b118b768..d927c9eda 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/.env index a71f35294..fa76f7d08 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/.env @@ -1,2 +1,3 @@ RELEASE=8.9.20 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile index 363f48aa8..20f27c307 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk11 index 534e4c023..ebf43dec3 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk17 index cbe782fa5..cbb77cba8 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.20/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/.env index 7d29bf21c..d6b103b6b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/.env @@ -1,2 +1,3 @@ RELEASE=8.9.21 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile index 1d9f207db..870e2bd35 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk11 index 4656cbbc6..291bc243c 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk17 index 0095ccbe4..ddf2c3770 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.21/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/.env index bed726d98..6fa57b1e6 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/.env @@ -1,2 +1,3 @@ RELEASE=8.9.22 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile index eed5e9d3c..df5c2efda 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk11 index 33b839c66..46970e5bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk17 index bdb53cb76..0f50741a1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.22/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/.env index e62e29911..d6971f61f 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/.env @@ -1,2 +1,3 @@ RELEASE=8.9.3 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile index f86cfc127..9cb60789d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk11 index affcba88d..bbdb8f9ea 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk17 index 98e893587..507b20140 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/.env index bb8a857c6..8421d516d 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/.env @@ -1,2 +1,3 @@ RELEASE=8.9.4 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile index 1b1204c45..1344d6fa1 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk11 index d03871219..49ccaa92e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk17 index d787d93c0..6a27bc05a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/.env index 12f7f48ae..764d74ffe 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/.env @@ -1,2 +1,3 @@ RELEASE=8.9.5 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile index 798076b55..addf5540e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk11 index 68be4eb62..30c15419a 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk17 index b7632393b..330424401 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/.env index f33574938..a93cc964b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/.env @@ -1,2 +1,3 @@ RELEASE=8.9.6 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile index bbf62867b..4fd62fcc2 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk11 index 4e54a40bc..660b1412b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk17 index e595a4823..dade7af5e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/.env index 38820eeee..37b1dacfb 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/.env @@ -1,2 +1,3 @@ RELEASE=8.9.7 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile index ee2a6d93d..9f1bbea6b 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk11 index 633d03069..960ac17b9 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk17 index ccf1ff4f8..dcac81561 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.7/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/.env index 5762e268d..0438ff541 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/.env @@ -1,2 +1,3 @@ RELEASE=8.9.8 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile index 2b6436511..c926f840e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk11 index 98e6069d3..ee7fb4483 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk17 index 68994f14a..ed584f689 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.8/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/.env b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/.env index 8ddbaa3ff..3e0f2115e 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/.env +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/.env @@ -1,2 +1,3 @@ RELEASE=8.9.9 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile index 925508859..6dd2bb4dc 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk11 index 57f35fed0..4e420b710 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk17 b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk17 index e55be37db..2d70e0687 100644 --- a/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/bitbucket/8/8.9.9/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.0.0/.env b/linux/ecosystem/atlassian/bitbucket/9/9.0.0/.env index af02090ec..cb6fb433e 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.0.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.0.0/.env @@ -1,2 +1,3 @@ RELEASE=9.0.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.0.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.0.0/Dockerfile index a1e8746df..1f352b35e 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.0.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.0.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.0.0/docker-compose.yml index 84396854f..95467ce8c 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.0.0" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.0.1/.env b/linux/ecosystem/atlassian/bitbucket/9/9.0.1/.env index 18b5312b9..00a05ac5e 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.0.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.0.1/.env @@ -1,2 +1,3 @@ RELEASE=9.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.0.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.0.1/Dockerfile index df64e26aa..52905ee7f 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.0.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.0.1/docker-compose.yml index 0cdd023ab..b766bcce2 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.0.1" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.1.0/.env b/linux/ecosystem/atlassian/bitbucket/9/9.1.0/.env index 9ab3e1802..21832d89e 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.1.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.1.0/.env @@ -1,2 +1,3 @@ RELEASE=9.1.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.1.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.1.0/Dockerfile index a458bbd96..37c502545 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.1.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.1.0/docker-compose.yml index ea14b917f..990897391 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.1.0" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.1.1/.env b/linux/ecosystem/atlassian/bitbucket/9/9.1.1/.env index 8427a12e5..ce1024926 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.1.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.1.1/.env @@ -1,2 +1,3 @@ RELEASE=9.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.1.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.1.1/Dockerfile index df3c07f7d..45fe1c2bb 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.1.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.1.1/docker-compose.yml index 789b07495..bb486db55 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.1.1" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.2.0/.env b/linux/ecosystem/atlassian/bitbucket/9/9.2.0/.env index d913092dc..aabfee439 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.2.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.2.0/.env @@ -1,2 +1,3 @@ RELEASE=9.2.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.2.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.2.0/Dockerfile index 7e51dec1f..eb2c04024 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.2.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.2.0/docker-compose.yml index a81e633eb..914a5b347 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.2.0" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.2.1/.env b/linux/ecosystem/atlassian/bitbucket/9/9.2.1/.env index 68f41388a..2ebf441e9 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.2.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.2.1/.env @@ -1,2 +1,3 @@ RELEASE=9.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.2.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.2.1/Dockerfile index 4011d6197..383d1c380 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.2.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.2.1/docker-compose.yml index 8161c5bb3..206c32182 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.2.1" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/.env b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/.env index 81e22eaa2..6c730513e 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/.env @@ -1,2 +1,3 @@ RELEASE=9.3.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile index 3a1132288..9c182f07c 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile.jdk21 index 8291ca03b..d1a3198d8 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile.jdk21 +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/Dockerfile.jdk21 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/docker-compose.yml index bbc1dbdca..a61d4b9d8 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.3.0" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/.env b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/.env index e355f1c7b..44de0c119 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/.env @@ -1,2 +1,3 @@ RELEASE=9.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile index ef114d470..73f69c01a 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile.jdk21 index 16e74b0e1..8782df1ef 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile.jdk21 +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/Dockerfile.jdk21 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/docker-compose.yml index be7009ca1..106bfd697 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.3.1" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/.env b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/.env index 6c3ebdd47..836dc345c 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/.env @@ -1,2 +1,3 @@ RELEASE=9.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile index fd320e47d..e8f765b9a 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile.jdk21 index daa84398c..c73b92520 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile.jdk21 +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/Dockerfile.jdk21 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/docker-compose.yml index 5e5f889be..236ae709a 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.3.2" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/.env b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/.env index e3360c41a..b5eeb7d51 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/.env @@ -1,2 +1,3 @@ RELEASE=9.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile index 429d4ec09..2c12457cc 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile.jdk21 index a55602fe1..2db43f88d 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile.jdk21 +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/Dockerfile.jdk21 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/docker-compose.yml index d2c215f08..a8b6874b7 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.4.0" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.1/.env b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/.env new file mode 100644 index 000000000..f5cd06050 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/.env @@ -0,0 +1,3 @@ +RELEASE=9.4.1 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/Dockerfile new file mode 100644 index 000000000..0c9639b70 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.1/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/Dockerfile.jdk21 new file mode 100644 index 000000000..2b87c1653 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/Dockerfile.jdk21 @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/teamcity/agent/php8.2/Makefile b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.2/Makefile rename to linux/ecosystem/atlassian/bitbucket/9/9.4.1/Makefile diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/docker-compose.yml new file mode 100644 index 000000000..c707d4b29 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/bitbucket:9.4.1" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:9.4.1-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/bitbucket:9.4.1-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.1/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.1/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.2/.env b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/.env new file mode 100644 index 000000000..93744494b --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/.env @@ -0,0 +1,3 @@ +RELEASE=9.4.2 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/Dockerfile new file mode 100644 index 000000000..6d4af67e3 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.2/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/Dockerfile.jdk21 new file mode 100644 index 000000000..4861535c2 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/Dockerfile.jdk21 @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/teamcity/agent/php8.3/Makefile b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/Makefile similarity index 100% rename from linux/ecosystem/teamcity/agent/php8.3/Makefile rename to linux/ecosystem/atlassian/bitbucket/9/9.4.2/Makefile diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/docker-compose.yml new file mode 100644 index 000000000..c9608d89a --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/bitbucket:9.4.2" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:9.4.2-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/bitbucket:9.4.2-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.2/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.2/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.3/.env b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/.env new file mode 100644 index 000000000..65351cde5 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/.env @@ -0,0 +1,3 @@ +RELEASE=9.4.3 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Dockerfile new file mode 100644 index 000000000..7f3400318 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Dockerfile.jdk21 new file mode 100644 index 000000000..b2d532947 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Dockerfile.jdk21 @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Makefile b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.3/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/docker-compose.yml new file mode 100644 index 000000000..7c5782ce5 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/bitbucket:9.4.3" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:9.4.3-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/bitbucket:9.4.3-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.3/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.3/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.4/.env b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/.env new file mode 100644 index 000000000..b77d56cf3 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/.env @@ -0,0 +1,3 @@ +RELEASE=9.4.4 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Dockerfile new file mode 100644 index 000000000..c1aff50eb --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Dockerfile.jdk21 new file mode 100644 index 000000000..00e4a4052 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Dockerfile.jdk21 @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Makefile b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.4/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/docker-compose.yml new file mode 100644 index 000000000..1bc9cc7e3 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/bitbucket:9.4.4" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:9.4.4-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/bitbucket:9.4.4-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.4.4/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.4.4/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/.env b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/.env index 6d7b36d25..c17e81f07 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/.env +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/.env @@ -1,2 +1,3 @@ RELEASE=9.5.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile index eebd29245..55ceb7266 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile.jdk21 index 630f440dd..146fd5a6c 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile.jdk21 +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/Dockerfile.jdk21 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,7 +31,7 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} ################################################################## diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/docker-compose.yml index 5b4d0fdf0..4a1f59cf3 100644 --- a/linux/ecosystem/atlassian/bitbucket/9/9.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:9.5.0" diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.1/.env b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/.env new file mode 100644 index 000000000..05cbb557a --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/.env @@ -0,0 +1,3 @@ +RELEASE=9.5.1 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Dockerfile new file mode 100644 index 000000000..3d604343a --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Dockerfile.jdk21 new file mode 100644 index 000000000..76d936f69 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Dockerfile.jdk21 @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Makefile b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.1/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/docker-compose.yml new file mode 100644 index 000000000..22c916b72 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/bitbucket:9.5.1" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:9.5.1-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/bitbucket:9.5.1-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.1/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.1/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.2/.env b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/.env new file mode 100644 index 000000000..fb2752a6c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/.env @@ -0,0 +1,3 @@ +RELEASE=9.5.2 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Dockerfile new file mode 100644 index 000000000..6c02dbc48 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Dockerfile.jdk21 new file mode 100644 index 000000000..81026bf22 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Dockerfile.jdk21 @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Makefile b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.2/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/docker-compose.yml new file mode 100644 index 000000000..2afe24423 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/bitbucket:9.5.2" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:9.5.2-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/bitbucket:9.5.2-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.5.2/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.5.2/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.6.0/.env b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/.env new file mode 100644 index 000000000..800e4d8a0 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/.env @@ -0,0 +1,3 @@ +RELEASE=9.6.0 +DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Dockerfile b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Dockerfile new file mode 100644 index 000000000..4a23bed1a --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Dockerfile @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Dockerfile.jdk21 new file mode 100644 index 000000000..81c1d4e81 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Dockerfile.jdk21 @@ -0,0 +1,95 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory +ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket +ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket + +VOLUME ["${BITBUCKET_HOME}"] +WORKDIR $BITBUCKET_HOME + +# Expose HTTP and SSH ports +EXPOSE 7990 +EXPOSE 7999 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Makefile b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.6.0/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/docker-compose.yml new file mode 100644 index 000000000..ab4b86565 --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/bitbucket:9.6.0" + build: + context: . + app-jdk17: + image: "epicmorg/bitbucket:9.6.0-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/bitbucket:9.6.0-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/bitbucket/9/9.6.0/entrypoint.sh b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/entrypoint.sh new file mode 100755 index 000000000..842224a8c --- /dev/null +++ b/linux/ecosystem/atlassian/bitbucket/9/9.6.0/entrypoint.sh @@ -0,0 +1,57 @@ +#!/bin/bash +set -euo pipefail + +# Set recommended umask of "u=,g=w,o=rwx" (0027) +umask 0027 + +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}') + +#export PATH=$JAVA_HOME/bin:$PATH + + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +: ${ELASTICSEARCH_ENABLED:=true} +: ${APPLICATION_MODE:=} + +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}" + +JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +ARGS="$@" + +# Start Bitbucket without Elasticsearch +if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then + ARGS="--no-search ${ARGS}" +fi + +# Start Bitbucket 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" "${BITBUCKET_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + echo "Updating permissions for BITBUCKET_HOME" + mkdir -p "${BITBUCKET_HOME}/lib" && + chmod -R 700 "${BITBUCKET_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}" +else + exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS} +fi diff --git a/linux/ecosystem/atlassian/bitbucket/latest/.env b/linux/ecosystem/atlassian/bitbucket/latest/.env index e3360c41a..b5eeb7d51 100644 --- a/linux/ecosystem/atlassian/bitbucket/latest/.env +++ b/linux/ecosystem/atlassian/bitbucket/latest/.env @@ -1,2 +1,3 @@ RELEASE=9.4.0 DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile index b701a913c..4a23bed1a 100644 --- a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile @@ -5,8 +5,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE=9.4.0 +ARG RELEASE=9.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,16 +31,65 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ - chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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", "--"] -COPY entrypoint.sh /entrypoint.sh + +RUN updatedb diff --git a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk11 deleted file mode 100644 index 8c4f207f2..000000000 --- a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk11 +++ /dev/null @@ -1,45 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Bitbucket Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=9.4.0 -ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz - -################################################################## -# Setup -################################################################## -ENV RUN_USER daemon -ENV RUN_GROUP daemon - -# https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+home+directory -ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket -ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket - -VOLUME ["${BITBUCKET_HOME}"] -WORKDIR $BITBUCKET_HOME - -# Expose HTTP and SSH ports -EXPOSE 7990 -EXPOSE 7999 - -################################################################## -# Installing -################################################################## -ADD ${DOWNLOAD_URL} /tmp -RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ - chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt-get clean -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/* - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] -COPY entrypoint.sh /entrypoint.sh diff --git a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk21 b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk21 index 5435fc13a..81c1d4e81 100644 --- a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk21 +++ b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk21 @@ -5,8 +5,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE=9.4.0 +ARG RELEASE=9.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-bitbucket-${RELEASE}.tar.gz ################################################################## # Setup @@ -30,16 +31,65 @@ EXPOSE 7999 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-bitbucket-${RELEASE}.tar.gz --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ - chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${BITBUCKET_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} + +################################################################## +# Post-Installing Setup +################################################################## +RUN rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ + rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list && \ + apt-get update && \ + apt-get remove -y \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + git \ + git-extras \ + git-flow \ + git-cvs \ + git-doc \ + git-email \ + git-mediawiki \ + git-crypt \ + git-lfs \ + git-ftp + +################################################################## +# Git Check +################################################################## +RUN git-lfs install --skip-repo --system --force && \ + echo "=============================================" && \ + echo git $(git --version) && \ + echo git-lfs $(git-lfs --version) && \ + echo "=============================================" + +################################################################## +# 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", "--"] -COPY entrypoint.sh /entrypoint.sh + +RUN updatedb diff --git a/linux/ecosystem/atlassian/bitbucket/latest/docker-compose.yml b/linux/ecosystem/atlassian/bitbucket/latest/docker-compose.yml index 15a6b9970..af84d6c6b 100644 --- a/linux/ecosystem/atlassian/bitbucket/latest/docker-compose.yml +++ b/linux/ecosystem/atlassian/bitbucket/latest/docker-compose.yml @@ -1,14 +1,8 @@ -#version: '3' services: app: image: "epicmorg/bitbucket:latest" build: context: . - app-jdk11: - image: "epicmorg/bitbucket:latest-jdk11" - build: - context: . - dockerfile: ./Dockerfile.jdk11 app-jdk17: image: "epicmorg/bitbucket:latest-jdk17" build: diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.3/.env b/linux/ecosystem/atlassian/confluence/4/4.0.3/.env new file mode 100644 index 000000000..5904fd147 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.3/.env @@ -0,0 +1,3 @@ +RELEASE=4.0.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.3/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.0.3/Dockerfile new file mode 100644 index 000000000..044724e93 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.3/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.3/Makefile b/linux/ecosystem/atlassian/confluence/4/4.0.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.0.3/docker-compose.yml new file mode 100644 index 000000000..6d698bf2c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.3/docker-compose.yml @@ -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: . diff --git a/linux/ecosystem/atlassian/confluence/templates/6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.0.3/entrypoint.sh similarity index 100% rename from linux/ecosystem/atlassian/confluence/templates/6/entrypoint.sh rename to linux/ecosystem/atlassian/confluence/4/4.0.3/entrypoint.sh diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.4/.env b/linux/ecosystem/atlassian/confluence/4/4.0.4/.env new file mode 100644 index 000000000..cfa842e35 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.4/.env @@ -0,0 +1,3 @@ +RELEASE=4.0.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.4/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.0.4/Dockerfile new file mode 100644 index 000000000..dd83af152 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.4/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.4/Makefile b/linux/ecosystem/atlassian/confluence/4/4.0.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.0.4/docker-compose.yml new file mode 100644 index 000000000..035ea4ccd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.4/docker-compose.yml @@ -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: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.0.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.5/.env b/linux/ecosystem/atlassian/confluence/4/4.0.5/.env new file mode 100644 index 000000000..7c0b71eba --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.5/.env @@ -0,0 +1,3 @@ +RELEASE=4.0.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.5/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.0.5/Dockerfile new file mode 100644 index 000000000..dbf4c6ec5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.5/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.5/Makefile b/linux/ecosystem/atlassian/confluence/4/4.0.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.0.5/docker-compose.yml new file mode 100644 index 000000000..1c11896ce --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.5/docker-compose.yml @@ -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: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.0.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.7/.env b/linux/ecosystem/atlassian/confluence/4/4.0.7/.env new file mode 100644 index 000000000..d931cb64c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.7/.env @@ -0,0 +1,3 @@ +RELEASE=4.0.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.7/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.0.7/Dockerfile new file mode 100644 index 000000000..3d085253d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.7/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.7/Makefile b/linux/ecosystem/atlassian/confluence/4/4.0.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.0.7/docker-compose.yml new file mode 100644 index 000000000..1736f6d30 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.7/docker-compose.yml @@ -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: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.0.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.0.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0/.env b/linux/ecosystem/atlassian/confluence/4/4.0/.env new file mode 100644 index 000000000..55df30196 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0/.env @@ -0,0 +1,3 @@ +RELEASE=4.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.0/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.0/Dockerfile new file mode 100644 index 000000000..adc88ae78 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0/Makefile b/linux/ecosystem/atlassian/confluence/4/4.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.0/docker-compose.yml new file mode 100644 index 000000000..87081f812 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.0" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.0-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.10/.env b/linux/ecosystem/atlassian/confluence/4/4.1.10/.env new file mode 100644 index 000000000..4d9a525c9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.10/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.10 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.10/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.10/Dockerfile new file mode 100644 index 000000000..a20757ce1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.10/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.10/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.10/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.10/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.10/docker-compose.yml new file mode 100644 index 000000000..3ed6aa37b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.10/docker-compose.yml @@ -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: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.10/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.10/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.10/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.2/.env b/linux/ecosystem/atlassian/confluence/4/4.1.2/.env new file mode 100644 index 000000000..9197b971f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.2/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.2/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.2/Dockerfile new file mode 100644 index 000000000..66d0b6b76 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.2/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.2/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.2/docker-compose.yml new file mode 100644 index 000000000..a7ad879e5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.2/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1.2" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1.2-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.3/.env b/linux/ecosystem/atlassian/confluence/4/4.1.3/.env new file mode 100644 index 000000000..9eb35c97a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.3/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.3/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.3/Dockerfile new file mode 100644 index 000000000..acbada751 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.3/Dockerfile @@ -0,0 +1,64 @@ +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.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.3/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.3/docker-compose.yml new file mode 100644 index 000000000..97608b17d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1.3" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1.3-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.4/.env b/linux/ecosystem/atlassian/confluence/4/4.1.4/.env new file mode 100644 index 000000000..b61d061f9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.4/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.4/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.4/Dockerfile new file mode 100644 index 000000000..4df00ce9d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.4/Dockerfile @@ -0,0 +1,64 @@ +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.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.4/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.4/docker-compose.yml new file mode 100644 index 000000000..ffb4882b9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.4/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1.4" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1.4-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.5/.env b/linux/ecosystem/atlassian/confluence/4/4.1.5/.env new file mode 100644 index 000000000..6a5ead317 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.5/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.5/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.5/Dockerfile new file mode 100644 index 000000000..d407ff7bb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.5/Dockerfile @@ -0,0 +1,64 @@ +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.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.5/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.5/docker-compose.yml new file mode 100644 index 000000000..bf3582d09 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.5/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1.5" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1.5-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.6/.env b/linux/ecosystem/atlassian/confluence/4/4.1.6/.env new file mode 100644 index 000000000..5298a6bf9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.6/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.6/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.6/Dockerfile new file mode 100644 index 000000000..ded394b38 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.6/Dockerfile @@ -0,0 +1,64 @@ +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.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.6/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.6/docker-compose.yml new file mode 100644 index 000000000..6084061de --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.6/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1.6" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1.6-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.7/.env b/linux/ecosystem/atlassian/confluence/4/4.1.7/.env new file mode 100644 index 000000000..1381d85b0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.7/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.7/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.7/Dockerfile new file mode 100644 index 000000000..4e0cf491e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.7/Dockerfile @@ -0,0 +1,64 @@ +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.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.7/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.7/docker-compose.yml new file mode 100644 index 000000000..54597af96 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.7/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1.7" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1.7-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.9/.env b/linux/ecosystem/atlassian/confluence/4/4.1.9/.env new file mode 100644 index 000000000..5541ccbc7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.9/.env @@ -0,0 +1,3 @@ +RELEASE=4.1.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.9/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1.9/Dockerfile new file mode 100644 index 000000000..f0ae36839 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.9/Dockerfile @@ -0,0 +1,64 @@ +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.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.9/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1.9/docker-compose.yml new file mode 100644 index 000000000..4d2b42dc2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.9/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1.9" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1.9-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1/.env b/linux/ecosystem/atlassian/confluence/4/4.1/.env new file mode 100644 index 000000000..55cba2a5e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1/.env @@ -0,0 +1,3 @@ +RELEASE=4.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.1/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.1/Dockerfile new file mode 100644 index 000000000..b06fa2de5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1/Dockerfile @@ -0,0 +1,64 @@ +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 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1/Makefile b/linux/ecosystem/atlassian/confluence/4/4.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.1/docker-compose.yml new file mode 100644 index 000000000..1a165e3ec --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:4.1" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.1-jdk6" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/4/4.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.1/.env b/linux/ecosystem/atlassian/confluence/4/4.2.1/.env new file mode 100644 index 000000000..67740f373 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.1/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.1/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.1/Dockerfile new file mode 100644 index 000000000..e59931ec6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.1/Dockerfile.jdk7 new file mode 100644 index 000000000..4dd31f724 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.1/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.1/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.1/docker-compose.yml new file mode 100644 index 000000000..f9b45e08b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.1" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.1-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.11/.env b/linux/ecosystem/atlassian/confluence/4/4.2.11/.env new file mode 100644 index 000000000..5e50ab0a2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.11/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.11 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.11/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.11/Dockerfile new file mode 100644 index 000000000..5dc48f7e2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.11/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.11/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.11/Dockerfile.jdk7 new file mode 100644 index 000000000..e28a00aa8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.11/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.11/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.11/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.11/docker-compose.yml new file mode 100644 index 000000000..76236981b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.11/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.11" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.11-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.11-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.11/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.11/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.11/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.12/.env b/linux/ecosystem/atlassian/confluence/4/4.2.12/.env new file mode 100644 index 000000000..f97642747 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.12/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.12 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.12/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.12/Dockerfile new file mode 100644 index 000000000..d5785e9c2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.12/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.12/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.12/Dockerfile.jdk7 new file mode 100644 index 000000000..41d176441 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.12/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.12/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.12/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.12/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.12/docker-compose.yml new file mode 100644 index 000000000..3e50bd090 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.12/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.12" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.12-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.12-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.12/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.12/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.12/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.13/.env b/linux/ecosystem/atlassian/confluence/4/4.2.13/.env new file mode 100644 index 000000000..6d26d3077 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.13/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.13 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.13/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.13/Dockerfile new file mode 100644 index 000000000..5061b664c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.13/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.13/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.13/Dockerfile.jdk7 new file mode 100644 index 000000000..f920735f5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.13/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.13/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.13/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.13/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.13/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.13/docker-compose.yml new file mode 100644 index 000000000..4d93b7bcd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.13/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.13" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.13-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.13-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.13/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.13/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.13/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.2/.env b/linux/ecosystem/atlassian/confluence/4/4.2.2/.env new file mode 100644 index 000000000..3e566a5ef --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.2/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.2/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.2/Dockerfile new file mode 100644 index 000000000..7a9edba43 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.2/Dockerfile.jdk7 new file mode 100644 index 000000000..1a27cfb78 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.2/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.2/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.2/docker-compose.yml new file mode 100644 index 000000000..0be21ca80 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.2" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.2-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.3/.env b/linux/ecosystem/atlassian/confluence/4/4.2.3/.env new file mode 100644 index 000000000..26c401934 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.3/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.3/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.3/Dockerfile new file mode 100644 index 000000000..33abad759 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.3/Dockerfile.jdk7 new file mode 100644 index 000000000..0c7a52b10 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.3/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.3/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.3/docker-compose.yml new file mode 100644 index 000000000..a51caeb14 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.3" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.3-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.4/.env b/linux/ecosystem/atlassian/confluence/4/4.2.4/.env new file mode 100644 index 000000000..ad03ebc49 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.4/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.4/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.4/Dockerfile new file mode 100644 index 000000000..54f50a0d0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.4/Dockerfile.jdk7 new file mode 100644 index 000000000..3e8749e0b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.4/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.4/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.4/docker-compose.yml new file mode 100644 index 000000000..6828cbd9b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.4" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.4-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.5/.env b/linux/ecosystem/atlassian/confluence/4/4.2.5/.env new file mode 100644 index 000000000..0f8fcfa5f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.5/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.5/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.5/Dockerfile new file mode 100644 index 000000000..a5d6df7c8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.5/Dockerfile.jdk7 new file mode 100644 index 000000000..587f493dd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.5/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.5/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.5/docker-compose.yml new file mode 100644 index 000000000..2ccd093e1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.5" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.5-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.5-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.6/.env b/linux/ecosystem/atlassian/confluence/4/4.2.6/.env new file mode 100644 index 000000000..92f841cb0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.6/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.6/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.6/Dockerfile new file mode 100644 index 000000000..3d08465b2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.6/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.6/Dockerfile.jdk7 new file mode 100644 index 000000000..8013e8c8b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.6/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.6/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.6/docker-compose.yml new file mode 100644 index 000000000..2c9e85038 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.6" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.6-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.6-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.7/.env b/linux/ecosystem/atlassian/confluence/4/4.2.7/.env new file mode 100644 index 000000000..35bc8e663 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.7/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.7/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.7/Dockerfile new file mode 100644 index 000000000..53b63036b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.7/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.7/Dockerfile.jdk7 new file mode 100644 index 000000000..1618445d5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.7/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.7/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.7/docker-compose.yml new file mode 100644 index 000000000..589fd4d19 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.7" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.7-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.7-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.8/.env b/linux/ecosystem/atlassian/confluence/4/4.2.8/.env new file mode 100644 index 000000000..fac99de56 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.8/.env @@ -0,0 +1,3 @@ +RELEASE=4.2.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.8/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2.8/Dockerfile new file mode 100644 index 000000000..56291aa09 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.8/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2.8/Dockerfile.jdk7 new file mode 100644 index 000000000..832d93ee9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.8/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.8/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2.8/docker-compose.yml new file mode 100644 index 000000000..b152d6e43 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2.8" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2.8-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2.8-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2/.env b/linux/ecosystem/atlassian/confluence/4/4.2/.env new file mode 100644 index 000000000..613dfad1b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2/.env @@ -0,0 +1,3 @@ +RELEASE=4.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.2/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.2/Dockerfile new file mode 100644 index 000000000..90ec4b103 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.2/Dockerfile.jdk7 new file mode 100644 index 000000000..0ca8eb86b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2/Makefile b/linux/ecosystem/atlassian/confluence/4/4.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.2/docker-compose.yml new file mode 100644 index 000000000..5ef3f8fed --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.2" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.2-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.1/.env b/linux/ecosystem/atlassian/confluence/4/4.3.1/.env new file mode 100644 index 000000000..0e0d19c8c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.1/.env @@ -0,0 +1,3 @@ +RELEASE=4.3.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.1/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.3.1/Dockerfile new file mode 100644 index 000000000..b6c3cd649 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.3.1/Dockerfile.jdk7 new file mode 100644 index 000000000..afede9c59 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.1/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.1/Makefile b/linux/ecosystem/atlassian/confluence/4/4.3.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.3.1/docker-compose.yml new file mode 100644 index 000000000..2318127d7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.3.1" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.3.1-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.3.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.3.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.2/.env b/linux/ecosystem/atlassian/confluence/4/4.3.2/.env new file mode 100644 index 000000000..df25d82e0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.2/.env @@ -0,0 +1,3 @@ +RELEASE=4.3.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.2/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.3.2/Dockerfile new file mode 100644 index 000000000..09fcb00bd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.3.2/Dockerfile.jdk7 new file mode 100644 index 000000000..66cb23b7e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.2/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.2/Makefile b/linux/ecosystem/atlassian/confluence/4/4.3.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.3.2/docker-compose.yml new file mode 100644 index 000000000..2a9f40bd0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.3.2" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.3.2-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.3.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.3.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.3/.env b/linux/ecosystem/atlassian/confluence/4/4.3.3/.env new file mode 100644 index 000000000..b5e570ef6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.3/.env @@ -0,0 +1,3 @@ +RELEASE=4.3.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.3/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.3.3/Dockerfile new file mode 100644 index 000000000..321e721ff --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.3.3/Dockerfile.jdk7 new file mode 100644 index 000000000..d18237c2c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.3/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.3/Makefile b/linux/ecosystem/atlassian/confluence/4/4.3.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.3.3/docker-compose.yml new file mode 100644 index 000000000..3b69fbb4c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.3.3" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.3.3-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.3.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.3.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.5/.env b/linux/ecosystem/atlassian/confluence/4/4.3.5/.env new file mode 100644 index 000000000..d304823cd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.5/.env @@ -0,0 +1,3 @@ +RELEASE=4.3.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.5/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.3.5/Dockerfile new file mode 100644 index 000000000..aac6a8e52 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.3.5/Dockerfile.jdk7 new file mode 100644 index 000000000..c144088bd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.5/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.5/Makefile b/linux/ecosystem/atlassian/confluence/4/4.3.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.3.5/docker-compose.yml new file mode 100644 index 000000000..5fdb5bb66 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.3.5" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.3.5-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.3.5-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.3.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.6/.env b/linux/ecosystem/atlassian/confluence/4/4.3.6/.env new file mode 100644 index 000000000..b97b6a31d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.6/.env @@ -0,0 +1,3 @@ +RELEASE=4.3.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.6/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.3.6/Dockerfile new file mode 100644 index 000000000..624887e5b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.6/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.3.6/Dockerfile.jdk7 new file mode 100644 index 000000000..d5ae1b5fd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.6/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.6/Makefile b/linux/ecosystem/atlassian/confluence/4/4.3.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.3.6/docker-compose.yml new file mode 100644 index 000000000..2bf02dc26 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.3.6" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.3.6-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.3.6-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.3.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.7/.env b/linux/ecosystem/atlassian/confluence/4/4.3.7/.env new file mode 100644 index 000000000..0a6eea30a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.7/.env @@ -0,0 +1,3 @@ +RELEASE=4.3.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.7/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.3.7/Dockerfile new file mode 100644 index 000000000..b224c7ee1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.7/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.3.7/Dockerfile.jdk7 new file mode 100644 index 000000000..a2190ceb1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.7/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.7/Makefile b/linux/ecosystem/atlassian/confluence/4/4.3.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.3.7/docker-compose.yml new file mode 100644 index 000000000..68e155442 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.3.7" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.3.7-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.3.7-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.3.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3/.env b/linux/ecosystem/atlassian/confluence/4/4.3/.env new file mode 100644 index 000000000..de5653d62 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3/.env @@ -0,0 +1,3 @@ +RELEASE=4.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/4/4.3/Dockerfile b/linux/ecosystem/atlassian/confluence/4/4.3/Dockerfile new file mode 100644 index 000000000..705264f16 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/confluence/4/4.3/Dockerfile.jdk7 new file mode 100644 index 000000000..4e303f8ac --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3/Dockerfile.jdk7 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3/Makefile b/linux/ecosystem/atlassian/confluence/4/4.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/4/4.3/docker-compose.yml new file mode 100644 index 000000000..9978eabdd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:4.3" + build: + context: . + app-jdk6: + image: "epicmorg/confluence:4.3-jdk6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:4.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/confluence/4/4.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/4/4.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/4/4.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.1/.env b/linux/ecosystem/atlassian/confluence/5/5.0.1/.env new file mode 100644 index 000000000..97fe991e4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.0.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.0.1/Dockerfile new file mode 100644 index 000000000..229c0912e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.0.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.0.1/docker-compose.yml new file mode 100644 index 000000000..1857e54a4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.0.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.0.1-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.0.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.2/.env b/linux/ecosystem/atlassian/confluence/5/5.0.2/.env new file mode 100644 index 000000000..ce23aff29 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.2/.env @@ -0,0 +1,3 @@ +RELEASE=5.0.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.2/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.0.2/Dockerfile new file mode 100644 index 000000000..b3800c323 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.2/Makefile b/linux/ecosystem/atlassian/confluence/5/5.0.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.0.2/docker-compose.yml new file mode 100644 index 000000000..1e48d3b4d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.2/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.0.2" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.0.2-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.0.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.3/.env b/linux/ecosystem/atlassian/confluence/5/5.0.3/.env new file mode 100644 index 000000000..2299eaab5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.0.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.0.3/Dockerfile new file mode 100644 index 000000000..6f60967f9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.0.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.0.3/docker-compose.yml new file mode 100644 index 000000000..10cdb61a7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.0.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.0.3-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.0.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.0.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0/.env b/linux/ecosystem/atlassian/confluence/5/5.0/.env new file mode 100644 index 000000000..03b77b06e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0/.env @@ -0,0 +1,3 @@ +RELEASE=5.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.0/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.0/Dockerfile new file mode 100644 index 000000000..ad2f98e81 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0/Makefile b/linux/ecosystem/atlassian/confluence/5/5.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.0/docker-compose.yml new file mode 100644 index 000000000..fe159597b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.0" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.0-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.1/.env b/linux/ecosystem/atlassian/confluence/5/5.1.1/.env new file mode 100644 index 000000000..46017fdcf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.1.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.1.1/Dockerfile new file mode 100644 index 000000000..a9f2b89b0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.1.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.1.1/docker-compose.yml new file mode 100644 index 000000000..8f2f27b9b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.1.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.1.1-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.1.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.2/.env b/linux/ecosystem/atlassian/confluence/5/5.1.2/.env new file mode 100644 index 000000000..733ad018c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.2/.env @@ -0,0 +1,3 @@ +RELEASE=5.1.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.2/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.1.2/Dockerfile new file mode 100644 index 000000000..adeb5f538 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.2/Makefile b/linux/ecosystem/atlassian/confluence/5/5.1.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.1.2/docker-compose.yml new file mode 100644 index 000000000..3c75c481f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.2/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.1.2" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.1.2-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.1.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.3/.env b/linux/ecosystem/atlassian/confluence/5/5.1.3/.env new file mode 100644 index 000000000..0f2c81a16 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.1.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.1.3/Dockerfile new file mode 100644 index 000000000..0529d61b0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.1.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.1.3/docker-compose.yml new file mode 100644 index 000000000..d3c8759f7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.1.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.1.3-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.1.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.4/.env b/linux/ecosystem/atlassian/confluence/5/5.1.4/.env new file mode 100644 index 000000000..8533a460e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.1.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.1.4/Dockerfile new file mode 100644 index 000000000..118cf0025 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.1.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.1.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.1.4/docker-compose.yml new file mode 100644 index 000000000..d1e1dc9ad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.4/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.1.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.1.4-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.1.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.5/.env b/linux/ecosystem/atlassian/confluence/5/5.1.5/.env new file mode 100644 index 000000000..e80bbb9b6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.5/.env @@ -0,0 +1,3 @@ +RELEASE=5.1.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.5/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.1.5/Dockerfile new file mode 100644 index 000000000..14e331424 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.1.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.5/Makefile b/linux/ecosystem/atlassian/confluence/5/5.1.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.1.5/docker-compose.yml new file mode 100644 index 000000000..df467c188 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.5/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.1.5" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.1.5-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.1.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.1.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1/.env b/linux/ecosystem/atlassian/confluence/5/5.1/.env new file mode 100644 index 000000000..89fb21315 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.1/Dockerfile new file mode 100644 index 000000000..c60d70bbd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.1/docker-compose.yml new file mode 100644 index 000000000..9270b5329 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.1-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.0/.env b/linux/ecosystem/atlassian/confluence/5/5.10.0/.env new file mode 100644 index 000000000..3cfb6d993 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.0/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.0/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.0/Dockerfile new file mode 100644 index 000000000..95d52b358 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.0/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.0/Dockerfile.jdk8 new file mode 100644 index 000000000..3978bf301 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.0/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.0/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.0/docker-compose.yml new file mode 100644 index 000000000..c34219694 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.0" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.0-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.0-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.1/.env b/linux/ecosystem/atlassian/confluence/5/5.10.1/.env new file mode 100644 index 000000000..9fe8d7a57 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.1/Dockerfile new file mode 100644 index 000000000..d66236701 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.1/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.1/Dockerfile.jdk8 new file mode 100644 index 000000000..6046c138e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.1/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.1/docker-compose.yml new file mode 100644 index 000000000..9e1872a18 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.1-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.1-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.2/.env b/linux/ecosystem/atlassian/confluence/5/5.10.2/.env new file mode 100644 index 000000000..f53ab50f5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.2/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.2/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.2/Dockerfile new file mode 100644 index 000000000..e168c1bae --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.2/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.2/Dockerfile.jdk8 new file mode 100644 index 000000000..19222a1e1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.2/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.2/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.2/docker-compose.yml new file mode 100644 index 000000000..46d57f423 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.2" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.2-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.2-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.3/.env b/linux/ecosystem/atlassian/confluence/5/5.10.3/.env new file mode 100644 index 000000000..f197b67d4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.3/Dockerfile new file mode 100644 index 000000000..86e3a9230 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.3/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.3/Dockerfile.jdk8 new file mode 100644 index 000000000..33dd0f844 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.3/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.3/docker-compose.yml new file mode 100644 index 000000000..7247bf351 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.3-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.3-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.4/.env b/linux/ecosystem/atlassian/confluence/5/5.10.4/.env new file mode 100644 index 000000000..1c843c384 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.4/Dockerfile new file mode 100644 index 000000000..f4211d780 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.4/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.4/Dockerfile.jdk8 new file mode 100644 index 000000000..497e93bee --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.4/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.4/docker-compose.yml new file mode 100644 index 000000000..26dd01f30 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.4-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.4-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.6/.env b/linux/ecosystem/atlassian/confluence/5/5.10.6/.env new file mode 100644 index 000000000..b873350a9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.6/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.6/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.6/Dockerfile new file mode 100644 index 000000000..127fddf38 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.6/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.6/Dockerfile.jdk8 new file mode 100644 index 000000000..5f96b7891 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.6/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.6/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.6/docker-compose.yml new file mode 100644 index 000000000..9b89a1259 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.6-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.6-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.7/.env b/linux/ecosystem/atlassian/confluence/5/5.10.7/.env new file mode 100644 index 000000000..6b48363d4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.7/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.7/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.7/Dockerfile new file mode 100644 index 000000000..e35961401 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.7/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.7/Dockerfile.jdk8 new file mode 100644 index 000000000..f8ba8b74a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.7/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.7/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.7/docker-compose.yml new file mode 100644 index 000000000..8643adf5a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.7" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.7-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.7-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.8/.env b/linux/ecosystem/atlassian/confluence/5/5.10.8/.env new file mode 100644 index 000000000..cfa19fc30 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.8/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.8/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.8/Dockerfile new file mode 100644 index 000000000..e4c020e35 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.8/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.8/Dockerfile.jdk8 new file mode 100644 index 000000000..a0947df5c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.8/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.8/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.8/docker-compose.yml new file mode 100644 index 000000000..b296443ad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.8" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.8-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.8-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.9/.env b/linux/ecosystem/atlassian/confluence/5/5.10.9/.env new file mode 100644 index 000000000..8057c66d3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.9/.env @@ -0,0 +1,3 @@ +RELEASE=5.10.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.9/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.10.9/Dockerfile new file mode 100644 index 000000000..23c4ef16f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.9/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.9/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.10.9/Dockerfile.jdk8 new file mode 100644 index 000000000..624d00392 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.9/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.10.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.9/Makefile b/linux/ecosystem/atlassian/confluence/5/5.10.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.10.9/docker-compose.yml new file mode 100644 index 000000000..71adf4de8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.9/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.10.9" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.10.9-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.10.9-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.10.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.10.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.10.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.3/.env b/linux/ecosystem/atlassian/confluence/5/5.2.3/.env new file mode 100644 index 000000000..7adcff495 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.2.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.2.3/Dockerfile new file mode 100644 index 000000000..42fa2ec1e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.2.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.2.3/docker-compose.yml new file mode 100644 index 000000000..8fdc9ee01 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.2.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.2.3-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.2.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.5/.env b/linux/ecosystem/atlassian/confluence/5/5.2.5/.env new file mode 100644 index 000000000..299dc6852 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.5/.env @@ -0,0 +1,3 @@ +RELEASE=5.2.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.5/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.2.5/Dockerfile new file mode 100644 index 000000000..4c455b54f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.2.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.5/Makefile b/linux/ecosystem/atlassian/confluence/5/5.2.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.2.5/docker-compose.yml new file mode 100644 index 000000000..f6e42d4dc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.5/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.2.5" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.2.5-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.2.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.2.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.2.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.1/.env b/linux/ecosystem/atlassian/confluence/5/5.3.1/.env new file mode 100644 index 000000000..d6a5f8da0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.3.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.3.1/Dockerfile new file mode 100644 index 000000000..b3c9ffe8e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.3.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.3.1/docker-compose.yml new file mode 100644 index 000000000..f62e64f97 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.3.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.3.1-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.3.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.4/.env b/linux/ecosystem/atlassian/confluence/5/5.3.4/.env new file mode 100644 index 000000000..62911727c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.3.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.3.4/Dockerfile new file mode 100644 index 000000000..fd3ffa956 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.3.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.3.4/docker-compose.yml new file mode 100644 index 000000000..1e630f296 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.4/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.3.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.3.4-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.3.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.3.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3/.env b/linux/ecosystem/atlassian/confluence/5/5.3/.env new file mode 100644 index 000000000..2cacc8bd2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.3/Dockerfile new file mode 100644 index 000000000..bf1388952 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.3/docker-compose.yml new file mode 100644 index 000000000..4b9e3427e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.3-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.1/.env b/linux/ecosystem/atlassian/confluence/5/5.4.1/.env new file mode 100644 index 000000000..e9e041c59 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.4.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.4.1/Dockerfile new file mode 100644 index 000000000..bc7a4b29a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.4.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.4.1/docker-compose.yml new file mode 100644 index 000000000..dcb733a2d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.4.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.4.1-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.4.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.2/.env b/linux/ecosystem/atlassian/confluence/5/5.4.2/.env new file mode 100644 index 000000000..adf9a65ea --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.2/.env @@ -0,0 +1,3 @@ +RELEASE=5.4.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.2/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.4.2/Dockerfile new file mode 100644 index 000000000..6024953ad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.2/Makefile b/linux/ecosystem/atlassian/confluence/5/5.4.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.4.2/docker-compose.yml new file mode 100644 index 000000000..ac9f700fb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.2/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.4.2" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.4.2-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.4.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.3/.env b/linux/ecosystem/atlassian/confluence/5/5.4.3/.env new file mode 100644 index 000000000..a0c64a96f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.4.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.4.3/Dockerfile new file mode 100644 index 000000000..ab4d15a57 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.4.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.4.3/docker-compose.yml new file mode 100644 index 000000000..9611c7722 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.4.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.4.3-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.4.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.4/.env b/linux/ecosystem/atlassian/confluence/5/5.4.4/.env new file mode 100644 index 000000000..326974ba3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.4.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.4.4/Dockerfile new file mode 100644 index 000000000..9fff1d629 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.4.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.4.4/docker-compose.yml new file mode 100644 index 000000000..3c4179964 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.4/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.4.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.4.4-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.4.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.4.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4/.env b/linux/ecosystem/atlassian/confluence/5/5.4/.env new file mode 100644 index 000000000..fad6eb1d6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.4/Dockerfile new file mode 100644 index 000000000..a34e9a4d9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.4/docker-compose.yml new file mode 100644 index 000000000..2744580ef --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.4-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/.env b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/.env new file mode 100644 index 000000000..4047ae869 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/.env @@ -0,0 +1,3 @@ +RELEASE=5.5-OD-31-009 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/Dockerfile new file mode 100644 index 000000000..ed7de896b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.5-OD-31-009 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/Makefile b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/docker-compose.yml new file mode 100644 index 000000000..52238171f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.5-OD-31-009" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.5-OD-31-009-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5-OD-31-009/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.1/.env b/linux/ecosystem/atlassian/confluence/5/5.5.1/.env new file mode 100644 index 000000000..ea29f795e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.5.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.5.1/Dockerfile new file mode 100644 index 000000000..ad6794810 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.5.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.5.1/docker-compose.yml new file mode 100644 index 000000000..f1fe308f6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.5.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.5.1-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.5.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.2/.env b/linux/ecosystem/atlassian/confluence/5/5.5.2/.env new file mode 100644 index 000000000..11638def3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.2/.env @@ -0,0 +1,3 @@ +RELEASE=5.5.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.2/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.5.2/Dockerfile new file mode 100644 index 000000000..8ad926c23 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.2/Makefile b/linux/ecosystem/atlassian/confluence/5/5.5.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.5.2/docker-compose.yml new file mode 100644 index 000000000..0e24543ff --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.2/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.5.2" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.5.2-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.5.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.3/.env b/linux/ecosystem/atlassian/confluence/5/5.5.3/.env new file mode 100644 index 000000000..b5c9ac2b6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.5.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.5.3/Dockerfile new file mode 100644 index 000000000..c6767debd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.5.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.5.3/docker-compose.yml new file mode 100644 index 000000000..f58763571 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.5.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.5.3-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.5.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.6/.env b/linux/ecosystem/atlassian/confluence/5/5.5.6/.env new file mode 100644 index 000000000..cc14af7d8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.6/.env @@ -0,0 +1,3 @@ +RELEASE=5.5.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.6/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.5.6/Dockerfile new file mode 100644 index 000000000..62bf45807 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.5.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.6/Makefile b/linux/ecosystem/atlassian/confluence/5/5.5.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.5.6/docker-compose.yml new file mode 100644 index 000000000..3fdd008aa --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.6/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.5.6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.5.6-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.5.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.5.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5/.env b/linux/ecosystem/atlassian/confluence/5/5.5/.env new file mode 100644 index 000000000..74e9818d2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5/.env @@ -0,0 +1,3 @@ +RELEASE=5.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.5/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.5/Dockerfile index 5b06d3264..1a89a29b6 100644 --- a/linux/ecosystem/atlassian/confluence/5/5.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/5/5.5/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=5.5 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=5.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5/Makefile b/linux/ecosystem/atlassian/confluence/5/5.5/Makefile index d80aa9c7a..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/5/5.5/Makefile +++ b/linux/ecosystem/atlassian/confluence/5/5.5/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:5.5 . - docker push epicmorg/confluence:5.5 +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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.5/docker-compose.yml new file mode 100644 index 000000000..3aa15c1ba --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.5/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.5" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.5-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.1/.env b/linux/ecosystem/atlassian/confluence/5/5.6.1/.env new file mode 100644 index 000000000..ef01199cf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.6.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.6.1/Dockerfile new file mode 100644 index 000000000..39d84280e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.6.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.6.1/docker-compose.yml new file mode 100644 index 000000000..5bc0a53a5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.6.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.6.1-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.6.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.3/.env b/linux/ecosystem/atlassian/confluence/5/5.6.3/.env new file mode 100644 index 000000000..b394e525f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.6.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.6.3/Dockerfile new file mode 100644 index 000000000..570aeec7d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.6.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.6.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.6.3/docker-compose.yml new file mode 100644 index 000000000..b055ac1c8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.6.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.6.3-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.6.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.4/.env b/linux/ecosystem/atlassian/confluence/5/5.6.4/.env new file mode 100644 index 000000000..58ced34db --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.6.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.6.4/Dockerfile new file mode 100644 index 000000000..922d5ebe2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.6.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.6.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.6.4/docker-compose.yml new file mode 100644 index 000000000..fc5ed7aa4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.4/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.6.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.6.4-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.6.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.5/.env b/linux/ecosystem/atlassian/confluence/5/5.6.5/.env new file mode 100644 index 000000000..8ed163c30 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.5/.env @@ -0,0 +1,3 @@ +RELEASE=5.6.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.5/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.6.5/Dockerfile new file mode 100644 index 000000000..e8d721bf9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.6.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.5/Makefile b/linux/ecosystem/atlassian/confluence/5/5.6.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.6.5/docker-compose.yml new file mode 100644 index 000000000..1c9bd7a20 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.5/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.6.5" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.6.5-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.6.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.6/.env b/linux/ecosystem/atlassian/confluence/5/5.6.6/.env new file mode 100644 index 000000000..c3b21663b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.6/.env @@ -0,0 +1,3 @@ +RELEASE=5.6.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.6/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.6.6/Dockerfile new file mode 100644 index 000000000..ec9aa9ed4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.6.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.6/Makefile b/linux/ecosystem/atlassian/confluence/5/5.6.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.6.6/docker-compose.yml new file mode 100644 index 000000000..8ff694340 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.6/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:5.6.6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.6.6-jdk7" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/5/5.6.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.6.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.6.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.1/.env b/linux/ecosystem/atlassian/confluence/5/5.7.1/.env new file mode 100644 index 000000000..75b4818e2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.7.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.7.1/Dockerfile new file mode 100644 index 000000000..03471d0f7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.1/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.7.1/Dockerfile.jdk8 new file mode 100644 index 000000000..9632b38a4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.1/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.7.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.7.1/docker-compose.yml new file mode 100644 index 000000000..95f354288 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.7.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.7.1-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.7.1-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.7.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.3/.env b/linux/ecosystem/atlassian/confluence/5/5.7.3/.env new file mode 100644 index 000000000..e40f3e757 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.7.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.7.3/Dockerfile new file mode 100644 index 000000000..67cf11cb6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.3/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.7.3/Dockerfile.jdk8 new file mode 100644 index 000000000..cb4415484 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.3/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.7.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.7.3/docker-compose.yml new file mode 100644 index 000000000..3fc80121e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.7.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.7.3-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.7.3-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.7.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.4/.env b/linux/ecosystem/atlassian/confluence/5/5.7.4/.env new file mode 100644 index 000000000..aa71bac9c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.7.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.7.4/Dockerfile new file mode 100644 index 000000000..94c34f609 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.4/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.7.4/Dockerfile.jdk8 new file mode 100644 index 000000000..47715e732 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.4/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.7.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.7.4/docker-compose.yml new file mode 100644 index 000000000..927d39fa9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.7.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.7.4-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.7.4-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.7.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.5/.env b/linux/ecosystem/atlassian/confluence/5/5.7.5/.env new file mode 100644 index 000000000..24aa4098a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.5/.env @@ -0,0 +1,3 @@ +RELEASE=5.7.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.5/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.7.5/Dockerfile new file mode 100644 index 000000000..605d6aee7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.5/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.7.5/Dockerfile.jdk8 new file mode 100644 index 000000000..0f69dc4fa --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.5/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.5/Makefile b/linux/ecosystem/atlassian/confluence/5/5.7.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.7.5/docker-compose.yml new file mode 100644 index 000000000..6d802d2f0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.7.5" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.7.5-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.7.5-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.7.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.6/.env b/linux/ecosystem/atlassian/confluence/5/5.7.6/.env new file mode 100644 index 000000000..1a15fb18e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.6/.env @@ -0,0 +1,3 @@ +RELEASE=5.7.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.6/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.7.6/Dockerfile new file mode 100644 index 000000000..f3751343f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.6/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.7.6/Dockerfile.jdk8 new file mode 100644 index 000000000..ccb2ab57e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.6/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.6/Makefile b/linux/ecosystem/atlassian/confluence/5/5.7.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.7.6/docker-compose.yml new file mode 100644 index 000000000..fa2dbaf1c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.7.6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.7.6-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.7.6-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.7.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7/.env b/linux/ecosystem/atlassian/confluence/5/5.7/.env new file mode 100644 index 000000000..3273c8a1b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7/.env @@ -0,0 +1,3 @@ +RELEASE=5.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.7/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.7/Dockerfile new file mode 100644 index 000000000..c65461458 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.7/Dockerfile.jdk8 new file mode 100644 index 000000000..0bf27c9b1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7/Makefile b/linux/ecosystem/atlassian/confluence/5/5.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.7/docker-compose.yml new file mode 100644 index 000000000..a509579ee --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.7" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.7-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.7-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.10/.env b/linux/ecosystem/atlassian/confluence/5/5.8.10/.env new file mode 100644 index 000000000..18b258baf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.10/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.10 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.10/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.10/Dockerfile new file mode 100644 index 000000000..b0b13928c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.10/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.10/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.10/Dockerfile.jdk8 new file mode 100644 index 000000000..0ef85283e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.10/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.10/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.10/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.10/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.10/docker-compose.yml new file mode 100644 index 000000000..c4cf7431d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.10/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.10" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.10-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.10-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.10/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.10/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.10/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.13/.env b/linux/ecosystem/atlassian/confluence/5/5.8.13/.env new file mode 100644 index 000000000..092a9161a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.13/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.13 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.13/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.13/Dockerfile new file mode 100644 index 000000000..8b05e9ade --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.13/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.13/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.13/Dockerfile.jdk8 new file mode 100644 index 000000000..d527c67ea --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.13/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.13/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.13/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.13/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.13/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.13/docker-compose.yml new file mode 100644 index 000000000..6d558cdc8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.13/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.13" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.13-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.13-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.13/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.13/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.13/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.14/.env b/linux/ecosystem/atlassian/confluence/5/5.8.14/.env new file mode 100644 index 000000000..50df011a0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.14/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.14 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.14/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.14/Dockerfile new file mode 100644 index 000000000..0549d9f71 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.14/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.14/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.14/Dockerfile.jdk8 new file mode 100644 index 000000000..036f86782 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.14/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.14/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.14/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.14/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.14/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.14/docker-compose.yml new file mode 100644 index 000000000..d1143a92c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.14/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.14" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.14-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.14-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.14/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.14/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.14/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.15/.env b/linux/ecosystem/atlassian/confluence/5/5.8.15/.env new file mode 100644 index 000000000..7e0ccdccd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.15/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.15 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.15/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.15/Dockerfile new file mode 100644 index 000000000..29a02ffa8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.15/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.15/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.15/Dockerfile.jdk8 new file mode 100644 index 000000000..ee4b2c97e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.15/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.15/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.15/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.15/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.15/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.15/docker-compose.yml new file mode 100644 index 000000000..7ea5b8813 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.15/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.15" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.15-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.15-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.15/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.15/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.15/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.16/.env b/linux/ecosystem/atlassian/confluence/5/5.8.16/.env new file mode 100644 index 000000000..a55f58bd6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.16/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.16 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.16/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.16/Dockerfile new file mode 100644 index 000000000..fa469e112 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.16/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.16/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.16/Dockerfile.jdk8 new file mode 100644 index 000000000..8b933a45c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.16/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.16/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.16/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.16/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.16/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.16/docker-compose.yml new file mode 100644 index 000000000..8cb01b00c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.16/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.16" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.16-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.16-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.16/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.16/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.16/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.17/.env b/linux/ecosystem/atlassian/confluence/5/5.8.17/.env new file mode 100644 index 000000000..7d2f18ab6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.17/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.17 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.17/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.17/Dockerfile new file mode 100644 index 000000000..533b2ad10 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.17/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.17/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.17/Dockerfile.jdk8 new file mode 100644 index 000000000..5dcde1207 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.17/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.17/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.17/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.17/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.17/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.17/docker-compose.yml new file mode 100644 index 000000000..9eff94170 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.17/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.17" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.17-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.17-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.17/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.17/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.17/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.18/.env b/linux/ecosystem/atlassian/confluence/5/5.8.18/.env new file mode 100644 index 000000000..ac5355e91 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.18/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.18 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.18/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.18/Dockerfile new file mode 100644 index 000000000..f49e9a22b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.18/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.18/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.18/Dockerfile.jdk8 new file mode 100644 index 000000000..a05247f7c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.18/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.18/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.18/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.18/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.18/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.18/docker-compose.yml new file mode 100644 index 000000000..11c62dc2d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.18/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.18" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.18-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.18-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.18/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.18/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.18/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.2/.env b/linux/ecosystem/atlassian/confluence/5/5.8.2/.env new file mode 100644 index 000000000..fd5af9013 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.2/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.2/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.2/Dockerfile new file mode 100644 index 000000000..e9c67c1e2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.2/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.2/Dockerfile.jdk8 new file mode 100644 index 000000000..8a39b2655 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.2/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.2/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.2/docker-compose.yml new file mode 100644 index 000000000..46ddd7b93 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.2" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.2-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.2-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.4/.env b/linux/ecosystem/atlassian/confluence/5/5.8.4/.env new file mode 100644 index 000000000..0948b5282 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.4/Dockerfile new file mode 100644 index 000000000..0e37d1661 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.4/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.4/Dockerfile.jdk8 new file mode 100644 index 000000000..16fe302b9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.4/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.4/docker-compose.yml new file mode 100644 index 000000000..d759ee56f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.4-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.4-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.5/.env b/linux/ecosystem/atlassian/confluence/5/5.8.5/.env new file mode 100644 index 000000000..f062b022d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.5/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.5/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.5/Dockerfile new file mode 100644 index 000000000..48274c681 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.5/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.5/Dockerfile.jdk8 new file mode 100644 index 000000000..7b468fb43 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.5/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.5/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.5/docker-compose.yml new file mode 100644 index 000000000..d004ff737 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.5" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.5-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.5-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.6/.env b/linux/ecosystem/atlassian/confluence/5/5.8.6/.env new file mode 100644 index 000000000..3a58ecec3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.6/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.6/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.6/Dockerfile new file mode 100644 index 000000000..d871acfea --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.6/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.6/Dockerfile.jdk8 new file mode 100644 index 000000000..0b76063db --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.6/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.6/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.6/docker-compose.yml new file mode 100644 index 000000000..a83ed6499 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.6-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.6-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.8/.env b/linux/ecosystem/atlassian/confluence/5/5.8.8/.env new file mode 100644 index 000000000..26c6f23ac --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.8/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.8/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.8/Dockerfile new file mode 100644 index 000000000..39fa2fe35 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.8/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.8/Dockerfile.jdk8 new file mode 100644 index 000000000..dfb1e0e2a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.8/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.8/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.8/docker-compose.yml new file mode 100644 index 000000000..58d118864 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.8" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.8-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.8-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.9/.env b/linux/ecosystem/atlassian/confluence/5/5.8.9/.env new file mode 100644 index 000000000..6f796b88a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.9/.env @@ -0,0 +1,3 @@ +RELEASE=5.8.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.9/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.8.9/Dockerfile new file mode 100644 index 000000000..b71caaf9b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.9/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.9/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.8.9/Dockerfile.jdk8 new file mode 100644 index 000000000..04d1ecbde --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.9/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.8.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.9/Makefile b/linux/ecosystem/atlassian/confluence/5/5.8.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.8.9/docker-compose.yml new file mode 100644 index 000000000..35d0d9cc6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.9/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.8.9" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.8.9-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.8.9-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.8.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.8.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.8.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/.env b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/.env new file mode 100644 index 000000000..78e2207c0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.1-beta11 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Dockerfile new file mode 100644 index 000000000..0698c78c5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.1-beta11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Dockerfile.jdk8 new file mode 100644 index 000000000..77765a6bc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.1-beta11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/docker-compose.yml new file mode 100644 index 000000000..7fef8ef10 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.1-beta11" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.1-beta11-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.1-beta11-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1-beta11/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1/.env b/linux/ecosystem/atlassian/confluence/5/5.9.1/.env new file mode 100644 index 000000000..81ed61b41 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.1/Dockerfile new file mode 100644 index 000000000..6b1e27783 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.1/Dockerfile.jdk8 new file mode 100644 index 000000000..ccac45405 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.1/docker-compose.yml new file mode 100644 index 000000000..2a8d9094f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.1" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.1-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.1-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.10/.env b/linux/ecosystem/atlassian/confluence/5/5.9.10/.env new file mode 100644 index 000000000..e2ff81974 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.10/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.10 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.10/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.10/Dockerfile new file mode 100644 index 000000000..215911625 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.10/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.10/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.10/Dockerfile.jdk8 new file mode 100644 index 000000000..5e477ed37 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.10/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.10/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.10/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.10/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.10/docker-compose.yml new file mode 100644 index 000000000..96e868b7e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.10/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.10" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.10-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.10-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.10/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.10/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.10/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.11/.env b/linux/ecosystem/atlassian/confluence/5/5.9.11/.env new file mode 100644 index 000000000..9b26fb8fe --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.11/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.11 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.11/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.11/Dockerfile new file mode 100644 index 000000000..cc00cf39c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.11/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.11/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.11/Dockerfile.jdk8 new file mode 100644 index 000000000..bca4b5a68 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.11/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.11/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.11/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.11/docker-compose.yml new file mode 100644 index 000000000..c123170a9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.11/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.11" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.11-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.11-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.11/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.11/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.11/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.12/.env b/linux/ecosystem/atlassian/confluence/5/5.9.12/.env new file mode 100644 index 000000000..23f69bd0c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.12/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.12 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.12/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.12/Dockerfile new file mode 100644 index 000000000..d36c66875 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.12/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.12/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.12/Dockerfile.jdk8 new file mode 100644 index 000000000..924dfa2e0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.12/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.12/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.12/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.12/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.12/docker-compose.yml new file mode 100644 index 000000000..eb9668fb9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.12/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.12" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.12-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.12-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.12/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.12/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.12/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.14/.env b/linux/ecosystem/atlassian/confluence/5/5.9.14/.env new file mode 100644 index 000000000..62f772f33 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.14/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.14 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.14/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.14/Dockerfile index 57b26fbac..58700bc39 100644 --- a/linux/ecosystem/atlassian/confluence/5/5.9.14/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/5/5.9.14/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=5.9.14 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=5.9.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.14/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.14/Dockerfile.jdk8 new file mode 100644 index 000000000..376f9eca2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.14/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.14/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.14/Makefile index 35df27158..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/5/5.9.14/Makefile +++ b/linux/ecosystem/atlassian/confluence/5/5.9.14/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:5.9.14 . - docker push epicmorg/confluence:5.9.14 +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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.14/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.14/docker-compose.yml new file mode 100644 index 000000000..ab3860f80 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.14/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.14" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.14-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.14-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.2/.env b/linux/ecosystem/atlassian/confluence/5/5.9.2/.env new file mode 100644 index 000000000..9802fabf0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.2/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.2/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.2/Dockerfile new file mode 100644 index 000000000..542062633 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.2/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.2/Dockerfile.jdk8 new file mode 100644 index 000000000..c36a3d8f8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.2/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.2/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.2/docker-compose.yml new file mode 100644 index 000000000..203c7da73 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.2" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.2-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.2-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.3/.env b/linux/ecosystem/atlassian/confluence/5/5.9.3/.env new file mode 100644 index 000000000..a870a0079 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.3/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.3/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.3/Dockerfile new file mode 100644 index 000000000..e033b0c56 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.3/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.3/Dockerfile.jdk8 new file mode 100644 index 000000000..53f991f81 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.3/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.3/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.3/docker-compose.yml new file mode 100644 index 000000000..d81c18893 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.3" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.3-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.3-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.4/.env b/linux/ecosystem/atlassian/confluence/5/5.9.4/.env new file mode 100644 index 000000000..7118346ff --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.4/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.4/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.4/Dockerfile new file mode 100644 index 000000000..9b51940a5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.4/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.4/Dockerfile.jdk8 new file mode 100644 index 000000000..003f1ccb2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.4/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.4/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.4/docker-compose.yml new file mode 100644 index 000000000..be170c2e3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.4" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.4-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.4-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.5/.env b/linux/ecosystem/atlassian/confluence/5/5.9.5/.env new file mode 100644 index 000000000..281d2fe7d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.5/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.5/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.5/Dockerfile new file mode 100644 index 000000000..6cc360b1e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.5/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.5/Dockerfile.jdk8 new file mode 100644 index 000000000..9ac2879d0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.5/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.5/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.5/docker-compose.yml new file mode 100644 index 000000000..ab0a05a39 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.5" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.5-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.5-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.6/.env b/linux/ecosystem/atlassian/confluence/5/5.9.6/.env new file mode 100644 index 000000000..37b9b5f87 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.6/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.6/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.6/Dockerfile new file mode 100644 index 000000000..2ffed061a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.6/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.6/Dockerfile.jdk8 new file mode 100644 index 000000000..011024e39 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.6/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.6/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.6/docker-compose.yml new file mode 100644 index 000000000..94454e2db --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.6" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.6-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.6-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.7/.env b/linux/ecosystem/atlassian/confluence/5/5.9.7/.env new file mode 100644 index 000000000..41d94fe27 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.7/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.7/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.7/Dockerfile new file mode 100644 index 000000000..030e9bfef --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.7/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.7/Dockerfile.jdk8 new file mode 100644 index 000000000..bb612c4a9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.7/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.7/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.7/docker-compose.yml new file mode 100644 index 000000000..982554481 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.7" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.7-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.7-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.8/.env b/linux/ecosystem/atlassian/confluence/5/5.9.8/.env new file mode 100644 index 000000000..4241cbb98 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.8/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.8/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.8/Dockerfile new file mode 100644 index 000000000..2ef90fbdc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.8/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.8/Dockerfile.jdk8 new file mode 100644 index 000000000..697e27633 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.8/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.8/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.8/docker-compose.yml new file mode 100644 index 000000000..10d82dba5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.8" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.8-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.8-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.9/.env b/linux/ecosystem/atlassian/confluence/5/5.9.9/.env new file mode 100644 index 000000000..9355af434 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.9/.env @@ -0,0 +1,3 @@ +RELEASE=5.9.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.9/Dockerfile b/linux/ecosystem/atlassian/confluence/5/5.9.9/Dockerfile new file mode 100644 index 000000000..6f4bdf683 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.9/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.9/Dockerfile.jdk8 b/linux/ecosystem/atlassian/confluence/5/5.9.9/Dockerfile.jdk8 new file mode 100644 index 000000000..b4d419f77 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.9/Dockerfile.jdk8 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=5.9.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.9/Makefile b/linux/ecosystem/atlassian/confluence/5/5.9.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/5/5.9.9/docker-compose.yml new file mode 100644 index 000000000..70d886ed3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.9/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:5.9.9" + build: + context: . + app-jdk7: + image: "epicmorg/confluence:5.9.9-jdk7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:5.9.9-jdk8" + build: + context: . + dockerfile: Dockerfile.jdk8 diff --git a/linux/ecosystem/atlassian/confluence/5/5.9.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/5/5.9.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/5/5.9.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.1/.env b/linux/ecosystem/atlassian/confluence/6/6.0.1/.env index ecd7bb585..98c067f6d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.0.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.0.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.0.1/Dockerfile index b6235216e..6805e3f6a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.0.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.0.1/docker-compose.yml index a707cae73..24d1bbc39 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.0.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.0.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.0.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.2/.env b/linux/ecosystem/atlassian/confluence/6/6.0.2/.env index 19ab3b392..7c6eb5e93 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.0.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.0.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.0.2/Dockerfile index b6235216e..85cfa8d44 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.0.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.0.2/docker-compose.yml index a707cae73..07cf12849 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.0.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.0.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.0.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.3/.env b/linux/ecosystem/atlassian/confluence/6/6.0.3/.env index f6b5a835a..49cda8731 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.0.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.0.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.0.3/Dockerfile index b6235216e..21c5c508e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.0.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.0.3/docker-compose.yml index a707cae73..1e81d493a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.0.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.0.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.0.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.4/.env b/linux/ecosystem/atlassian/confluence/6/6.0.4/.env index 038f10825..aa122a1b1 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.0.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.0.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.0.4/Dockerfile index b6235216e..8bb8e8377 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.0.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.0.4/docker-compose.yml index a707cae73..7ede5c4bc 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.0.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.0.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.0.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.5/.env b/linux/ecosystem/atlassian/confluence/6/6.0.5/.env index bd78d49be..e0b1e3227 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.5/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.0.5/.env @@ -1,3 +1,3 @@ - RELEASE=6.0.5 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.5.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.5/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.0.5/Dockerfile index b6235216e..6c0a6f7f5 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.5/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.0.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.5/Makefile b/linux/ecosystem/atlassian/confluence/6/6.0.5/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.5/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.5/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.0.5/docker-compose.yml index a707cae73..05a2d1c3f 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.0.5/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.0.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.0.5-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.6/.env b/linux/ecosystem/atlassian/confluence/6/6.0.6/.env index 87e9de1bd..c7eec0821 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.6/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.0.6/.env @@ -1,3 +1,3 @@ - RELEASE=6.0.6 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.6.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.6/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.0.6/Dockerfile index b6235216e..0b2b9d247 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.6/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.0.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.6/Makefile b/linux/ecosystem/atlassian/confluence/6/6.0.6/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.6/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.6/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.0.6/docker-compose.yml index a707cae73..1875c3d20 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.0.6/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.0.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.0.6-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.7/.env b/linux/ecosystem/atlassian/confluence/6/6.0.7/.env index 48b03065a..0ad9b58b4 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.7/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.0.7/.env @@ -1,3 +1,3 @@ - RELEASE=6.0.7 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.7.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.7/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.0.7/Dockerfile index b6235216e..97fb6a193 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.7/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.7/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.0.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.7/Makefile b/linux/ecosystem/atlassian/confluence/6/6.0.7/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.7/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.0.7/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.0.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.0.7/docker-compose.yml index a707cae73..74dd8415c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.0.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.0.7/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.0.7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.0.7-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.0/.env b/linux/ecosystem/atlassian/confluence/6/6.1.0/.env index d2a458f34..d2ad8620a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.1.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.1.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.1.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.1.0/Dockerfile index b6235216e..30abc8b77 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.1.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.1.0/docker-compose.yml index a707cae73..f5a59ce55 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.1.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.1.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.1.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.1/.env b/linux/ecosystem/atlassian/confluence/6/6.1.1/.env index 283c5b3af..0f209d930 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.1.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.1.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.1.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.1.1/Dockerfile index b6235216e..a80f29f11 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.1.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.1.1/docker-compose.yml index a707cae73..4d0034f9c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.1.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.1.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.1.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.2/.env b/linux/ecosystem/atlassian/confluence/6/6.1.2/.env index 09c8d5557..0d20f87c4 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.1.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.1.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.1.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.1.2/Dockerfile index b6235216e..48654ab40 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.1.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.1.2/docker-compose.yml index a707cae73..9aaa363e2 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.1.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.1.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.1.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.3/.env b/linux/ecosystem/atlassian/confluence/6/6.1.3/.env index 1cef7250f..594e2996e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.1.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.1.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.1.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.1.3/Dockerfile index b6235216e..0577b0244 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.1.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.1.3/docker-compose.yml index a707cae73..4dccf8f86 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.1.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.1.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.1.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.4/.env b/linux/ecosystem/atlassian/confluence/6/6.1.4/.env index dcd508b9b..cc1b0ac22 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.1.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.1.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.1.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.1.4/Dockerfile index b6235216e..39c509a61 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.1.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.1.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.1.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.1.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.1.4/docker-compose.yml index a707cae73..800f0272d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.1.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.1.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.1.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.0/.env b/linux/ecosystem/atlassian/confluence/6/6.10.0/.env index 7597c1a01..006fa293d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.10.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.10.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.10.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.10.0/Dockerfile index b6235216e..720613667 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.10.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.10.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.10.0/docker-compose.yml index a707cae73..964bc30fc 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.10.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.10.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.10.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.1/.env b/linux/ecosystem/atlassian/confluence/6/6.10.1/.env index 1d8045327..567db3026 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.10.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.10.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.10.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.10.1/Dockerfile index b6235216e..176c34826 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.10.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.10.1/docker-compose.yml index a707cae73..7a5df5ca3 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.10.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.10.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.10.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.2/.env b/linux/ecosystem/atlassian/confluence/6/6.10.2/.env index 8af54d091..992063175 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.10.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.10.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.10.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.10.2/Dockerfile index b6235216e..34925bf77 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.10.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.10.2/docker-compose.yml index a707cae73..d0166d456 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.10.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.10.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.10.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.3/.env b/linux/ecosystem/atlassian/confluence/6/6.10.3/.env index 84c40b316..eb7a6742a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.10.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.10.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.10.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.10.3/Dockerfile index b6235216e..445d2105a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.10.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.10.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.10.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.10.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.10.3/docker-compose.yml index a707cae73..7eda59d26 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.10.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.10.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.10.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.10.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.0/.env b/linux/ecosystem/atlassian/confluence/6/6.11.0/.env index dfc8f71f0..84e4255fb 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.11.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.11.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.11.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.11.0/Dockerfile index b6235216e..e048f7efa 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.11.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.11.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.11.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.11.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.11.0/docker-compose.yml index a707cae73..738db88b2 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.11.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.11.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.11.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.1/.env b/linux/ecosystem/atlassian/confluence/6/6.11.1/.env index 30cf0836b..d26282b06 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.11.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.11.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.11.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.11.1/Dockerfile index b6235216e..be50b32c4 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.11.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.11.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.11.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.11.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.11.1/docker-compose.yml index a707cae73..63e91fffb 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.11.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.11.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.11.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.2/.env b/linux/ecosystem/atlassian/confluence/6/6.11.2/.env index addc1e4c3..f1073a0d1 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.11.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.11.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.11.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.11.2/Dockerfile index b6235216e..2a88fefeb 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.11.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.11.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.11.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.11.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.11.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.11.2/docker-compose.yml index a707cae73..5c76b0b68 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.11.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.11.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.11.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.0/.env b/linux/ecosystem/atlassian/confluence/6/6.12.0/.env index 4f0b1a0e2..d493e09db 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.12.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.12.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.12.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.12.0/Dockerfile index b6235216e..5219ee109 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.12.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.12.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.12.0/docker-compose.yml index a707cae73..3f224b7aa 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.12.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.12.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.12.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.1/.env b/linux/ecosystem/atlassian/confluence/6/6.12.1/.env index f62fa52bd..63e88ff52 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.12.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.12.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.12.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.12.1/Dockerfile index b6235216e..b65b24daf 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.12.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.12.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.12.1/docker-compose.yml index a707cae73..4c5d5dca6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.12.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.12.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.12.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.2/.env b/linux/ecosystem/atlassian/confluence/6/6.12.2/.env index 05734d6e7..4e68b3fc7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.12.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.12.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.12.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.12.2/Dockerfile index b6235216e..448b95cf0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.12.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.12.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.12.2/docker-compose.yml index a707cae73..949b67519 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.12.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.12.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.12.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.3/.env b/linux/ecosystem/atlassian/confluence/6/6.12.3/.env index ef62b7f81..14375d2c0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.12.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.12.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.12.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.12.3/Dockerfile index b6235216e..03797bf3e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.12.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.12.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.12.3/docker-compose.yml index a707cae73..c7165c88b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.12.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.12.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.12.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.4/.env b/linux/ecosystem/atlassian/confluence/6/6.12.4/.env index 73e973274..f02aeccc7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.12.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.12.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.12.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.12.4/Dockerfile index b6235216e..21d348dff 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.12.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.12.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.12.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.12.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.12.4/docker-compose.yml index a707cae73..e824b9900 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.12.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.12.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.12.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.12.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.0/.env b/linux/ecosystem/atlassian/confluence/6/6.13.0/.env index b65d7830f..b30fcdb66 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.0/Dockerfile index b6235216e..d3d75422b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.0/docker-compose.yml index a707cae73..18f844f2e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.1/.env b/linux/ecosystem/atlassian/confluence/6/6.13.1/.env index cfcc9bc6c..159c691e6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.1/Dockerfile index b6235216e..aa1323c73 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.1/docker-compose.yml index a707cae73..78a7ff06a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.10/.env b/linux/ecosystem/atlassian/confluence/6/6.13.10/.env index 5bfc2adb3..bbda1320c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.10/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.10/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.10 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.10.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.10/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.10/Dockerfile index b6235216e..d500c4ed7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.10/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.10/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.10/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.10/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.10/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.10/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.10/docker-compose.yml index a707cae73..44e6b36b6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.10/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.10" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.10-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.11/.env b/linux/ecosystem/atlassian/confluence/6/6.13.11/.env index 981b1cca6..1d172af1b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.11/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.11/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.11 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.11.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.11/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.11/Dockerfile index b6235216e..60a431da1 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.11/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.11/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.11/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.11/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.11/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.11/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.11/docker-compose.yml index a707cae73..d5b5c906d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.11/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.11" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.11-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.12/.env b/linux/ecosystem/atlassian/confluence/6/6.13.12/.env index 1b88ce797..3f7ade6eb 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.12/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.12/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.12 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.12.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.12/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.12/Dockerfile index b6235216e..5cd7453ee 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.12/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.12/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.12/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.12/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.12/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.12/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.12/docker-compose.yml index a707cae73..8a98f6a86 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.12/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.12" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.12-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.13/.env b/linux/ecosystem/atlassian/confluence/6/6.13.13/.env index 2413a6b69..040d7cbd7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.13/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.13/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.13 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.13.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.13/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.13/Dockerfile index b6235216e..3f06d66f9 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.13/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.13/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.13/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.13/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.13/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.13/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.13/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.13/docker-compose.yml index a707cae73..25fcbeae7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.13/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.13" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.13-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.15/.env b/linux/ecosystem/atlassian/confluence/6/6.13.15/.env index bfb7c3517..526482f5b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.15/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.15/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.15 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.15.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.15/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.15/Dockerfile index b6235216e..13ad13385 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.15/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.15/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.15/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.15/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.15/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.15/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.15/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.15/docker-compose.yml index a707cae73..1d99c9619 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.15/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.15" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.15-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.17/.env b/linux/ecosystem/atlassian/confluence/6/6.13.17/.env index 4105da19e..5987a77a1 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.17/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.17/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.17 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.17.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.17/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.17/Dockerfile index b6235216e..f1818d1a6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.17/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.17/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.17/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.17/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.17/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.17/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.17/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.17/docker-compose.yml index a707cae73..f33ebc7e0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.17/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.17" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.17-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.18/.env b/linux/ecosystem/atlassian/confluence/6/6.13.18/.env index 5ea664f78..e1f27b97c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.18/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.18/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.18 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.18.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.18/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.18/Dockerfile index b6235216e..edb35b371 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.18/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.18/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.18/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.18/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.18/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.18/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.18/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.18/docker-compose.yml index a707cae73..5d0b2c3d6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.18/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.18" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.18-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.19/.env b/linux/ecosystem/atlassian/confluence/6/6.13.19/.env index d65140659..4a4902041 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.19/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.19/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.19 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.19.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.19/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.19/Dockerfile index b6235216e..b6cba8a02 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.19/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.19/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.19/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.19/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.19/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.19/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.19/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.19/docker-compose.yml index a707cae73..15fc6b695 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.19/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.19" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.19-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.2/.env b/linux/ecosystem/atlassian/confluence/6/6.13.2/.env index 68db04d3e..728c38302 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.2/Dockerfile index b6235216e..c27cd4721 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.2/docker-compose.yml index a707cae73..cab71c56a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.20/.env b/linux/ecosystem/atlassian/confluence/6/6.13.20/.env index 096ae154e..5a923eaba 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.20/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.20/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.20 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.20.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.20/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.20/Dockerfile index b6235216e..04a843b39 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.20/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.20/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.20 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.20/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.20/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.20/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.20/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.20/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.20/docker-compose.yml index a707cae73..133d62f9f 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.20/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.20/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.20" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.20-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.21/.env b/linux/ecosystem/atlassian/confluence/6/6.13.21/.env index 198e7b683..fff4ca3bc 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.21/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.21/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.21 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.21.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.21/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.21/Dockerfile index b6235216e..717234497 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.21/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.21/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.21 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.21/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.21/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.21/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.21/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.21/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.21/docker-compose.yml index a707cae73..eaf5cddfc 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.21/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.21/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.21" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.21-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.23/.env b/linux/ecosystem/atlassian/confluence/6/6.13.23/.env new file mode 100644 index 000000000..1431c8cca --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/6/6.13.23/.env @@ -0,0 +1,3 @@ +RELEASE=6.13.23 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.23/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.23/Dockerfile new file mode 100644 index 000000000..5d68e168c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/6/6.13.23/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=6.13.23 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.23/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.23/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/6/6.13.23/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.23/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.23/docker-compose.yml new file mode 100644 index 000000000..1da2c5160 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/6/6.13.23/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/confluence:6.13.23" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.23-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.23/entrypoint.sh b/linux/ecosystem/atlassian/confluence/6/6.13.23/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/6/6.13.23/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.3/.env b/linux/ecosystem/atlassian/confluence/6/6.13.3/.env index 145f9f2ba..5669b2520 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.3/Dockerfile index b6235216e..68cc94fa4 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.3/docker-compose.yml index a707cae73..e752a55e5 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.4/.env b/linux/ecosystem/atlassian/confluence/6/6.13.4/.env index 9988fa30a..323eea374 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.4/Dockerfile index b6235216e..c71777c47 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.4/docker-compose.yml index a707cae73..ac97c0580 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.5/.env b/linux/ecosystem/atlassian/confluence/6/6.13.5/.env index 9b9d4721a..76caa3501 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.5/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.5/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.5 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.5.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.5/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.5/Dockerfile index b6235216e..5e68185f8 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.5/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.5/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.5/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.5/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.5/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.5/docker-compose.yml index a707cae73..6681cbcd3 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.5/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.5-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.6/.env b/linux/ecosystem/atlassian/confluence/6/6.13.6/.env index c002c4867..9702ee112 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.6/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.6/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.6 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.6.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.6/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.6/Dockerfile index b6235216e..ab0928b87 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.6/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.6/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.6/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.6/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.6/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.6/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.6/docker-compose.yml index a707cae73..6abc4fc9e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.6/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.6-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.7/.env b/linux/ecosystem/atlassian/confluence/6/6.13.7/.env index 179f1eb06..af1b0ae0a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.7/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.7/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.7 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.7.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.7/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.7/Dockerfile index b6235216e..1b556cdb7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.7/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.7/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.7/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.7/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.7/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.7/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.7/docker-compose.yml index a707cae73..a1db3a209 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.7/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.7-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.8/.env b/linux/ecosystem/atlassian/confluence/6/6.13.8/.env index a9b55e9ad..8c9eeef1b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.8/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.8/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.8 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.8.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.8/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.8/Dockerfile index b6235216e..42475431c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.8/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.8/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.8/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.8/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.8/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.8/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.8/docker-compose.yml index a707cae73..0123d23ef 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.8/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.8" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.8-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.9/.env b/linux/ecosystem/atlassian/confluence/6/6.13.9/.env index 5144ea9d9..31a5d20c2 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.9/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.13.9/.env @@ -1,3 +1,3 @@ - RELEASE=6.13.9 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.9.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.9/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.13.9/Dockerfile index b6235216e..aa3277c93 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.9/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.9/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.13.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.9/Makefile b/linux/ecosystem/atlassian/confluence/6/6.13.9/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.9/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.13.9/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.13.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.13.9/docker-compose.yml index a707cae73..2c0d6a8ff 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.13.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.13.9/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.13.9" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.13.9-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.0/.env b/linux/ecosystem/atlassian/confluence/6/6.14.0/.env index 09182cd6d..6c8e69229 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.14.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.14.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.14.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.14.0/Dockerfile index b6235216e..7d2c56556 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.14.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.14.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.14.0/docker-compose.yml index a707cae73..029af60a5 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.14.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.14.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.14.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.1/.env b/linux/ecosystem/atlassian/confluence/6/6.14.1/.env index 9fba158cb..35befaf35 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.14.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.14.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.14.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.14.1/Dockerfile index b6235216e..3f841f3da 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.14.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.14.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.14.1/docker-compose.yml index a707cae73..876760d98 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.14.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.14.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.14.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.2/.env b/linux/ecosystem/atlassian/confluence/6/6.14.2/.env index 58ca325d9..a2f991675 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.14.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.14.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.14.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.14.2/Dockerfile index b6235216e..aabe0125b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.14.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.14.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.14.2/docker-compose.yml index a707cae73..02d9c9dc7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.14.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.14.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.14.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.3/.env b/linux/ecosystem/atlassian/confluence/6/6.14.3/.env index 9656268ed..a755495af 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.14.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.14.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.14.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.14.3/Dockerfile index b6235216e..3429a5752 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.14.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.14.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.14.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.14.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.14.3/docker-compose.yml index a707cae73..e1784a309 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.14.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.14.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.14.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.14.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.1/.env b/linux/ecosystem/atlassian/confluence/6/6.15.1/.env index 88c23614e..583f478ad 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.1/Dockerfile index b6235216e..0430a329c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.1/docker-compose.yml index a707cae73..6d72c57aa 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.10/.env b/linux/ecosystem/atlassian/confluence/6/6.15.10/.env index bc840adbd..5c81b927c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.10/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.10/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.10 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.10.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.10/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.10/Dockerfile index b6235216e..3ea9907ae 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.10/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.10/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.10/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.10/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.10/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.10/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.10/docker-compose.yml index a707cae73..d3558e56b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.10/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.10" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.10-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.2/.env b/linux/ecosystem/atlassian/confluence/6/6.15.2/.env index bf60686a8..1c5b70f0b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.2/Dockerfile index b6235216e..31505417d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.2/docker-compose.yml index a707cae73..a66b619b7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.4/.env b/linux/ecosystem/atlassian/confluence/6/6.15.4/.env index 9b18513bb..9872d022f 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.4/Dockerfile index b6235216e..d97c9a4cd 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.4/docker-compose.yml index a707cae73..e955394cf 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.6/.env b/linux/ecosystem/atlassian/confluence/6/6.15.6/.env index d609b17a0..22f788c21 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.6/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.6/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.6 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.6.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.6/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.6/Dockerfile index b6235216e..5c707ff77 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.6/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.6/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.6/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.6/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.6/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.6/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.6/docker-compose.yml index a707cae73..090c45819 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.6/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.6-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.7/.env b/linux/ecosystem/atlassian/confluence/6/6.15.7/.env index bf91194e6..eb8d018d3 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.7/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.7/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.7 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.7.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.7/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.7/Dockerfile index b6235216e..bbab2c0ee 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.7/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.7/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.7/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.7/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.7/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.7/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.7/docker-compose.yml index a707cae73..bac1ab378 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.7/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.7-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.8/.env b/linux/ecosystem/atlassian/confluence/6/6.15.8/.env index 55abf8ab9..a86413615 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.8/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.8/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.8 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.8.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.8/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.8/Dockerfile index b6235216e..378102a69 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.8/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.8/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.8/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.8/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.8/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.8/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.8/docker-compose.yml index a707cae73..d14082471 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.8/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.8" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.8-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.9/.env b/linux/ecosystem/atlassian/confluence/6/6.15.9/.env index 4b779c9dc..e5e7cab78 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.9/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.15.9/.env @@ -1,3 +1,3 @@ - RELEASE=6.15.9 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.9.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.9/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.15.9/Dockerfile index b6235216e..bc6d39454 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.9/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.9/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.15.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.9/Makefile b/linux/ecosystem/atlassian/confluence/6/6.15.9/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.9/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.15.9/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.15.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.15.9/docker-compose.yml index a707cae73..0f48ed656 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.15.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.15.9/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.15.9" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.15.9-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.0/.env b/linux/ecosystem/atlassian/confluence/6/6.2.0/.env index b26238429..873b6802d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.2.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.2.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.2.0/Dockerfile index b6235216e..60754c09e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.2.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.2.0/docker-compose.yml index a707cae73..9ca6a2e27 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.2.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.2.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.2.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.1/.env b/linux/ecosystem/atlassian/confluence/6/6.2.1/.env index f99324d92..a3f544b7e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.2.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.2.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.2.1/Dockerfile index b6235216e..a083fba2b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.2.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.2.1/docker-compose.yml index a707cae73..8d0d9fc36 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.2.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.2.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.2.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.2/.env b/linux/ecosystem/atlassian/confluence/6/6.2.2/.env index 284ae0cbf..911fb975d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.2.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.2.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.2.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.2.2/Dockerfile index b6235216e..644087e13 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.2.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.2.2/docker-compose.yml index a707cae73..2bcd8bc1d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.2.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.2.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.2.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.3/.env b/linux/ecosystem/atlassian/confluence/6/6.2.3/.env index 87489b388..4d13b939a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.2.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.2.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.2.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.2.3/Dockerfile index b6235216e..0045218dc 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.2.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.2.3/docker-compose.yml index a707cae73..f5f6c05ae 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.2.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.2.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.2.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.4/.env b/linux/ecosystem/atlassian/confluence/6/6.2.4/.env index 7344e72f1..175f6da91 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.2.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.2.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.2.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.2.4/Dockerfile index b6235216e..7dc3ac77c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.2.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.2.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.2.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.2.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.2.4/docker-compose.yml index a707cae73..7d17f796c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.2.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.2.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.2.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.1/.env b/linux/ecosystem/atlassian/confluence/6/6.3.1/.env index e45728e1e..ab90d2c72 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.3.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.3.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.3.1/Dockerfile index b6235216e..23799227b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.3.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.3.1/docker-compose.yml index a707cae73..db3322860 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.3.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.3.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.3.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.2/.env b/linux/ecosystem/atlassian/confluence/6/6.3.2/.env index 310edce37..aae5eaf63 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.3.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.3.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.3.2/Dockerfile index b6235216e..ca6fc3da7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.3.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.3.2/docker-compose.yml index a707cae73..e7e3306bc 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.3.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.3.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.3.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.3/.env b/linux/ecosystem/atlassian/confluence/6/6.3.3/.env index 7df336f6e..d45a2a9eb 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.3.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.3.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.3.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.3.3/Dockerfile index b6235216e..188446289 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.3.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.3.3/docker-compose.yml index a707cae73..7d0276eb3 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.3.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.3.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.3.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.4/.env b/linux/ecosystem/atlassian/confluence/6/6.3.4/.env index e2f22e173..1759c7358 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.3.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.3.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.3.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.3.4/Dockerfile index b6235216e..184df3f3a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.3.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.3.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.3.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.3.4/docker-compose.yml index a707cae73..243306105 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.3.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.3.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.3.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.0/.env b/linux/ecosystem/atlassian/confluence/6/6.4.0/.env index edc7914d2..d405f2658 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.4.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.4.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.4.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.4.0/Dockerfile index b6235216e..46684fa6a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.4.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.4.0/docker-compose.yml index a707cae73..125c18ede 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.4.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.4.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.4.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.1/.env b/linux/ecosystem/atlassian/confluence/6/6.4.1/.env index 0ffba2ad0..f136fd299 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.4.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.4.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.4.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.4.1/Dockerfile index b6235216e..ca9bdfba0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.4.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.4.1/docker-compose.yml index a707cae73..4bab9e947 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.4.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.4.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.4.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.2/.env b/linux/ecosystem/atlassian/confluence/6/6.4.2/.env index 6aa43e67e..4ce99e179 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.4.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.4.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.4.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.4.2/Dockerfile index b6235216e..de5d49b7f 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.4.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.4.2/docker-compose.yml index a707cae73..54cac2f97 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.4.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.4.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.4.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.3/.env b/linux/ecosystem/atlassian/confluence/6/6.4.3/.env index 5712f9dfc..bd03274a9 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.4.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.4.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.4.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.4.3/Dockerfile index b6235216e..0cb8896b3 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.4.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.4.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.4.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.4.3/docker-compose.yml index a707cae73..6d1b73eaa 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.4.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.4.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.4.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.0/.env b/linux/ecosystem/atlassian/confluence/6/6.5.0/.env index d30a1d3a9..aaa6eca94 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.5.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.5.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.5.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.5.0/Dockerfile index b6235216e..01dc00322 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.5.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.5.0/docker-compose.yml index a707cae73..e67ac3197 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.5.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.5.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.5.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.1/.env b/linux/ecosystem/atlassian/confluence/6/6.5.1/.env index e12c4817e..c69b3ed47 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.5.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.5.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.5.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.5.1/Dockerfile index b6235216e..89f6e147b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.5.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.5.1/docker-compose.yml index a707cae73..37a2d10b9 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.5.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.5.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.5.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.2/.env b/linux/ecosystem/atlassian/confluence/6/6.5.2/.env index b078db65b..81181597b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.5.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.5.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.5.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.5.2/Dockerfile index b6235216e..5aac230f0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.5.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.5.2/docker-compose.yml index a707cae73..6ff4e3b9c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.5.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.5.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.5.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.3/.env b/linux/ecosystem/atlassian/confluence/6/6.5.3/.env index 70fa0bfa7..16aea833b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.5.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.5.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.5.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.5.3/Dockerfile index b6235216e..63f8b1b59 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.5.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.5.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.5.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.5.3/docker-compose.yml index a707cae73..9a1520eb8 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.5.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.5.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.5.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.0/.env b/linux/ecosystem/atlassian/confluence/6/6.6.0/.env index 45b8e64ff..502aa35ab 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.0/Dockerfile index b6235216e..f76ca8482 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.0/docker-compose.yml index a707cae73..95f6190c6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.1/.env b/linux/ecosystem/atlassian/confluence/6/6.6.1/.env index d34c02445..8975fa2c4 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.1/Dockerfile index b6235216e..43b2c9a8c 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.1/docker-compose.yml index a707cae73..dda38bc31 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.10/.env b/linux/ecosystem/atlassian/confluence/6/6.6.10/.env index b361c9b20..b8dc1f755 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.10/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.10/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.10 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.10.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.10/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.10/Dockerfile index b6235216e..1ab01226a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.10/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.10/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.10/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.10/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.10/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.10/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.10/docker-compose.yml index a707cae73..898bd71f1 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.10/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.10" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.10-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.11/.env b/linux/ecosystem/atlassian/confluence/6/6.6.11/.env index b596676b1..d9010a448 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.11/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.11/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.11 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.11.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.11/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.11/Dockerfile index b6235216e..4713efc65 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.11/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.11/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.11/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.11/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.11/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.11/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.11/docker-compose.yml index a707cae73..78b1e6e7a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.11/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.11" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.11-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.12/.env b/linux/ecosystem/atlassian/confluence/6/6.6.12/.env index 656c9641b..48ea48d74 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.12/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.12/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.12 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.12.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.12/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.12/Dockerfile index b6235216e..a634b137a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.12/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.12/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.12/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.12/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.12/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.12/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.12/docker-compose.yml index a707cae73..973496e31 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.12/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.12" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.12-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.13/.env b/linux/ecosystem/atlassian/confluence/6/6.6.13/.env index 88783b979..99fdb3a18 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.13/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.13/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.13 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.13.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.13/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.13/Dockerfile index b6235216e..78e02d7ce 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.13/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.13/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.13/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.13/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.13/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.13/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.13/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.13/docker-compose.yml index a707cae73..ec6bdd3d3 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.13/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.13" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.13-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.14/.env b/linux/ecosystem/atlassian/confluence/6/6.6.14/.env index 87766073b..a3152bb0e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.14/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.14/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.14 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.14.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.14/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.14/Dockerfile index b6235216e..793121876 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.14/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.14/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.14/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.14/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.14/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.14/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.14/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.14/docker-compose.yml index a707cae73..62e7db374 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.14/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.14" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.14-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.15/.env b/linux/ecosystem/atlassian/confluence/6/6.6.15/.env index 3e90b7e7e..e046a5f78 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.15/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.15/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.15 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.15.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.15/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.15/Dockerfile index b6235216e..7ccf14e19 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.15/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.15/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.15/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.15/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.15/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.15/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.15/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.15/docker-compose.yml index a707cae73..b090f7f5e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.15/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.15" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.15-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.16/.env b/linux/ecosystem/atlassian/confluence/6/6.6.16/.env index 43cd635a8..b0f2f0084 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.16/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.16/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.16 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.16.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.16/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.16/Dockerfile index b6235216e..10338ae50 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.16/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.16/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.16/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.16/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.16/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.16/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.16/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.16/docker-compose.yml index a707cae73..38f20b0d9 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.16/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.16" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.16-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.17/.env b/linux/ecosystem/atlassian/confluence/6/6.6.17/.env index 7e025377f..6014c5e3a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.17/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.17/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.17 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.17.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.17/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.17/Dockerfile index b6235216e..0d18eae22 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.17/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.17/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.17/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.17/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.17/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.17/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.17/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.17/docker-compose.yml index a707cae73..43f28104b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.17/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.17" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.17-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.2/.env b/linux/ecosystem/atlassian/confluence/6/6.6.2/.env index d7e9f01a6..9719741f6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.2/Dockerfile index b6235216e..5f76a4c8f 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.2/docker-compose.yml index a707cae73..2cd610c6e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.3/.env b/linux/ecosystem/atlassian/confluence/6/6.6.3/.env index 48a685e93..bc06ffe92 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.3/Dockerfile index b6235216e..be175e359 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.3/docker-compose.yml index a707cae73..6f08b74b4 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.4/.env b/linux/ecosystem/atlassian/confluence/6/6.6.4/.env index d4cc67ded..e0fd57483 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.4/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.4/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.4 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.4.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.4/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.4/Dockerfile index b6235216e..072e20838 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.4/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.4/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.4/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.4/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.4/docker-compose.yml index a707cae73..9a5407d0a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.4/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.5/.env b/linux/ecosystem/atlassian/confluence/6/6.6.5/.env index 7dbc98196..7d06ca701 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.5/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.5/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.5 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.5.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.5/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.5/Dockerfile index b6235216e..68921dcd2 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.5/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.5/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.5/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.5/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.5/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.5/docker-compose.yml index a707cae73..6cb1b15df 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.5/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.5-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.6/.env b/linux/ecosystem/atlassian/confluence/6/6.6.6/.env index d81c7e388..20259455e 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.6/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.6/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.6 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.6.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.6/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.6/Dockerfile index b6235216e..02a273f91 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.6/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.6/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.6/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.6/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.6/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.6/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.6/docker-compose.yml index a707cae73..36d3ebb6b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.6/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.6-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.7/.env b/linux/ecosystem/atlassian/confluence/6/6.6.7/.env index a9226369e..bac2487d9 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.7/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.7/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.7 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.7.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.7/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.7/Dockerfile index b6235216e..7ae03d2f6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.7/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.7/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.7/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.7/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.7/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.7/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.7/docker-compose.yml index a707cae73..aa1cd3fc7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.7/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.7-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.8/.env b/linux/ecosystem/atlassian/confluence/6/6.6.8/.env index baa84f762..cd31ad3c8 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.8/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.8/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.8 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.8.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.8/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.8/Dockerfile index b6235216e..e377cd9be 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.8/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.8/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.8/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.8/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.8/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.8/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.8/docker-compose.yml index a707cae73..039f641e6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.8/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.8" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.8-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.9/.env b/linux/ecosystem/atlassian/confluence/6/6.6.9/.env index ab8265e13..1021021ab 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.9/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.6.9/.env @@ -1,3 +1,3 @@ - RELEASE=6.6.9 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.9.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.9/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.6.9/Dockerfile index b6235216e..83528030d 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.9/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.9/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.6.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.9/Makefile b/linux/ecosystem/atlassian/confluence/6/6.6.9/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.9/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.6.9/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.6.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.6.9/docker-compose.yml index a707cae73..baa3262f0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.6.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.6.9/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.6.9" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.6.9-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.0/.env b/linux/ecosystem/atlassian/confluence/6/6.7.0/.env index e9594d19f..857ab982f 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.7.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.7.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.7.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.7.0/Dockerfile index b6235216e..bb631d8f1 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.7.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.7.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.7.0/docker-compose.yml index a707cae73..992f8391b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.7.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.7.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.7.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.1/.env b/linux/ecosystem/atlassian/confluence/6/6.7.1/.env index d390d39a1..9a5f21fb0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.7.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.7.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.7.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.7.1/Dockerfile index b6235216e..519600dec 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.7.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.7.1/docker-compose.yml index a707cae73..9dcafd175 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.7.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.7.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.7.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.2/.env b/linux/ecosystem/atlassian/confluence/6/6.7.2/.env index 9bd3155a6..b02b75f84 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.7.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.7.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.7.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.7.2/Dockerfile index b6235216e..82c0ff1d5 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.7.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.7.2/docker-compose.yml index a707cae73..0da79b932 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.7.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.7.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.7.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.3/.env b/linux/ecosystem/atlassian/confluence/6/6.7.3/.env index 64a3a4d6d..34764c8f7 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.7.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.7.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.7.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.7.3/Dockerfile index b6235216e..c728eb69b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.7.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.7.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.7.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.7.3/docker-compose.yml index a707cae73..115d6c131 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.7.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.7.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.7.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.7.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.0/.env b/linux/ecosystem/atlassian/confluence/6/6.8.0/.env index bd0f07d7f..2e4562f98 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.8.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.8.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.8.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.8.0/Dockerfile index b6235216e..5ffd172ab 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.8.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.8.0/docker-compose.yml index a707cae73..6d2bc822a 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.8.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.8.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.8.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.1/.env b/linux/ecosystem/atlassian/confluence/6/6.8.1/.env index eeca8131a..a3fc2bd60 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.8.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.8.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.8.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.8.1/Dockerfile index b6235216e..100cfa47b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.8.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.8.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.8.1/docker-compose.yml index a707cae73..2b2c10202 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.8.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.8.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.8.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.2/.env b/linux/ecosystem/atlassian/confluence/6/6.8.2/.env index c633752cd..ec014c569 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.2/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.8.2/.env @@ -1,3 +1,3 @@ - RELEASE=6.8.2 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.8.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.2/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.8.2/Dockerfile index b6235216e..a580f66fc 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.2/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.8.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.2/Makefile b/linux/ecosystem/atlassian/confluence/6/6.8.2/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.2/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.8.2/docker-compose.yml index a707cae73..f9c849947 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.8.2/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.8.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.8.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.3/.env b/linux/ecosystem/atlassian/confluence/6/6.8.3/.env index 04b0382a6..4e2bc3852 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.8.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.8.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.8.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.8.3/Dockerfile index b6235216e..1f128e2c9 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.8.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.8.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.8.3/docker-compose.yml index a707cae73..8e1c9335b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.8.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.8.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.8.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.5/.env b/linux/ecosystem/atlassian/confluence/6/6.8.5/.env index e7116fec2..db5959fd6 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.5/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.8.5/.env @@ -1,3 +1,3 @@ - RELEASE=6.8.5 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.8.5.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.5/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.8.5/Dockerfile index b6235216e..fdeab4f59 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.5/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.8.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.5/Makefile b/linux/ecosystem/atlassian/confluence/6/6.8.5/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.5/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.8.5/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.8.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.8.5/docker-compose.yml index a707cae73..b2f8b53f0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.8.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.8.5/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.8.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.8.5-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.0/.env b/linux/ecosystem/atlassian/confluence/6/6.9.0/.env index 2894cde94..b5a0ca7e0 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.0/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.9.0/.env @@ -1,3 +1,3 @@ - RELEASE=6.9.0 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.9.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.0/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.9.0/Dockerfile index b6235216e..4f7b92b03 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.9.0/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.0/Makefile b/linux/ecosystem/atlassian/confluence/6/6.9.0/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.9.0/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.9.0/docker-compose.yml index a707cae73..150f56dc1 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.9.0/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.9.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.9.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.1/.env b/linux/ecosystem/atlassian/confluence/6/6.9.1/.env index 21643280f..dab28bf29 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.1/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.9.1/.env @@ -1,3 +1,3 @@ - RELEASE=6.9.1 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.9.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.1/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.9.1/Dockerfile index b6235216e..bc7f6facb 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.9.1/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.1/Makefile b/linux/ecosystem/atlassian/confluence/6/6.9.1/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.9.1/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.9.1/docker-compose.yml index a707cae73..8c92374f2 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.9.1/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.9.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.9.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.3/.env b/linux/ecosystem/atlassian/confluence/6/6.9.3/.env index 41c6ceb1b..9846bcc36 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.3/.env +++ b/linux/ecosystem/atlassian/confluence/6/6.9.3/.env @@ -1,3 +1,3 @@ - RELEASE=6.9.3 -DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.9.3.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.3/Dockerfile b/linux/ecosystem/atlassian/confluence/6/6.9.3/Dockerfile index b6235216e..e878d0dc8 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/6/6.9.3/Dockerfile @@ -1,13 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - +ARG RELEASE=6.9.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.3/Makefile b/linux/ecosystem/atlassian/confluence/6/6.9.3/Makefile index 483fa77b8..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/6/6.9.3/Makefile @@ -3,5 +3,36 @@ PIP_BREAK_SYSTEM_PACKAGES=1 all: app app: - docker-compose build --compress + 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 diff --git a/linux/ecosystem/atlassian/confluence/6/6.9.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/6/6.9.3/docker-compose.yml index a707cae73..12958cfce 100644 --- a/linux/ecosystem/atlassian/confluence/6/6.9.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/6/6.9.3/docker-compose.yml @@ -1,9 +1,9 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:6.9.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:6.9.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.1/.env b/linux/ecosystem/atlassian/confluence/7/7.0.1/.env new file mode 100644 index 000000000..b2ccf7f56 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.0.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.0.1/Dockerfile index 4d5598699..4b15673a1 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.0.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.0.1/Dockerfile.jdk11 new file mode 100644 index 000000000..6f72dcb98 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.0.1/Makefile index ad6500a9b..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.1/Makefile @@ -1,4 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.0.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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.0.1/docker-compose.yml new file mode 100644 index 000000000..491ce6923 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.0.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.0.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.0.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.2/.env b/linux/ecosystem/atlassian/confluence/7/7.0.2/.env new file mode 100644 index 000000000..443c8655c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.0.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.0.2/Dockerfile index 6b88e72c9..a355cbfd0 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.0.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.0.2/Dockerfile.jdk11 new file mode 100644 index 000000000..b2b8d5de9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.0.2/Makefile index b848bf102..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.2/Makefile @@ -1,4 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.0.2 . +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.0.2/docker-compose.yml new file mode 100644 index 000000000..c8d71c905 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.0.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.0.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.0.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.3/.env b/linux/ecosystem/atlassian/confluence/7/7.0.3/.env new file mode 100644 index 000000000..b1d80cd1e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.0.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.0.3/Dockerfile index 12f16220d..19f8a0251 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.3/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.0.3 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.0.3/Dockerfile.jdk11 new file mode 100644 index 000000000..8b226f486 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.0.3/Makefile index 9634f113c..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.3/Makefile @@ -1,4 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.0.3 . +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.0.3/docker-compose.yml new file mode 100644 index 000000000..6a7c94510 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.0.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.0.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.0.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.4/.env b/linux/ecosystem/atlassian/confluence/7/7.0.4/.env new file mode 100644 index 000000000..489ff41be --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.0.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.0.4/Dockerfile index 58332e0bc..17955ea75 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.4/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.0.4 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.0.4/Dockerfile.jdk11 new file mode 100644 index 000000000..4ce7b1d42 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.0.4/Makefile index d3132fe77..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.4/Makefile @@ -1,4 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.0.4 . +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.0.4/docker-compose.yml new file mode 100644 index 000000000..5f5873fc5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.0.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.0.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.0.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.5/.env b/linux/ecosystem/atlassian/confluence/7/7.0.5/.env new file mode 100644 index 000000000..2fe39f678 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.0.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.0.5/Dockerfile index 38723b3e9..0ad793bf2 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.5/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.0.5 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.0.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.0.5/Dockerfile.jdk11 new file mode 100644 index 000000000..2261b2145 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.5/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.0.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.0.5/Makefile index 2514422b3..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.0.5/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.0.5/Makefile @@ -1,4 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.0.5 . +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.0.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.0.5/docker-compose.yml new file mode 100644 index 000000000..9f17886bd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.0.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.0.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.0.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.0.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.0/.env b/linux/ecosystem/atlassian/confluence/7/7.1.0/.env new file mode 100644 index 000000000..df8e21505 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.1.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.1.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile index c3f48d73b..b78185476 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.1.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile.jdk11 index 987d0c341..4f1285651 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.1.0/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.1.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.1.0/Makefile index 61e02a317..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.1.0/Makefile @@ -1,4 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.1.0 . +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.1.0/docker-compose.yml new file mode 100644 index 000000000..4c3795b89 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.1.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.1.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.1.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.1.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.1/.env b/linux/ecosystem/atlassian/confluence/7/7.1.1/.env new file mode 100644 index 000000000..6d1dfc6c5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.1.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.1.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile index 0cd7fcaa4..cab1cec7a 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.1.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile.jdk11 index d52279db4..f3a914bbe 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.1.1/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.1.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.1.1/Makefile index 6eb5984cc..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.1.1/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.1.1 . - docker push epicmorg/confluence:7.1.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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.1.1/docker-compose.yml new file mode 100644 index 000000000..826c6e129 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.1.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.1.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.1.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.1.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.2/.env b/linux/ecosystem/atlassian/confluence/7/7.1.2/.env new file mode 100644 index 000000000..e0ab22dad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.1.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.1.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile index 9a37ae12d..78256e7e0 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.1.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile.jdk11 index c4e5e50ec..f57d4ef7f 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.1.2/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.1.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.1.2/Makefile index f1f12c6f2..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.1.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.1.2/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.1.2 . - docker push epicmorg/confluence:7.1.2 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.1.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.1.2/docker-compose.yml new file mode 100644 index 000000000..ce78c1cac --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.1.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.1.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.1.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.1.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.0/.env b/linux/ecosystem/atlassian/confluence/7/7.10.0/.env new file mode 100644 index 000000000..93ca405ac --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.10.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.10.0/Dockerfile new file mode 100644 index 000000000..ce935575d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.10.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.10.0/Dockerfile.jdk11 new file mode 100644 index 000000000..79fba7326 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.10.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.10.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.10.0/docker-compose.yml new file mode 100644 index 000000000..f2256e784 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.10.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.10.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.10.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.10.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.1/.env b/linux/ecosystem/atlassian/confluence/7/7.10.1/.env new file mode 100644 index 000000000..c45fa4f74 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.10.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.10.1/Dockerfile new file mode 100644 index 000000000..015588e77 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.10.1/Dockerfile.jdk11 new file mode 100644 index 000000000..e1879cf4a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.10.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.10.1/docker-compose.yml new file mode 100644 index 000000000..12606e615 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.10.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.10.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.10.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.10.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.2/.env b/linux/ecosystem/atlassian/confluence/7/7.10.2/.env new file mode 100644 index 000000000..018288b6e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.10.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.10.2/Dockerfile new file mode 100644 index 000000000..daec21983 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.10.2/Dockerfile.jdk11 new file mode 100644 index 000000000..4fab15cc9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.10.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.10.2/docker-compose.yml new file mode 100644 index 000000000..19b37b0f0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.10.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.10.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.10.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.10.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.10.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.10.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.0/.env b/linux/ecosystem/atlassian/confluence/7/7.11.0/.env new file mode 100644 index 000000000..56ee33dec --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.11.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.11.0/Dockerfile new file mode 100644 index 000000000..fa11e0369 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.11.0/Dockerfile.jdk11 new file mode 100644 index 000000000..45ac9effd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.11.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.11.0/docker-compose.yml new file mode 100644 index 000000000..e7596d17f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.11.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.11.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.11.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.11.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.1/.env b/linux/ecosystem/atlassian/confluence/7/7.11.1/.env new file mode 100644 index 000000000..4bc00e784 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.11.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.11.1/Dockerfile new file mode 100644 index 000000000..24d7ed06e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.11.1/Dockerfile.jdk11 new file mode 100644 index 000000000..cd7df631d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.11.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.11.1/docker-compose.yml new file mode 100644 index 000000000..8d36e512f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.11.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.11.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.11.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.11.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.2/.env b/linux/ecosystem/atlassian/confluence/7/7.11.2/.env new file mode 100644 index 000000000..cb267503b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.11.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.11.2/Dockerfile new file mode 100644 index 000000000..d2bc63920 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.11.2/Dockerfile.jdk11 new file mode 100644 index 000000000..11221bb72 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.11.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.11.2/docker-compose.yml new file mode 100644 index 000000000..db25f375e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.11.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.11.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.11.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.11.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.3/.env b/linux/ecosystem/atlassian/confluence/7/7.11.3/.env new file mode 100644 index 000000000..9e1883a36 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.11.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.11.3/Dockerfile new file mode 100644 index 000000000..173729238 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.11.3/Dockerfile.jdk11 new file mode 100644 index 000000000..0e785dfad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.11.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.11.3/docker-compose.yml new file mode 100644 index 000000000..0335244c8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.11.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.11.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.11.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.11.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.6/.env b/linux/ecosystem/atlassian/confluence/7/7.11.6/.env new file mode 100644 index 000000000..583f00bbb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.6/.env @@ -0,0 +1,3 @@ +RELEASE=7.11.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.6/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.11.6/Dockerfile new file mode 100644 index 000000000..2a5fd4e35 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.11.6/Dockerfile.jdk11 new file mode 100644 index 000000000..1d9168cdc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.6/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.11.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.6/Makefile b/linux/ecosystem/atlassian/confluence/7/7.11.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.11.6/docker-compose.yml new file mode 100644 index 000000000..13ceadedd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.11.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.11.6-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.11.6-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.11.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.11.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.11.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.0/.env b/linux/ecosystem/atlassian/confluence/7/7.12.0/.env new file mode 100644 index 000000000..46faef8f3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.12.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.12.0/Dockerfile new file mode 100644 index 000000000..548663e85 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.12.0/Dockerfile.jdk11 new file mode 100644 index 000000000..507bd1416 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.12.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.12.0/docker-compose.yml new file mode 100644 index 000000000..343bf3c1f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.12.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.12.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.12.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.12.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.1/.env b/linux/ecosystem/atlassian/confluence/7/7.12.1/.env new file mode 100644 index 000000000..20d893469 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.12.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.12.1/Dockerfile new file mode 100644 index 000000000..8a15b160b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.12.1/Dockerfile.jdk11 new file mode 100644 index 000000000..c69bd4300 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.12.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.12.1/docker-compose.yml new file mode 100644 index 000000000..62410726e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.12.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.12.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.12.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.12.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.2/.env b/linux/ecosystem/atlassian/confluence/7/7.12.2/.env new file mode 100644 index 000000000..069c6e6dc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.12.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.12.2/Dockerfile new file mode 100644 index 000000000..67a825ec5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.12.2/Dockerfile.jdk11 new file mode 100644 index 000000000..c6b9c514f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.12.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.12.2/docker-compose.yml new file mode 100644 index 000000000..922bf1e7e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.12.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.12.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.12.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.12.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.3/.env b/linux/ecosystem/atlassian/confluence/7/7.12.3/.env new file mode 100644 index 000000000..5818dde20 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.12.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.12.3/Dockerfile new file mode 100644 index 000000000..3a6eb2b23 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.12.3/Dockerfile.jdk11 new file mode 100644 index 000000000..5621745ed --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.12.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.12.3/docker-compose.yml new file mode 100644 index 000000000..18e8f3536 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.12.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.12.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.12.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.12.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.4/.env b/linux/ecosystem/atlassian/confluence/7/7.12.4/.env new file mode 100644 index 000000000..4df687951 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.12.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.12.4/Dockerfile new file mode 100644 index 000000000..3d1eacad8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.12.4/Dockerfile.jdk11 new file mode 100644 index 000000000..16547be4a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.12.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.12.4/docker-compose.yml new file mode 100644 index 000000000..404506157 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.12.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.12.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.12.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.12.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.5/.env b/linux/ecosystem/atlassian/confluence/7/7.12.5/.env new file mode 100644 index 000000000..bc36d1ce4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.12.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.12.5/Dockerfile new file mode 100644 index 000000000..39c9ef2a6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.12.5/Dockerfile.jdk11 new file mode 100644 index 000000000..c127e353e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.5/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.12.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.12.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.12.5/docker-compose.yml new file mode 100644 index 000000000..b2d6cdc35 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.12.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.12.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.12.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.12.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.12.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.12.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.0/.env b/linux/ecosystem/atlassian/confluence/7/7.13.0/.env new file mode 100644 index 000000000..ea2339b64 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.0/Dockerfile new file mode 100644 index 000000000..1b3f48567 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.0/Dockerfile.jdk11 new file mode 100644 index 000000000..4181ff9de --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.0/docker-compose.yml new file mode 100644 index 000000000..6905e720e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.1/.env b/linux/ecosystem/atlassian/confluence/7/7.13.1/.env new file mode 100644 index 000000000..c8a1e8081 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.1/Dockerfile new file mode 100644 index 000000000..4d71d6c26 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.1/Dockerfile.jdk11 new file mode 100644 index 000000000..1e5ccfb6d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.1/docker-compose.yml new file mode 100644 index 000000000..9bb9b1e5e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.11/.env b/linux/ecosystem/atlassian/confluence/7/7.13.11/.env new file mode 100644 index 000000000..65fb48b0b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.11/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.11 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.11/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.11/Dockerfile new file mode 100644 index 000000000..002f8363d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.11/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.11/Dockerfile.jdk11 new file mode 100644 index 000000000..a634e3645 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.11/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.11/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.11/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.11/docker-compose.yml new file mode 100644 index 000000000..fd08991e4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.11/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.11" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.11-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.11-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.11/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.11/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.11/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.12/.env b/linux/ecosystem/atlassian/confluence/7/7.13.12/.env new file mode 100644 index 000000000..4adedd7f4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.12/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.12 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.12/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.12/Dockerfile new file mode 100644 index 000000000..e2a62fe0e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.12/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.12/Dockerfile.jdk11 new file mode 100644 index 000000000..9fb2ee1f7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.12/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.12/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.12/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.12/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.12/docker-compose.yml new file mode 100644 index 000000000..e594b778f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.12/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.12" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.12-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.12-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.12/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.12/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.12/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.13/.env b/linux/ecosystem/atlassian/confluence/7/7.13.13/.env new file mode 100644 index 000000000..f83a30941 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.13/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.13 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.13/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.13/Dockerfile new file mode 100644 index 000000000..bb67a1613 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.13/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.13/Dockerfile.jdk11 new file mode 100644 index 000000000..2b5cd8793 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.13/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.13/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.13/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.13/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.13/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.13/docker-compose.yml new file mode 100644 index 000000000..f3f28c165 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.13/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.13" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.13-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.13-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.13/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.13/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.13/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.14/.env b/linux/ecosystem/atlassian/confluence/7/7.13.14/.env new file mode 100644 index 000000000..7ac0b68af --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.14/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.14 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.14/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.14/Dockerfile new file mode 100644 index 000000000..1f96c3b87 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.14/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.14/Dockerfile.jdk11 new file mode 100644 index 000000000..154f0387a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.14/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.14/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.14/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.14/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.14/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.14/docker-compose.yml new file mode 100644 index 000000000..837b93d85 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.14/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.14" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.14-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.14-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.14/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.14/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.14/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.15/.env b/linux/ecosystem/atlassian/confluence/7/7.13.15/.env new file mode 100644 index 000000000..2691b5076 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.15/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.15 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.15/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.15/Dockerfile new file mode 100644 index 000000000..52268ecbb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.15/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.15/Dockerfile.jdk11 new file mode 100644 index 000000000..97b9de7d6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.15/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.15/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.15/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.15/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.15/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.15/docker-compose.yml new file mode 100644 index 000000000..87dc35ca4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.15/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.15" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.15-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.15-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.15/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.15/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.15/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.16/.env b/linux/ecosystem/atlassian/confluence/7/7.13.16/.env new file mode 100644 index 000000000..327a5a36d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.16/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.16 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.16/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.16/Dockerfile new file mode 100644 index 000000000..9119fd53e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.16/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.16/Dockerfile.jdk11 new file mode 100644 index 000000000..b9622c412 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.16/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.16/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.16/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.16/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.16/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.16/docker-compose.yml new file mode 100644 index 000000000..f50721198 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.16/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.16" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.16-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.16-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.16/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.16/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.16/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.17/.env b/linux/ecosystem/atlassian/confluence/7/7.13.17/.env new file mode 100644 index 000000000..7a0bfed41 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.17/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.17 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.17/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.17/Dockerfile new file mode 100644 index 000000000..19ff9f136 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.17/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.17/Dockerfile.jdk11 new file mode 100644 index 000000000..41bcb99f9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.17/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.17/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.17/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.17/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.17/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.17/docker-compose.yml new file mode 100644 index 000000000..08f0f438e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.17/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.17" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.17-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.17-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.17/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.17/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.17/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.18/.env b/linux/ecosystem/atlassian/confluence/7/7.13.18/.env new file mode 100644 index 000000000..d6cfa7287 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.18/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.18 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.18/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.18/Dockerfile new file mode 100644 index 000000000..59abe2f6a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.18/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.18/Dockerfile.jdk11 new file mode 100644 index 000000000..e8b67b5b1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.18/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.18/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.18/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.18/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.18/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.18/docker-compose.yml new file mode 100644 index 000000000..926091d4a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.18/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.18" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.18-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.18-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.18/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.18/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.18/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.19/.env b/linux/ecosystem/atlassian/confluence/7/7.13.19/.env new file mode 100644 index 000000000..1fc27f08a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.19/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.19 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.19/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.19/Dockerfile new file mode 100644 index 000000000..a0f3afdd1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.19/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.19/Dockerfile.jdk11 new file mode 100644 index 000000000..ac42416c5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.19/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.19/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.19/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.19/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.19/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.19/docker-compose.yml new file mode 100644 index 000000000..daf45f472 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.19/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.19" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.19-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.19-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.19/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.19/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.19/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.2/.env b/linux/ecosystem/atlassian/confluence/7/7.13.2/.env new file mode 100644 index 000000000..0071ff472 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.2/Dockerfile new file mode 100644 index 000000000..afa7137eb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.2/Dockerfile.jdk11 new file mode 100644 index 000000000..b9e588a83 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.2/docker-compose.yml new file mode 100644 index 000000000..083f6c465 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.20/.env b/linux/ecosystem/atlassian/confluence/7/7.13.20/.env new file mode 100644 index 000000000..ddc91dcbd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.20/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.20 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.20/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.20/Dockerfile new file mode 100644 index 000000000..86a680a64 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.20/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.20 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.20/Dockerfile.jdk11 new file mode 100644 index 000000000..1e9701027 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.20/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.20 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.20/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.20/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.20/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.20/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.20/docker-compose.yml new file mode 100644 index 000000000..fcfee3689 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.20/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.20" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.20-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.20-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.20/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.20/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.20/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.3/.env b/linux/ecosystem/atlassian/confluence/7/7.13.3/.env new file mode 100644 index 000000000..914daf509 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.3/Dockerfile new file mode 100644 index 000000000..60b995999 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.3/Dockerfile.jdk11 new file mode 100644 index 000000000..beb6e08dc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.3/docker-compose.yml new file mode 100644 index 000000000..53887fa12 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.4/.env b/linux/ecosystem/atlassian/confluence/7/7.13.4/.env new file mode 100644 index 000000000..73b6fca3c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.4/Dockerfile new file mode 100644 index 000000000..67f221522 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.4/Dockerfile.jdk11 new file mode 100644 index 000000000..29354ce11 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.4/docker-compose.yml new file mode 100644 index 000000000..82a9b68b6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.5/.env b/linux/ecosystem/atlassian/confluence/7/7.13.5/.env new file mode 100644 index 000000000..0ccabb5f0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.5/Dockerfile new file mode 100644 index 000000000..3c1e0b5e7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.5/Dockerfile.jdk11 new file mode 100644 index 000000000..1d6245c09 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.5/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.5/docker-compose.yml new file mode 100644 index 000000000..6bc9de2f8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.6/.env b/linux/ecosystem/atlassian/confluence/7/7.13.6/.env new file mode 100644 index 000000000..333fd2534 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.6/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.6/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.6/Dockerfile new file mode 100644 index 000000000..08bcdf0fc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.6/Dockerfile.jdk11 new file mode 100644 index 000000000..00b8f5805 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.6/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.6/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.6/docker-compose.yml new file mode 100644 index 000000000..c028437b0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.6-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.6-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.7/.env b/linux/ecosystem/atlassian/confluence/7/7.13.7/.env new file mode 100644 index 000000000..b7eae8cd2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.7/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.7/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.7/Dockerfile new file mode 100644 index 000000000..1d1c40cba --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.7/Dockerfile.jdk11 new file mode 100644 index 000000000..a463414f8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.7/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.7/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.7/docker-compose.yml new file mode 100644 index 000000000..69984a680 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.7-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.7-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.8/.env b/linux/ecosystem/atlassian/confluence/7/7.13.8/.env new file mode 100644 index 000000000..86529f0a6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.8/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.8/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.8/Dockerfile new file mode 100644 index 000000000..73e6c02ab --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.8/Dockerfile.jdk11 new file mode 100644 index 000000000..2b1c696c0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.8/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.8/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.8/docker-compose.yml new file mode 100644 index 000000000..4a69d2d67 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.8" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.8-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.8-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.9/.env b/linux/ecosystem/atlassian/confluence/7/7.13.9/.env new file mode 100644 index 000000000..efcc87d66 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.9/.env @@ -0,0 +1,3 @@ +RELEASE=7.13.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.9/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.13.9/Dockerfile new file mode 100644 index 000000000..fee70c01b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.9/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.13.9/Dockerfile.jdk11 new file mode 100644 index 000000000..1ba0ba3cb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.9/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.13.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.9/Makefile b/linux/ecosystem/atlassian/confluence/7/7.13.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.13.9/docker-compose.yml new file mode 100644 index 000000000..5f38fdb27 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.9/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.13.9" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.13.9-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.13.9-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.13.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.13.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.13.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.0/.env b/linux/ecosystem/atlassian/confluence/7/7.14.0/.env new file mode 100644 index 000000000..9a3d993dc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.14.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.14.0/Dockerfile new file mode 100644 index 000000000..1186f9c1a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.14.0/Dockerfile.jdk11 new file mode 100644 index 000000000..3ee40ff03 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.14.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.14.0/docker-compose.yml new file mode 100644 index 000000000..b73f589f8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.14.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.14.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.14.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.14.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.1/.env b/linux/ecosystem/atlassian/confluence/7/7.14.1/.env new file mode 100644 index 000000000..678a3d9de --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.14.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.14.1/Dockerfile new file mode 100644 index 000000000..278cdcf8d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.14.1/Dockerfile.jdk11 new file mode 100644 index 000000000..112a0e516 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.14.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.14.1/docker-compose.yml new file mode 100644 index 000000000..fd9cc7465 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.14.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.14.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.14.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.14.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.2/.env b/linux/ecosystem/atlassian/confluence/7/7.14.2/.env new file mode 100644 index 000000000..2f1c534b0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.14.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.14.2/Dockerfile new file mode 100644 index 000000000..d400a5788 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.14.2/Dockerfile.jdk11 new file mode 100644 index 000000000..9269b8b85 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.14.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.14.2/docker-compose.yml new file mode 100644 index 000000000..d8d16a7b6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.14.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.14.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.14.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.14.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.3/.env b/linux/ecosystem/atlassian/confluence/7/7.14.3/.env new file mode 100644 index 000000000..538dbb287 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.14.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.14.3/Dockerfile new file mode 100644 index 000000000..d20a2c78f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.14.3/Dockerfile.jdk11 new file mode 100644 index 000000000..265892c8e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.14.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.14.3/docker-compose.yml new file mode 100644 index 000000000..097b436e2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.14.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.14.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.14.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.14.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.4/.env b/linux/ecosystem/atlassian/confluence/7/7.14.4/.env new file mode 100644 index 000000000..d3edac0f6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.14.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.14.4/Dockerfile new file mode 100644 index 000000000..8557ea62d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.14.4/Dockerfile.jdk11 new file mode 100644 index 000000000..51a1d9769 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.14.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.14.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.14.4/docker-compose.yml new file mode 100644 index 000000000..cfb6fab0d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.14.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.14.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.14.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.14.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.14.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.14.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.0/.env b/linux/ecosystem/atlassian/confluence/7/7.15.0/.env new file mode 100644 index 000000000..81c256bb7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.15.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.15.0/Dockerfile new file mode 100644 index 000000000..51685acc8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.15.0/Dockerfile.jdk11 new file mode 100644 index 000000000..e5069aba5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.15.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.15.0/docker-compose.yml new file mode 100644 index 000000000..baf4f54b4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.15.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.15.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.15.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.15.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.1/.env b/linux/ecosystem/atlassian/confluence/7/7.15.1/.env new file mode 100644 index 000000000..d07821065 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.15.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.15.1/Dockerfile new file mode 100644 index 000000000..f2c4d004a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.15.1/Dockerfile.jdk11 new file mode 100644 index 000000000..bb1d14e96 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.15.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.15.1/docker-compose.yml new file mode 100644 index 000000000..9d2a24dce --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.15.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.15.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.15.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.15.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.2/.env b/linux/ecosystem/atlassian/confluence/7/7.15.2/.env new file mode 100644 index 000000000..d9fc56fdc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.15.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.15.2/Dockerfile new file mode 100644 index 000000000..952e6a083 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.15.2/Dockerfile.jdk11 new file mode 100644 index 000000000..14929306d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.15.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.15.2/docker-compose.yml new file mode 100644 index 000000000..0a54408ad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.15.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.15.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.15.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.15.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.3/.env b/linux/ecosystem/atlassian/confluence/7/7.15.3/.env new file mode 100644 index 000000000..e9c802318 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.15.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.15.3/Dockerfile new file mode 100644 index 000000000..4162b03ff --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.15.3/Dockerfile.jdk11 new file mode 100644 index 000000000..78023eddf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.15.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.15.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.15.3/docker-compose.yml new file mode 100644 index 000000000..f614dafc8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.15.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.15.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.15.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.15.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.15.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.15.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.0/.env b/linux/ecosystem/atlassian/confluence/7/7.16.0/.env new file mode 100644 index 000000000..9fc7ac374 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.16.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.16.0/Dockerfile new file mode 100644 index 000000000..54fbc00d3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.16.0/Dockerfile.jdk11 new file mode 100644 index 000000000..575345dc3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.16.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.16.0/docker-compose.yml new file mode 100644 index 000000000..25460db98 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.16.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.16.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.16.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.16.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.1/.env b/linux/ecosystem/atlassian/confluence/7/7.16.1/.env new file mode 100644 index 000000000..3dab7ef5a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.16.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.16.1/Dockerfile new file mode 100644 index 000000000..b635db3d2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.16.1/Dockerfile.jdk11 new file mode 100644 index 000000000..d637ff804 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.16.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.16.1/docker-compose.yml new file mode 100644 index 000000000..4b3c3877c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.16.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.16.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.16.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.16.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.2/.env b/linux/ecosystem/atlassian/confluence/7/7.16.2/.env new file mode 100644 index 000000000..cbc820cc0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.16.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.16.2/Dockerfile new file mode 100644 index 000000000..6661bfcd4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.16.2/Dockerfile.jdk11 new file mode 100644 index 000000000..232f56a0f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.16.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.16.2/docker-compose.yml new file mode 100644 index 000000000..d9ac4eca6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.16.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.16.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.16.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.16.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.3/.env b/linux/ecosystem/atlassian/confluence/7/7.16.3/.env new file mode 100644 index 000000000..aede82666 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.16.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.16.3/Dockerfile new file mode 100644 index 000000000..254e423c4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.16.3/Dockerfile.jdk11 new file mode 100644 index 000000000..ba8453c69 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.16.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.16.3/docker-compose.yml new file mode 100644 index 000000000..0db1f1586 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.16.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.16.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.16.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.16.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.4/.env b/linux/ecosystem/atlassian/confluence/7/7.16.4/.env new file mode 100644 index 000000000..1ff9831e7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.16.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.16.4/Dockerfile new file mode 100644 index 000000000..32c58965a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.16.4/Dockerfile.jdk11 new file mode 100644 index 000000000..f38721c11 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.16.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.16.4/docker-compose.yml new file mode 100644 index 000000000..05cbb3e2f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.16.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.16.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.16.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.16.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.5/.env b/linux/ecosystem/atlassian/confluence/7/7.16.5/.env new file mode 100644 index 000000000..a613496bc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.16.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.16.5/Dockerfile new file mode 100644 index 000000000..eb9dbf85a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.16.5/Dockerfile.jdk11 new file mode 100644 index 000000000..dbec67e6a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.5/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.16.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.16.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.16.5/docker-compose.yml new file mode 100644 index 000000000..0064d3d13 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.16.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.16.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.16.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.16.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.16.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.16.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.0/.env b/linux/ecosystem/atlassian/confluence/7/7.17.0/.env new file mode 100644 index 000000000..cc762c02c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.17.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.17.0/Dockerfile new file mode 100644 index 000000000..c9ce73498 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.17.0/Dockerfile.jdk11 new file mode 100644 index 000000000..848ad19af --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.17.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.17.0/docker-compose.yml new file mode 100644 index 000000000..dcba2c234 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.17.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.17.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.17.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.17.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.1/.env b/linux/ecosystem/atlassian/confluence/7/7.17.1/.env new file mode 100644 index 000000000..82b264d70 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.17.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.17.1/Dockerfile new file mode 100644 index 000000000..914651528 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.17.1/Dockerfile.jdk11 new file mode 100644 index 000000000..d9c060123 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.17.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.17.1/docker-compose.yml new file mode 100644 index 000000000..2b1279fea --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.17.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.17.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.17.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.17.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.2/.env b/linux/ecosystem/atlassian/confluence/7/7.17.2/.env new file mode 100644 index 000000000..8e01d68bf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.17.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.17.2/Dockerfile new file mode 100644 index 000000000..e8efd7082 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.17.2/Dockerfile.jdk11 new file mode 100644 index 000000000..3da2641c2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.17.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.17.2/docker-compose.yml new file mode 100644 index 000000000..87263e799 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.17.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.17.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.17.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.17.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.3/.env b/linux/ecosystem/atlassian/confluence/7/7.17.3/.env new file mode 100644 index 000000000..55179415f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.17.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.17.3/Dockerfile new file mode 100644 index 000000000..4a840b62e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.17.3/Dockerfile.jdk11 new file mode 100644 index 000000000..672d3cbc6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.17.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.17.3/docker-compose.yml new file mode 100644 index 000000000..4d71b6fd6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.17.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.17.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.17.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.17.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.4/.env b/linux/ecosystem/atlassian/confluence/7/7.17.4/.env new file mode 100644 index 000000000..fb643e814 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.17.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.17.4/Dockerfile new file mode 100644 index 000000000..0e6de5262 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.17.4/Dockerfile.jdk11 new file mode 100644 index 000000000..29320c73a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.17.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.17.4/docker-compose.yml new file mode 100644 index 000000000..f2afebc97 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.17.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.17.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.17.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.17.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.5/.env b/linux/ecosystem/atlassian/confluence/7/7.17.5/.env new file mode 100644 index 000000000..b8f661b07 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.17.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.17.5/Dockerfile new file mode 100644 index 000000000..9c4c017ec --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.17.5/Dockerfile.jdk11 new file mode 100644 index 000000000..5772ee494 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.5/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.17.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.17.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.17.5/docker-compose.yml new file mode 100644 index 000000000..31c90ba2e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.17.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.17.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.17.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.17.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.17.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.17.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.0/.env b/linux/ecosystem/atlassian/confluence/7/7.18.0/.env new file mode 100644 index 000000000..c7bf130f9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.18.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.18.0/Dockerfile new file mode 100644 index 000000000..f724b7394 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.18.0/Dockerfile.jdk11 new file mode 100644 index 000000000..3373da588 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.18.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.18.0/docker-compose.yml new file mode 100644 index 000000000..1fdc35233 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.18.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.18.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.18.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.18.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.1/.env b/linux/ecosystem/atlassian/confluence/7/7.18.1/.env new file mode 100644 index 000000000..e733738d9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.18.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.18.1/Dockerfile new file mode 100644 index 000000000..7357c47a6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.18.1/Dockerfile.jdk11 new file mode 100644 index 000000000..71e4a422f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.18.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.18.1/docker-compose.yml new file mode 100644 index 000000000..574746c51 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.18.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.18.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.18.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.18.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.2/.env b/linux/ecosystem/atlassian/confluence/7/7.18.2/.env new file mode 100644 index 000000000..f1f47158e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.18.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.18.2/Dockerfile new file mode 100644 index 000000000..13f16a012 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.18.2/Dockerfile.jdk11 new file mode 100644 index 000000000..05e6d04bc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.18.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.18.2/docker-compose.yml new file mode 100644 index 000000000..a3ece1220 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.18.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.18.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.18.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.18.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.3/.env b/linux/ecosystem/atlassian/confluence/7/7.18.3/.env new file mode 100644 index 000000000..02683aa71 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.18.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.18.3/Dockerfile new file mode 100644 index 000000000..ee744d51f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.18.3/Dockerfile.jdk11 new file mode 100644 index 000000000..b0bc42c5b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.18.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.18.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.18.3/docker-compose.yml new file mode 100644 index 000000000..db2eb7129 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.18.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.18.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.18.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.18.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.18.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.18.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.0/.env b/linux/ecosystem/atlassian/confluence/7/7.19.0/.env new file mode 100644 index 000000000..99ff1aa10 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile index 33c11703b..078e8663c 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile.jdk11 index 547892910..ac6714520 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.0/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.0/docker-compose.yml index 0bfe60826..5c42c2cd2 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.0/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.0" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.0-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.0-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.1/.env b/linux/ecosystem/atlassian/confluence/7/7.19.1/.env new file mode 100644 index 000000000..a51afe0ad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile index d5caccfa9..a8e034dfa 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile.jdk11 index 7f6bf0b09..d90fa871f 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.1/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.1/docker-compose.yml index 5052b06a9..028b84307 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.1/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.1" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.1-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.1-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.10/.env b/linux/ecosystem/atlassian/confluence/7/7.19.10/.env new file mode 100644 index 000000000..dba9a2edc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.10/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.10 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.10/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.10/Dockerfile new file mode 100644 index 000000000..4b774b107 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.10/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.10/Dockerfile.jdk11 new file mode 100644 index 000000000..03713d328 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.10/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.10/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.10/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.10/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.10/docker-compose.yml new file mode 100644 index 000000000..e21041bf7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.10/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.10" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.10-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.10-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.10/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.10/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.10/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.11/.env b/linux/ecosystem/atlassian/confluence/7/7.19.11/.env new file mode 100644 index 000000000..78a05ddb8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.11/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.11 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.11/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.11/Dockerfile new file mode 100644 index 000000000..a99abd5c5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.11/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.11/Dockerfile.jdk11 new file mode 100644 index 000000000..493ac91ae --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.11/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.11/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.11/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.11/docker-compose.yml new file mode 100644 index 000000000..84d04d6a7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.11/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.11" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.11-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.11-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.11/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.11/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.11/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.12/.env b/linux/ecosystem/atlassian/confluence/7/7.19.12/.env new file mode 100644 index 000000000..6e3346286 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.12/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.12 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.12/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.12/Dockerfile new file mode 100644 index 000000000..9a88edfb5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.12/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.12/Dockerfile.jdk11 new file mode 100644 index 000000000..b0c79ac6d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.12/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.12/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.12/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.12/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.12/docker-compose.yml new file mode 100644 index 000000000..b5d185b76 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.12/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.12" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.12-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.12-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.12/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.12/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.12/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.14/.env b/linux/ecosystem/atlassian/confluence/7/7.19.14/.env new file mode 100644 index 000000000..e40fc027f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.14/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.14 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.14/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.14/Dockerfile new file mode 100644 index 000000000..50164b065 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.14/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.14/Dockerfile.jdk11 new file mode 100644 index 000000000..2f8dbdd8b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.14/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.14/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.14/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.14/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.14/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.14/docker-compose.yml new file mode 100644 index 000000000..cb937b9ac --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.14/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.14" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.14-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.14-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.14/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.14/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.14/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.15/.env b/linux/ecosystem/atlassian/confluence/7/7.19.15/.env new file mode 100644 index 000000000..069ac561b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.15/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.15 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.15/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.15/Dockerfile new file mode 100644 index 000000000..72a42db82 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.15/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.15/Dockerfile.jdk11 new file mode 100644 index 000000000..0836df7d9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.15/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.15/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.15/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.15/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.15/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.15/docker-compose.yml new file mode 100644 index 000000000..7527d104b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.15/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.15" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.15-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.15-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.15/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.15/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.15/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.16/.env b/linux/ecosystem/atlassian/confluence/7/7.19.16/.env new file mode 100644 index 000000000..2a527ef90 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.16/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.16 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile index bbf43832b..e177f1962 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.16 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile.jdk11 index d868d7e0b..a455e4659 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.16/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.16 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.16/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.16/docker-compose.yml index afcbaa307..1adfe9494 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.16/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.16" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.16-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.16-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.17/.env b/linux/ecosystem/atlassian/confluence/7/7.19.17/.env new file mode 100644 index 000000000..4ea623faf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.17/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.17 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile index 09889a1db..697f8112a 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.17 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile.jdk11 index 3ce47631e..a22a14499 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.17/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.17 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.17/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.17/docker-compose.yml index 26e7c5689..f8cbb2bdb 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.17/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.17" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.17-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.17-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.18/.env b/linux/ecosystem/atlassian/confluence/7/7.19.18/.env new file mode 100644 index 000000000..d3441c7be --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.18/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.18 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile index c8e3b83d9..5999fd43f 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.18 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile.jdk11 index b77ce96b6..b1e073e6d 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.18/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.18 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.18/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.18/docker-compose.yml index c6c10c73c..1c682a878 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.18/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.18" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.18-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.18-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.19/.env b/linux/ecosystem/atlassian/confluence/7/7.19.19/.env new file mode 100644 index 000000000..67f73a195 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.19/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.19 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.19/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.19/Dockerfile new file mode 100644 index 000000000..d7b4db759 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.19/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.19/Dockerfile.jdk11 new file mode 100644 index 000000000..a08dee669 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.19/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.19/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.19/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.19/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.19/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.19/docker-compose.yml new file mode 100644 index 000000000..b28c97fbb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.19/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.19" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.19-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.19-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.19/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.19/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.19/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.2/.env b/linux/ecosystem/atlassian/confluence/7/7.19.2/.env new file mode 100644 index 000000000..40c818970 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile index aeba53989..ffb4cd434 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile.jdk11 index e3bb0b43a..91f0cf111 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.2/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.2/docker-compose.yml index 4d46177fa..1bae64965 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.2/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.2" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.2-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.2-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.20/.env b/linux/ecosystem/atlassian/confluence/7/7.19.20/.env new file mode 100644 index 000000000..80061a41f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.20/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.20 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.20/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.20/Dockerfile new file mode 100644 index 000000000..4576e9672 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.20/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.20 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.20/Dockerfile.jdk11 new file mode 100644 index 000000000..6d9c81edc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.20/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.20 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.20/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.20/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.20/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.20/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.20/docker-compose.yml new file mode 100644 index 000000000..fd4b581b5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.20/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.20" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.20-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.20-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.20/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.20/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.20/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.21/.env b/linux/ecosystem/atlassian/confluence/7/7.19.21/.env new file mode 100644 index 000000000..6256d8f4e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.21/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.21 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.21/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.21/Dockerfile new file mode 100644 index 000000000..27d3f7c45 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.21/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.21 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.21/Dockerfile.jdk11 new file mode 100644 index 000000000..61baba0ce --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.21/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.21 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.21/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.21/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.21/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.21/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.21/docker-compose.yml new file mode 100644 index 000000000..4eed327ce --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.21/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.21" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.21-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.21-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.21/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.21/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.21/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.22/.env b/linux/ecosystem/atlassian/confluence/7/7.19.22/.env new file mode 100644 index 000000000..6d8814186 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.22/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.22 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.22/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.22/Dockerfile new file mode 100644 index 000000000..f4059c93f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.22/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.22 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.22/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.22/Dockerfile.jdk11 new file mode 100644 index 000000000..b966ca1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.22/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.22 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.22/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.22/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.22/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.22/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.22/docker-compose.yml new file mode 100644 index 000000000..dbd29e5a3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.22/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.22" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.22-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.22-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.22/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.22/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.22/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.23/.env b/linux/ecosystem/atlassian/confluence/7/7.19.23/.env new file mode 100644 index 000000000..ebe88f579 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.23/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.23 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.23/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.23/Dockerfile new file mode 100644 index 000000000..ec180468f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.23/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.23 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.23/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.23/Dockerfile.jdk11 new file mode 100644 index 000000000..441a83862 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.23/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.23 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.23/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.23/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.23/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.23/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.23/docker-compose.yml new file mode 100644 index 000000000..bb10267ac --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.23/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.23" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.23-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.23-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.23/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.23/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.23/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.24/.env b/linux/ecosystem/atlassian/confluence/7/7.19.24/.env new file mode 100644 index 000000000..8bdc934aa --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.24/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.24 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.24/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.24/Dockerfile new file mode 100644 index 000000000..1836a1b2e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.24/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.24 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.24/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.24/Dockerfile.jdk11 new file mode 100644 index 000000000..4f78c3554 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.24/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.24 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.24/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.24/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.24/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.24/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.24/docker-compose.yml new file mode 100644 index 000000000..bdc0a1656 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.24/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.24" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.24-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.24-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.24/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.24/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.24/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.25/.env b/linux/ecosystem/atlassian/confluence/7/7.19.25/.env new file mode 100644 index 000000000..e037ff9db --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.25/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.25 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.25/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.25/Dockerfile new file mode 100644 index 000000000..ae4c88d0c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.25/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.25 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.25/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.25/Dockerfile.jdk11 new file mode 100644 index 000000000..92366bb22 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.25/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.25 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.25/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.25/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.25/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.25/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.25/docker-compose.yml new file mode 100644 index 000000000..76dfaa878 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.25/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.25" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.25-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.25-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.25/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.25/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.25/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.26/.env b/linux/ecosystem/atlassian/confluence/7/7.19.26/.env new file mode 100644 index 000000000..ca64910ac --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.26/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.26 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.26/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.26/Dockerfile new file mode 100644 index 000000000..a48805a9e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.26/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.26 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.26/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.26/Dockerfile.jdk11 new file mode 100644 index 000000000..e3075752a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.26/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.26 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.26/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.26/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.26/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.26/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.26/docker-compose.yml new file mode 100644 index 000000000..7cd158fa8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.26/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.26" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.26-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.26-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.26/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.26/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.26/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.27/.env b/linux/ecosystem/atlassian/confluence/7/7.19.27/.env new file mode 100644 index 000000000..3216d5515 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.27/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.27 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.27/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.27/Dockerfile new file mode 100644 index 000000000..cfa705cf1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.27/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.27 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.27/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.27/Dockerfile.jdk11 new file mode 100644 index 000000000..9a30eebba --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.27/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.27 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.27/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.27/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.27/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.27/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.27/docker-compose.yml new file mode 100644 index 000000000..4a7043afa --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.27/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.27" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.27-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.27-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.27/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.27/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.27/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.28/.env b/linux/ecosystem/atlassian/confluence/7/7.19.28/.env new file mode 100644 index 000000000..528c5b5ba --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.28/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.28 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.28/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.28/Dockerfile new file mode 100644 index 000000000..be25f187d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.28/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.28 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.28/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.28/Dockerfile.jdk11 new file mode 100644 index 000000000..031d77c27 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.28/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.28 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.28/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.28/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.28/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.28/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.28/docker-compose.yml new file mode 100644 index 000000000..25a17d5aa --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.28/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.28" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.28-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.28-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.28/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.28/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.28/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.29/.env b/linux/ecosystem/atlassian/confluence/7/7.19.29/.env new file mode 100644 index 000000000..cc19cca7f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.29/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.29 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.29/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.29/Dockerfile new file mode 100644 index 000000000..20de07c55 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.29/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.29 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.29/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.29/Dockerfile.jdk11 new file mode 100644 index 000000000..65f0cfa32 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.29/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.29 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.29/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.29/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.29/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.29/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.29/docker-compose.yml new file mode 100644 index 000000000..38e9d50c5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.29/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.29" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.29-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.29-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.29/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.29/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.29/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.3/.env b/linux/ecosystem/atlassian/confluence/7/7.19.3/.env new file mode 100644 index 000000000..2c26455eb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile index 5adb82784..0bfdf912b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.3 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile.jdk11 index c2e84c498..301fbb954 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.3/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.3 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.3/docker-compose.yml index c80b696ca..2b2d65878 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.3/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.3" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.3-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.3-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.30/.env b/linux/ecosystem/atlassian/confluence/7/7.19.30/.env new file mode 100644 index 000000000..2ab07c116 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.30/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.30 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.30/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.30/Dockerfile new file mode 100644 index 000000000..328db6c4c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.30/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.30 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.30/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.30/Dockerfile.jdk11 new file mode 100644 index 000000000..48228b827 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.30/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.30 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.30/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.30/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.30/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.30/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.30/docker-compose.yml new file mode 100644 index 000000000..9d2c34eab --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.30/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.30" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.30-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.30-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.30/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.30/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.30/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.4/.env b/linux/ecosystem/atlassian/confluence/7/7.19.4/.env new file mode 100644 index 000000000..c97ed7a86 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile index e97271f55..4d4b2df42 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.4 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile.jdk11 index 9b8a2c1be..84f3b1edc 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.19.4/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.19.4 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.19.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.4/docker-compose.yml index bcc59bd63..41af5e90f 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.19.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.19.4/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.19.4" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.19.4-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.19.4-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.5/.env b/linux/ecosystem/atlassian/confluence/7/7.19.5/.env new file mode 100644 index 000000000..4415966cc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.5/Dockerfile new file mode 100644 index 000000000..3b5089ecb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.5/Dockerfile.jdk11 new file mode 100644 index 000000000..b197554da --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.5/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.5/docker-compose.yml new file mode 100644 index 000000000..f4bf5c48a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.6/.env b/linux/ecosystem/atlassian/confluence/7/7.19.6/.env new file mode 100644 index 000000000..bb6fc7d35 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.6/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.6/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.6/Dockerfile new file mode 100644 index 000000000..0e8f780b9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.6/Dockerfile.jdk11 new file mode 100644 index 000000000..665c2d672 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.6/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.6/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.6/docker-compose.yml new file mode 100644 index 000000000..7d5829df8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.6-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.6-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.7/.env b/linux/ecosystem/atlassian/confluence/7/7.19.7/.env new file mode 100644 index 000000000..9219926c2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.7/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.7/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.7/Dockerfile new file mode 100644 index 000000000..c78a69981 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.7/Dockerfile.jdk11 new file mode 100644 index 000000000..1e68d8c4c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.7/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.7/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.7/docker-compose.yml new file mode 100644 index 000000000..bdd3942a3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.7-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.7-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.8/.env b/linux/ecosystem/atlassian/confluence/7/7.19.8/.env new file mode 100644 index 000000000..461631bc0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.8/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.8/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.8/Dockerfile new file mode 100644 index 000000000..8a0835595 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.8/Dockerfile.jdk11 new file mode 100644 index 000000000..0c4da7bad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.8/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.8/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.8/docker-compose.yml new file mode 100644 index 000000000..a9ccb33f0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.8" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.8-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.8-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.9/.env b/linux/ecosystem/atlassian/confluence/7/7.19.9/.env new file mode 100644 index 000000000..3ec2852d0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.9/.env @@ -0,0 +1,3 @@ +RELEASE=7.19.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.9/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.19.9/Dockerfile new file mode 100644 index 000000000..59c64fbd4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.9/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.19.9/Dockerfile.jdk11 new file mode 100644 index 000000000..6d8b7213c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.9/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.19.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.9/Makefile b/linux/ecosystem/atlassian/confluence/7/7.19.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.19.9/docker-compose.yml new file mode 100644 index 000000000..b84afd368 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.9/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.19.9" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.19.9-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.19.9-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.19.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.19.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.19.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.0/.env b/linux/ecosystem/atlassian/confluence/7/7.2.0/.env new file mode 100644 index 000000000..e62e576ee --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.2.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.2.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile index 13886c33f..21f593fff 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.2.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile.jdk11 index 6ea0fcb62..aa7d70a47 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.2.0/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.2.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.2.0/Makefile index 63c528903..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.2.0/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.2.0 . - docker push epicmorg/confluence:7.2.0 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.2.0/docker-compose.yml new file mode 100644 index 000000000..b0e0764c8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.2.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.2.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.2.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.2.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.1/.env b/linux/ecosystem/atlassian/confluence/7/7.2.1/.env new file mode 100644 index 000000000..6d738f56d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.2.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.2.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile index 98bce9031..9b5da59b2 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.2.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile.jdk11 index 26adf0504..764243b13 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.2.1/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.2.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.2.1/Makefile index 7833900ff..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.2.1/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.2.1 . - docker push epicmorg/confluence:7.2.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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.2.1/docker-compose.yml new file mode 100644 index 000000000..43c5dfa5e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.2.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.2.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.2.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.2.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.2/.env b/linux/ecosystem/atlassian/confluence/7/7.2.2/.env new file mode 100644 index 000000000..3bb31a538 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.2.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.2.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile index 8b6513b26..b899920e9 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.2.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile.jdk11 index ab439e027..84086e1cb 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.2.2/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.2.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.2.2/Makefile index 618bbb3c6..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.2.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.2.2/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.2.2 . - docker push epicmorg/confluence:7.2.2 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.2.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.2.2/docker-compose.yml new file mode 100644 index 000000000..6184c69dc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.2.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.2.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.2.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.2.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.0/.env b/linux/ecosystem/atlassian/confluence/7/7.20.0/.env new file mode 100644 index 000000000..c588137d7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.20.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.20.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile index 0fb7662ae..c80e84f48 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile.jdk11 index 2637eb96b..8b4bfc881 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.20.0/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.20.0/docker-compose.yml index 45f697f3a..c06c96411 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.20.0/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.20.0" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.20.0-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.20.0-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.1/.env b/linux/ecosystem/atlassian/confluence/7/7.20.1/.env new file mode 100644 index 000000000..4de6e70de --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.20.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.20.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile index 322e12702..06d005374 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile.jdk11 index d33bd0e82..2a74960e1 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.20.1/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.20.1/docker-compose.yml index e07fc6991..933ab7d97 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.20.1/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.20.1" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.20.1-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.20.1-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.2/.env b/linux/ecosystem/atlassian/confluence/7/7.20.2/.env new file mode 100644 index 000000000..50b080f37 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.20.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.20.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile index 21da04c05..831948c5e 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile.jdk11 index c1f0cda71..9493c1e97 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.20.2/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.20.2/docker-compose.yml index d07654753..881e41cbc 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.20.2/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.20.2" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.20.2-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.20.2-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.3/.env b/linux/ecosystem/atlassian/confluence/7/7.20.3/.env new file mode 100644 index 000000000..dd3c4697e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.20.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.20.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile index 78b8bf837..6b4fec6f8 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.3 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile.jdk11 index 64f3d869c..d22452217 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.20.3/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.20.3 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.20.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.20.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.20.3/docker-compose.yml index 6e3a5dbb4..c6ce8f66e 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.20.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/7/7.20.3/docker-compose.yml @@ -1,9 +1,12 @@ -#version: '3' services: app: image: "epicmorg/confluence:7.20.3" build: context: . + app-jdk8: + image: "epicmorg/confluence:7.20.3-jdk8" + build: + context: . app-jdk11: image: "epicmorg/confluence:7.20.3-jdk11" build: diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.1/.env b/linux/ecosystem/atlassian/confluence/7/7.3.1/.env new file mode 100644 index 000000000..8ce9197a6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.3.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile index 2092afeab..385fbe77d 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile.jdk11 index df37bc6d7..f6bc9aee6 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.3.1/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.3.1/Makefile index 916a62fde..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.1/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.1/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.3.1 . - docker push epicmorg/confluence:7.3.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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.3.1/docker-compose.yml new file mode 100644 index 000000000..70616158f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.3.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.3.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.3.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.2/.env b/linux/ecosystem/atlassian/confluence/7/7.3.2/.env new file mode 100644 index 000000000..9978a5f8a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.3.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile index 694b7315a..464f0763d 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile.jdk11 index 82ea158cd..c5ae72d7e 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.3.2/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.2 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.3.2/Makefile index ac5a58e0e..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.2/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.2/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.3.2 . - docker push epicmorg/confluence:7.3.2 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.3.2/docker-compose.yml new file mode 100644 index 000000000..29f2df100 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.3.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.3.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.3.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.3/.env b/linux/ecosystem/atlassian/confluence/7/7.3.3/.env new file mode 100644 index 000000000..739c217cc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.3.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile index 0a35c60c2..24c846313 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.3 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile.jdk11 index 6f29466b0..cacebfcbb 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.3.3/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.3 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.3.3/Makefile index 23192f17d..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.3/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.3/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.3.3 . - docker push epicmorg/confluence:7.3.3 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.3.3/docker-compose.yml new file mode 100644 index 000000000..dd6478b90 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.3.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.3.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.3.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.4/.env b/linux/ecosystem/atlassian/confluence/7/7.3.4/.env new file mode 100644 index 000000000..d015717a6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.3.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile index 5d1f27afa..f7814b482 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.4 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile.jdk11 index c95d582c9..cecfbb667 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.3.4/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.4 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.3.4/Makefile index ed0590b83..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.4/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.4/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.3.4 . - docker push epicmorg/confluence:7.3.4 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.3.4/docker-compose.yml new file mode 100644 index 000000000..87490e90f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.3.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.3.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.3.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.5/.env b/linux/ecosystem/atlassian/confluence/7/7.3.5/.env new file mode 100644 index 000000000..88514e131 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.3.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile index f860f977c..a777b4ef4 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.5 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile.jdk11 index 2f42e1465..86ba8c135 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.3.5/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.3.5 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.3.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.3.5/Makefile index 0365d0cd3..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.3.5/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.3.5/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.3.5 . - docker push epicmorg/confluence:7.3.5 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.3.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.3.5/docker-compose.yml new file mode 100644 index 000000000..287168061 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.3.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.3.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.3.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.3.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.0/.env b/linux/ecosystem/atlassian/confluence/7/7.4.0/.env new file mode 100644 index 000000000..604e90c86 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile index 74de648aa..88f789d8b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.4.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile.jdk11 index e993e8e05..2c14ca31b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.4.0/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.4.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.0/Makefile index bfc4d8cd4..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.4.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.4.0/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.4.0 . - docker push epicmorg/confluence:7.4.0 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.0/docker-compose.yml new file mode 100644 index 000000000..3e530088b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.1/.env b/linux/ecosystem/atlassian/confluence/7/7.4.1/.env new file mode 100644 index 000000000..3132865ea --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.1/Dockerfile new file mode 100644 index 000000000..505e6c449 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.1/Dockerfile.jdk11 new file mode 100644 index 000000000..4efa3b13d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.1/docker-compose.yml new file mode 100644 index 000000000..44dc9cbde --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.10/.env b/linux/ecosystem/atlassian/confluence/7/7.4.10/.env new file mode 100644 index 000000000..847eb1a20 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.10/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.10 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.10/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.10/Dockerfile new file mode 100644 index 000000000..c2c370346 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.10/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.10/Dockerfile.jdk11 new file mode 100644 index 000000000..36c749fde --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.10/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.10/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.10/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.10/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.10/docker-compose.yml new file mode 100644 index 000000000..84edba40e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.10/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.10" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.10-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.10-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.10/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.10/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.10/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.11/.env b/linux/ecosystem/atlassian/confluence/7/7.4.11/.env new file mode 100644 index 000000000..ef877b516 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.11/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.11 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.11/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.11/Dockerfile new file mode 100644 index 000000000..cf26b69f8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.11/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.11/Dockerfile.jdk11 new file mode 100644 index 000000000..80d355514 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.11/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.11/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.11/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.11/docker-compose.yml new file mode 100644 index 000000000..30317bd17 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.11/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.11" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.11-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.11-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.11/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.11/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.11/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.12/.env b/linux/ecosystem/atlassian/confluence/7/7.4.12/.env new file mode 100644 index 000000000..387ae90f4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.12/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.12 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.12/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.12/Dockerfile new file mode 100644 index 000000000..daa293238 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.12/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.12/Dockerfile.jdk11 new file mode 100644 index 000000000..9c4c8ca46 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.12/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.12/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.12/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.12/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.12/docker-compose.yml new file mode 100644 index 000000000..2151bfee1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.12/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.12" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.12-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.12-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.12/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.12/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.12/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.13/.env b/linux/ecosystem/atlassian/confluence/7/7.4.13/.env new file mode 100644 index 000000000..64a4e590a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.13/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.13 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.13/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.13/Dockerfile new file mode 100644 index 000000000..e7e96b1a3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.13/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.13/Dockerfile.jdk11 new file mode 100644 index 000000000..72a820322 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.13/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.13/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.13/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.13/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.13/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.13/docker-compose.yml new file mode 100644 index 000000000..80e14159e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.13/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.13" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.13-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.13-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.13/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.13/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.13/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.14/.env b/linux/ecosystem/atlassian/confluence/7/7.4.14/.env new file mode 100644 index 000000000..96e6881ee --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.14/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.14 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.14/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.14/Dockerfile new file mode 100644 index 000000000..96421f6b7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.14/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.14/Dockerfile.jdk11 new file mode 100644 index 000000000..a963c1580 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.14/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.14/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.14/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.14/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.14/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.14/docker-compose.yml new file mode 100644 index 000000000..cc3cad0d6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.14/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.14" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.14-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.14-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.14/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.14/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.14/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.15/.env b/linux/ecosystem/atlassian/confluence/7/7.4.15/.env new file mode 100644 index 000000000..e11cb3bbe --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.15/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.15 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.15/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.15/Dockerfile new file mode 100644 index 000000000..037fc05f1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.15/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.15/Dockerfile.jdk11 new file mode 100644 index 000000000..d15801dc7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.15/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.15/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.15/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.15/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.15/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.15/docker-compose.yml new file mode 100644 index 000000000..4a9bf7a40 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.15/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.15" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.15-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.15-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.15/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.15/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.15/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.16/.env b/linux/ecosystem/atlassian/confluence/7/7.4.16/.env new file mode 100644 index 000000000..af80b4671 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.16/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.16 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.16/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.16/Dockerfile new file mode 100644 index 000000000..8f8a7cb7d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.16/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.16/Dockerfile.jdk11 new file mode 100644 index 000000000..dafbf25c3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.16/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.16/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.16/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.16/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.16/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.16/docker-compose.yml new file mode 100644 index 000000000..a22b70689 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.16/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.16" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.16-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.16-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.16/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.16/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.16/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.17/.env b/linux/ecosystem/atlassian/confluence/7/7.4.17/.env new file mode 100644 index 000000000..2cb2b2d3c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.17/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.17 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.17/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.17/Dockerfile new file mode 100644 index 000000000..959cbef50 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.17/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.17/Dockerfile.jdk11 new file mode 100644 index 000000000..30b5c9512 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.17/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.17/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.17/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.17/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.17/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.17/docker-compose.yml new file mode 100644 index 000000000..1a8a89534 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.17/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.17" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.17-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.17-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.17/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.17/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.17/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.18/.env b/linux/ecosystem/atlassian/confluence/7/7.4.18/.env new file mode 100644 index 000000000..b299ea131 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.18/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.18 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.18/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.18/Dockerfile new file mode 100644 index 000000000..2c4c0381f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.18/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.18/Dockerfile.jdk11 new file mode 100644 index 000000000..04af28558 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.18/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.18/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.18/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.18/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.18/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.18/docker-compose.yml new file mode 100644 index 000000000..4784f8e2e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.18/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.18" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.18-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.18-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.18/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.18/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.18/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.3/.env b/linux/ecosystem/atlassian/confluence/7/7.4.3/.env new file mode 100644 index 000000000..0bb068c9e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.3/Dockerfile new file mode 100644 index 000000000..f83d24b26 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.3/Dockerfile.jdk11 new file mode 100644 index 000000000..43a20dea9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.3/docker-compose.yml new file mode 100644 index 000000000..73135dcff --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.4/.env b/linux/ecosystem/atlassian/confluence/7/7.4.4/.env new file mode 100644 index 000000000..9c3a514d4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.4/Dockerfile new file mode 100644 index 000000000..f632cc424 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.4/Dockerfile.jdk11 new file mode 100644 index 000000000..b51a2a9dc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.4/docker-compose.yml new file mode 100644 index 000000000..d5bea2242 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.5/.env b/linux/ecosystem/atlassian/confluence/7/7.4.5/.env new file mode 100644 index 000000000..e8c233a98 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.5/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.5/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.5/Dockerfile new file mode 100644 index 000000000..f50c9b32a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.5/Dockerfile.jdk11 new file mode 100644 index 000000000..0b6f8e77a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.5/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.5/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.5/docker-compose.yml new file mode 100644 index 000000000..a69b63085 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.5" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.5-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.5-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.6/.env b/linux/ecosystem/atlassian/confluence/7/7.4.6/.env new file mode 100644 index 000000000..31599d56d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.6/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.6/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.6/Dockerfile new file mode 100644 index 000000000..f18593bde --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.6/Dockerfile.jdk11 new file mode 100644 index 000000000..4505a1a2b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.6/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.6/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.6/docker-compose.yml new file mode 100644 index 000000000..66e36a979 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.6" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.6-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.6-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.7/.env b/linux/ecosystem/atlassian/confluence/7/7.4.7/.env new file mode 100644 index 000000000..6d00154c3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.7/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.7/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.7/Dockerfile new file mode 100644 index 000000000..dccf269b1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.7/Dockerfile.jdk11 new file mode 100644 index 000000000..a90aceeba --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.7/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.7/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.7/docker-compose.yml new file mode 100644 index 000000000..b262dc40e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.7" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.7-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.7-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.8/.env b/linux/ecosystem/atlassian/confluence/7/7.4.8/.env new file mode 100644 index 000000000..72d9ab268 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.8/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.8/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.8/Dockerfile new file mode 100644 index 000000000..9069ddc66 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.8/Dockerfile.jdk11 new file mode 100644 index 000000000..31d83c227 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.8/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.8/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.8/docker-compose.yml new file mode 100644 index 000000000..76b0449d1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.8" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.8-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.8-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.9/.env b/linux/ecosystem/atlassian/confluence/7/7.4.9/.env new file mode 100644 index 000000000..1eecb4edd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.9/.env @@ -0,0 +1,3 @@ +RELEASE=7.4.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.9/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.4.9/Dockerfile new file mode 100644 index 000000000..836832995 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.9/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.4.9/Dockerfile.jdk11 new file mode 100644 index 000000000..96f77a0b9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.9/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.4.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.9/Makefile b/linux/ecosystem/atlassian/confluence/7/7.4.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.4.9/docker-compose.yml new file mode 100644 index 000000000..b3bb61525 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.9/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.4.9" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.4.9-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.4.9-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.4.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.4.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.4.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.0/.env b/linux/ecosystem/atlassian/confluence/7/7.5.0/.env new file mode 100644 index 000000000..0f5940276 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.5.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile index e8cb9824f..c0e597f2e 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.5.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile.jdk11 index 9a7b3bfef..7758a3473 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/confluence/7/7.5.0/Dockerfile.jdk11 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG CONFLUENCE_VERSION=7.5.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz +ARG RELEASE=7.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.5.0/Makefile index 10c6717f2..b5e50619b 100644 --- a/linux/ecosystem/atlassian/confluence/7/7.5.0/Makefile +++ b/linux/ecosystem/atlassian/confluence/7/7.5.0/Makefile @@ -1,5 +1,38 @@ -all: confl +PIP_BREAK_SYSTEM_PACKAGES=1 -confl: - docker build --compress -t epicmorg/confluence:7.5.0 . - docker push epicmorg/confluence:7.5.0 +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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.5.0/docker-compose.yml new file mode 100644 index 000000000..5db864786 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.5.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.5.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.5.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.1/.env b/linux/ecosystem/atlassian/confluence/7/7.5.1/.env new file mode 100644 index 000000000..75b998477 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.5.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.5.1/Dockerfile new file mode 100644 index 000000000..63f0f96cd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.5.1/Dockerfile.jdk11 new file mode 100644 index 000000000..fa2fa1d7b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.5.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.5.1/docker-compose.yml new file mode 100644 index 000000000..e6a5349ff --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.5.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.5.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.5.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.5.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.2/.env b/linux/ecosystem/atlassian/confluence/7/7.5.2/.env new file mode 100644 index 000000000..f3242e55c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.5.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.5.2/Dockerfile new file mode 100644 index 000000000..8c7f8a43f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.5.2/Dockerfile.jdk11 new file mode 100644 index 000000000..3ada273e8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.5.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.5.2/docker-compose.yml new file mode 100644 index 000000000..7973b1fe7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.5.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.5.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.5.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.5.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.5.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.5.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.0/.env b/linux/ecosystem/atlassian/confluence/7/7.6.0/.env new file mode 100644 index 000000000..daf4da0f5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.6.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.6.0/Dockerfile new file mode 100644 index 000000000..47d8c3c66 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.6.0/Dockerfile.jdk11 new file mode 100644 index 000000000..138b5d9a9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.6.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.6.0/docker-compose.yml new file mode 100644 index 000000000..74c7e8b4b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.6.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.6.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.6.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.6.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.1/.env b/linux/ecosystem/atlassian/confluence/7/7.6.1/.env new file mode 100644 index 000000000..8c5262225 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.6.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.6.1/Dockerfile new file mode 100644 index 000000000..a28fab3a3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.6.1/Dockerfile.jdk11 new file mode 100644 index 000000000..6d28d478d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.6.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.6.1/docker-compose.yml new file mode 100644 index 000000000..ad8360926 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.6.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.6.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.6.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.6.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.2/.env b/linux/ecosystem/atlassian/confluence/7/7.6.2/.env new file mode 100644 index 000000000..b09f2ef09 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.6.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.6.2/Dockerfile new file mode 100644 index 000000000..1f246a698 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.6.2/Dockerfile.jdk11 new file mode 100644 index 000000000..ee22a0e8e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.6.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.6.2/docker-compose.yml new file mode 100644 index 000000000..a78b27467 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.6.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.6.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.6.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.6.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.3/.env b/linux/ecosystem/atlassian/confluence/7/7.6.3/.env new file mode 100644 index 000000000..e2e0a5b88 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.6.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.6.3/Dockerfile new file mode 100644 index 000000000..d2571471f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.6.3/Dockerfile.jdk11 new file mode 100644 index 000000000..71fe5f759 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.6.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.6.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.6.3/docker-compose.yml new file mode 100644 index 000000000..aa670ece4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.6.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.6.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.6.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.6.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.6.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.6.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.2/.env b/linux/ecosystem/atlassian/confluence/7/7.7.2/.env new file mode 100644 index 000000000..4b0d9eb06 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.2/.env @@ -0,0 +1,3 @@ +RELEASE=7.7.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.2/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.7.2/Dockerfile new file mode 100644 index 000000000..bcf0f8d93 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.7.2/Dockerfile.jdk11 new file mode 100644 index 000000000..dc77c182d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.2/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.2/Makefile b/linux/ecosystem/atlassian/confluence/7/7.7.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.7.2/docker-compose.yml new file mode 100644 index 000000000..343d12646 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.7.2" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.7.2-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.7.2-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.7.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.3/.env b/linux/ecosystem/atlassian/confluence/7/7.7.3/.env new file mode 100644 index 000000000..95f68fddf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.7.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.7.3/Dockerfile new file mode 100644 index 000000000..18c779be7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.7.3/Dockerfile.jdk11 new file mode 100644 index 000000000..3938e8db5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.7.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.7.3/docker-compose.yml new file mode 100644 index 000000000..a3d6590fe --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.7.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.7.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.7.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.7.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.4/.env b/linux/ecosystem/atlassian/confluence/7/7.7.4/.env new file mode 100644 index 000000000..d45e69bf9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.4/.env @@ -0,0 +1,3 @@ +RELEASE=7.7.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.4/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.7.4/Dockerfile new file mode 100644 index 000000000..916af22b9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.7.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.7.4/Dockerfile.jdk11 new file mode 100644 index 000000000..ee22d505f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.4/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.7.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.4/Makefile b/linux/ecosystem/atlassian/confluence/7/7.7.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.7.4/docker-compose.yml new file mode 100644 index 000000000..a74dc80da --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.7.4" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.7.4-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.7.4-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.7.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.7.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.7.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.0/.env b/linux/ecosystem/atlassian/confluence/7/7.8.0/.env new file mode 100644 index 000000000..87195741f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.8.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.8.0/Dockerfile new file mode 100644 index 000000000..a5abc4178 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.8.0/Dockerfile.jdk11 new file mode 100644 index 000000000..ce24f1420 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.8.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.8.0/docker-compose.yml new file mode 100644 index 000000000..249a40d37 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.8.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.8.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.8.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.8.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.1/.env b/linux/ecosystem/atlassian/confluence/7/7.8.1/.env new file mode 100644 index 000000000..b96b4527b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.8.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.8.1/Dockerfile new file mode 100644 index 000000000..2f447a71b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.8.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.8.1/Dockerfile.jdk11 new file mode 100644 index 000000000..3471360a3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.8.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.8.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.8.1/docker-compose.yml new file mode 100644 index 000000000..f545a4781 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.8.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.8.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.8.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.8.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.3/.env b/linux/ecosystem/atlassian/confluence/7/7.8.3/.env new file mode 100644 index 000000000..49515fb31 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.8.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.8.3/Dockerfile new file mode 100644 index 000000000..fc7298c2a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.8.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.8.3/Dockerfile.jdk11 new file mode 100644 index 000000000..c2dc3f1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.8.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.8.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.8.3/docker-compose.yml new file mode 100644 index 000000000..e403b4cc7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.8.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.8.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.8.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.8.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.8.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.8.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.0/.env b/linux/ecosystem/atlassian/confluence/7/7.9.0/.env new file mode 100644 index 000000000..a40a93355 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.0/.env @@ -0,0 +1,3 @@ +RELEASE=7.9.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.0/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.9.0/Dockerfile new file mode 100644 index 000000000..85c2dafe4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.9.0/Dockerfile.jdk11 new file mode 100644 index 000000000..3aa6e4fd9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.0/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.0/Makefile b/linux/ecosystem/atlassian/confluence/7/7.9.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.9.0/docker-compose.yml new file mode 100644 index 000000000..bf47ebc90 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.9.0" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.9.0-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.9.0-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.9.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.1/.env b/linux/ecosystem/atlassian/confluence/7/7.9.1/.env new file mode 100644 index 000000000..f27259b2d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.1/.env @@ -0,0 +1,3 @@ +RELEASE=7.9.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.1/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.9.1/Dockerfile new file mode 100644 index 000000000..2d5ebbaf4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.9.1/Dockerfile.jdk11 new file mode 100644 index 000000000..f9dc9319b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.1/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.1/Makefile b/linux/ecosystem/atlassian/confluence/7/7.9.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.9.1/docker-compose.yml new file mode 100644 index 000000000..3dfc648b1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.9.1" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.9.1-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.9.1-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.9.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.3/.env b/linux/ecosystem/atlassian/confluence/7/7.9.3/.env new file mode 100644 index 000000000..38e7e1b7b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.3/.env @@ -0,0 +1,3 @@ +RELEASE=7.9.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.3/Dockerfile b/linux/ecosystem/atlassian/confluence/7/7.9.3/Dockerfile new file mode 100644 index 000000000..b545f3b73 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.9.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/7/7.9.3/Dockerfile.jdk11 new file mode 100644 index 000000000..6a50cc0b7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.3/Dockerfile.jdk11 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=7.9.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.3/Makefile b/linux/ecosystem/atlassian/confluence/7/7.9.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/7/7.9.3/docker-compose.yml new file mode 100644 index 000000000..561013609 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:7.9.3" + build: + context: . + app-jdk8: + image: "epicmorg/confluence:7.9.3-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:7.9.3-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/atlassian/confluence/7/7.9.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/7/7.9.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/7/7.9.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.0/.env b/linux/ecosystem/atlassian/confluence/8/8.0.0/.env index 804af17fe..c6ec2fa4a 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.0/.env +++ b/linux/ecosystem/atlassian/confluence/8/8.0.0/.env @@ -1,3 +1,3 @@ - RELEASE=8.0.0 -DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-8.0.0.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile index 1bca62fe6..63c37277c 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.0.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile.jdk11 deleted file mode 100644 index 9cbad1ff0..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile.jdk17 index 6c62993f5..058bc7385 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.0.0/Dockerfile.jdk17 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.0.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.0.0/docker-compose.yml index 3bd284183..5e8f03b49 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.0.0/docker-compose.yml @@ -1,25 +1,14 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:8.0.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk11: - image: "epicmorg/confluence:${RELEASE}-jdk11" + image: "epicmorg/confluence:8.0.0-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk17: - image: "epicmorg/confluence:${RELEASE}-jdk17" + image: "epicmorg/confluence:8.0.0-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.1/.env b/linux/ecosystem/atlassian/confluence/8/8.0.1/.env index 338cafa42..fdee64b7f 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.1/.env +++ b/linux/ecosystem/atlassian/confluence/8/8.0.1/.env @@ -1,3 +1,3 @@ - RELEASE=8.0.1 -DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-8.0.1.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile index 1bca62fe6..fbe75b06c 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile.jdk11 deleted file mode 100644 index 9cbad1ff0..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile.jdk17 index 6c62993f5..b0cc01cd2 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.0.1/Dockerfile.jdk17 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.0.1/docker-compose.yml index 3bd284183..371c0c9fc 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.0.1/docker-compose.yml @@ -1,25 +1,14 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:8.0.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk11: - image: "epicmorg/confluence:${RELEASE}-jdk11" + image: "epicmorg/confluence:8.0.1-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk17: - image: "epicmorg/confluence:${RELEASE}-jdk17" + image: "epicmorg/confluence:8.0.1-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.2/.env b/linux/ecosystem/atlassian/confluence/8/8.0.2/.env index 168a590ac..cfdf65508 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.2/.env +++ b/linux/ecosystem/atlassian/confluence/8/8.0.2/.env @@ -1,3 +1,3 @@ - RELEASE=8.0.2 -DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-8.0.2.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile index 1bca62fe6..ee9e4da15 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile.jdk11 deleted file mode 100644 index 9cbad1ff0..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile.jdk17 index 6c62993f5..ea7b5efad 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.0.2/Dockerfile.jdk17 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.0.2/docker-compose.yml index 3bd284183..4166fb735 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.0.2/docker-compose.yml @@ -1,25 +1,14 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:8.0.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk11: - image: "epicmorg/confluence:${RELEASE}-jdk11" + image: "epicmorg/confluence:8.0.2-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk17: - image: "epicmorg/confluence:${RELEASE}-jdk17" + image: "epicmorg/confluence:8.0.2-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.3/.env b/linux/ecosystem/atlassian/confluence/8/8.0.3/.env new file mode 100644 index 000000000..4c1346e41 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.3/.env @@ -0,0 +1,3 @@ +RELEASE=8.0.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.3/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.0.3/Dockerfile new file mode 100644 index 000000000..2e186e872 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.0.3/Dockerfile.jdk17 new file mode 100644 index 000000000..1d1b4bb09 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.3/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.3/Makefile b/linux/ecosystem/atlassian/confluence/8/8.0.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.0.3/docker-compose.yml new file mode 100644 index 000000000..da253b527 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.0.3" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.0.3-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.0.3-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.0.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.4/.env b/linux/ecosystem/atlassian/confluence/8/8.0.4/.env new file mode 100644 index 000000000..5548e8d8e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.4/.env @@ -0,0 +1,3 @@ +RELEASE=8.0.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.4/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.0.4/Dockerfile new file mode 100644 index 000000000..2efc8ab42 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.0.4/Dockerfile.jdk17 new file mode 100644 index 000000000..748822ae1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.4/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.4/Makefile b/linux/ecosystem/atlassian/confluence/8/8.0.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.0.4/docker-compose.yml new file mode 100644 index 000000000..2b63e6c3d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.0.4" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.0.4-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.0.4-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.0.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.0.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.0.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.0/.env b/linux/ecosystem/atlassian/confluence/8/8.1.0/.env new file mode 100644 index 000000000..23ce165b5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.0/.env @@ -0,0 +1,3 @@ +RELEASE=8.1.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.1.0/Dockerfile new file mode 100644 index 000000000..2e58b5a94 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.1.0/Dockerfile.jdk17 new file mode 100644 index 000000000..9be705596 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.0/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.0/Makefile b/linux/ecosystem/atlassian/confluence/8/8.1.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.1.0/docker-compose.yml new file mode 100644 index 000000000..b2b5eb449 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.1.0" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.1.0-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.1.0-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.1.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.1/.env b/linux/ecosystem/atlassian/confluence/8/8.1.1/.env new file mode 100644 index 000000000..0ae88e832 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.1.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.1.1/Dockerfile new file mode 100644 index 000000000..c0a15469b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.1.1/Dockerfile.jdk17 new file mode 100644 index 000000000..ff03c4431 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.1/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.1/Makefile b/linux/ecosystem/atlassian/confluence/8/8.1.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.1.1/docker-compose.yml new file mode 100644 index 000000000..71366729d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.1.1" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.1.1-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.1.1-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.1.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.3/.env b/linux/ecosystem/atlassian/confluence/8/8.1.3/.env new file mode 100644 index 000000000..6c1fe6c3e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.3/.env @@ -0,0 +1,3 @@ +RELEASE=8.1.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.3/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.1.3/Dockerfile new file mode 100644 index 000000000..82a7954f4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.1.3/Dockerfile.jdk17 new file mode 100644 index 000000000..e4abec699 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.3/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.3/Makefile b/linux/ecosystem/atlassian/confluence/8/8.1.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.1.3/docker-compose.yml new file mode 100644 index 000000000..863b5f877 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.1.3" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.1.3-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.1.3-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.1.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.4/.env b/linux/ecosystem/atlassian/confluence/8/8.1.4/.env new file mode 100644 index 000000000..1eb6be6f1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.4/.env @@ -0,0 +1,3 @@ +RELEASE=8.1.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.4/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.1.4/Dockerfile new file mode 100644 index 000000000..0421ebb6a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.1.4/Dockerfile.jdk17 new file mode 100644 index 000000000..538947a22 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.4/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.1.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.4/Makefile b/linux/ecosystem/atlassian/confluence/8/8.1.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.1.4/docker-compose.yml new file mode 100644 index 000000000..7f0be4b32 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.1.4" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.1.4-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.1.4-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.1.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.1.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.1.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.0/.env b/linux/ecosystem/atlassian/confluence/8/8.2.0/.env new file mode 100644 index 000000000..9f5c474e8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.0/.env @@ -0,0 +1,3 @@ +RELEASE=8.2.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.2.0/Dockerfile new file mode 100644 index 000000000..7a76bfbb8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.2.0/Dockerfile.jdk17 new file mode 100644 index 000000000..e7664650f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.0/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.0/Makefile b/linux/ecosystem/atlassian/confluence/8/8.2.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.2.0/docker-compose.yml new file mode 100644 index 000000000..428fe8fbf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.2.0" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.2.0-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.2.0-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.2.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.1/.env b/linux/ecosystem/atlassian/confluence/8/8.2.1/.env new file mode 100644 index 000000000..6fed5e577 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.2.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.2.1/Dockerfile new file mode 100644 index 000000000..80182bcef --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.2.1/Dockerfile.jdk17 new file mode 100644 index 000000000..501fe53c7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.1/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.1/Makefile b/linux/ecosystem/atlassian/confluence/8/8.2.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.2.1/docker-compose.yml new file mode 100644 index 000000000..ed9bebe97 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.2.1" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.2.1-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.2.1-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.2.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.2/.env b/linux/ecosystem/atlassian/confluence/8/8.2.2/.env new file mode 100644 index 000000000..9381a0517 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.2/.env @@ -0,0 +1,3 @@ +RELEASE=8.2.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.2.2/Dockerfile new file mode 100644 index 000000000..883318d38 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.2.2/Dockerfile.jdk17 new file mode 100644 index 000000000..a4f43e7b4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.2/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.2/Makefile b/linux/ecosystem/atlassian/confluence/8/8.2.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.2.2/docker-compose.yml new file mode 100644 index 000000000..8a1ac40ec --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.2.2" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.2.2-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.2.2-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.2.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.3/.env b/linux/ecosystem/atlassian/confluence/8/8.2.3/.env new file mode 100644 index 000000000..662e950d7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.3/.env @@ -0,0 +1,3 @@ +RELEASE=8.2.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.3/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.2.3/Dockerfile new file mode 100644 index 000000000..e24480fb6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.2.3/Dockerfile.jdk17 new file mode 100644 index 000000000..a62fdac48 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.3/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.3/Makefile b/linux/ecosystem/atlassian/confluence/8/8.2.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.2.3/docker-compose.yml new file mode 100644 index 000000000..a861ba79d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.2.3" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.2.3-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.2.3-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.2.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.2.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.2.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.0/.env b/linux/ecosystem/atlassian/confluence/8/8.3.0/.env new file mode 100644 index 000000000..85f85febd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.0/.env @@ -0,0 +1,3 @@ +RELEASE=8.3.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.3.0/Dockerfile new file mode 100644 index 000000000..c8bf40355 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.3.0/Dockerfile.jdk17 new file mode 100644 index 000000000..5ed034168 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.0/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.0/Makefile b/linux/ecosystem/atlassian/confluence/8/8.3.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.3.0/docker-compose.yml new file mode 100644 index 000000000..792629bbd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.3.0" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.3.0-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.3.0-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.3.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.1/.env b/linux/ecosystem/atlassian/confluence/8/8.3.1/.env new file mode 100644 index 000000000..7c7aabdae --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.3.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.3.1/Dockerfile new file mode 100644 index 000000000..b6750502b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.3.1/Dockerfile.jdk17 new file mode 100644 index 000000000..561246a57 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.1/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.1/Makefile b/linux/ecosystem/atlassian/confluence/8/8.3.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.3.1/docker-compose.yml new file mode 100644 index 000000000..de91a515f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.3.1" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.3.1-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.3.1-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.3.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.2/.env b/linux/ecosystem/atlassian/confluence/8/8.3.2/.env new file mode 100644 index 000000000..fc1dd9d3f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.2/.env @@ -0,0 +1,3 @@ +RELEASE=8.3.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.3.2/Dockerfile new file mode 100644 index 000000000..9c06353da --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.3.2/Dockerfile.jdk17 new file mode 100644 index 000000000..d65e68dd1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.2/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.2/Makefile b/linux/ecosystem/atlassian/confluence/8/8.3.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.3.2/docker-compose.yml new file mode 100644 index 000000000..5e6bf22d8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.3.2" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.3.2-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.3.2-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.3.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.3/.env b/linux/ecosystem/atlassian/confluence/8/8.3.3/.env new file mode 100644 index 000000000..59ca137d8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.3/.env @@ -0,0 +1,3 @@ +RELEASE=8.3.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.3/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.3.3/Dockerfile new file mode 100644 index 000000000..176c8efb3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.3.3/Dockerfile.jdk17 new file mode 100644 index 000000000..fc964d88b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.3/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.3/Makefile b/linux/ecosystem/atlassian/confluence/8/8.3.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.3.3/docker-compose.yml new file mode 100644 index 000000000..949bcac06 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.3.3" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.3.3-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.3.3-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.3.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.4/.env b/linux/ecosystem/atlassian/confluence/8/8.3.4/.env new file mode 100644 index 000000000..15b1042a3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.4/.env @@ -0,0 +1,3 @@ +RELEASE=8.3.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.4/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.3.4/Dockerfile new file mode 100644 index 000000000..74705273d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.3.4/Dockerfile.jdk17 new file mode 100644 index 000000000..0100f16db --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.4/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.4/Makefile b/linux/ecosystem/atlassian/confluence/8/8.3.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.3.4/docker-compose.yml new file mode 100644 index 000000000..07256d253 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.3.4" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.3.4-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.3.4-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.3.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.3.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.3.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.0/.env b/linux/ecosystem/atlassian/confluence/8/8.4.0/.env index 1abfd2fd0..9ba8c7174 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.4.0/.env +++ b/linux/ecosystem/atlassian/confluence/8/8.4.0/.env @@ -1,3 +1,3 @@ - RELEASE=8.4.0 -DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile index 1bca62fe6..e899c33a8 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile.jdk11 deleted file mode 100644 index 9cbad1ff0..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile.jdk17 index 6c62993f5..0470a610c 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.4.0/Dockerfile.jdk17 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.4.0/docker-compose.yml index 3bd284183..75a9664b7 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.4.0/docker-compose.yml @@ -1,25 +1,14 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:8.4.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk11: - image: "epicmorg/confluence:${RELEASE}-jdk11" + image: "epicmorg/confluence:8.4.0-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk17: - image: "epicmorg/confluence:${RELEASE}-jdk17" + image: "epicmorg/confluence:8.4.0-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.1/.env b/linux/ecosystem/atlassian/confluence/8/8.4.1/.env new file mode 100644 index 000000000..53f0a5ff0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.4.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.4.1/Dockerfile new file mode 100644 index 000000000..3f8aed4fe --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.4.1/Dockerfile.jdk17 new file mode 100644 index 000000000..acd6827c7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.1/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.1/Makefile b/linux/ecosystem/atlassian/confluence/8/8.4.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.4.1/docker-compose.yml new file mode 100644 index 000000000..506b1b686 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.4.1" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.4.1-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.4.1-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.4.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.2/.env b/linux/ecosystem/atlassian/confluence/8/8.4.2/.env new file mode 100644 index 000000000..b93ff14ce --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.2/.env @@ -0,0 +1,3 @@ +RELEASE=8.4.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.4.2/Dockerfile new file mode 100644 index 000000000..e0d1ccb26 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.4.2/Dockerfile.jdk17 new file mode 100644 index 000000000..65f7e133f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.2/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.2/Makefile b/linux/ecosystem/atlassian/confluence/8/8.4.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.4.2/docker-compose.yml new file mode 100644 index 000000000..5f3bc888f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.4.2" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.4.2-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.4.2-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.4.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.3/.env b/linux/ecosystem/atlassian/confluence/8/8.4.3/.env new file mode 100644 index 000000000..c3eb6a7be --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.3/.env @@ -0,0 +1,3 @@ +RELEASE=8.4.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.3/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.4.3/Dockerfile new file mode 100644 index 000000000..403251e8b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.4.3/Dockerfile.jdk17 new file mode 100644 index 000000000..bf77e2c1e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.3/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.3/Makefile b/linux/ecosystem/atlassian/confluence/8/8.4.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.4.3/docker-compose.yml new file mode 100644 index 000000000..72dfdaf05 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.4.3" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.4.3-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.4.3-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.4.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.4/.env b/linux/ecosystem/atlassian/confluence/8/8.4.4/.env new file mode 100644 index 000000000..e5afeff02 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.4/.env @@ -0,0 +1,3 @@ +RELEASE=8.4.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.4/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.4.4/Dockerfile new file mode 100644 index 000000000..add38f710 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.4.4/Dockerfile.jdk17 new file mode 100644 index 000000000..de9677ce3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.4/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.4/Makefile b/linux/ecosystem/atlassian/confluence/8/8.4.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.4.4/docker-compose.yml new file mode 100644 index 000000000..27cb9ae59 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.4.4" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.4.4-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.4.4-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.4.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.5/.env b/linux/ecosystem/atlassian/confluence/8/8.4.5/.env new file mode 100644 index 000000000..df6bfe26a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.5/.env @@ -0,0 +1,3 @@ +RELEASE=8.4.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.5/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.4.5/Dockerfile new file mode 100644 index 000000000..dd94928eb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.4.5/Dockerfile.jdk17 new file mode 100644 index 000000000..b70026383 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.5/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.5/Makefile b/linux/ecosystem/atlassian/confluence/8/8.4.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.4.5/docker-compose.yml new file mode 100644 index 000000000..924c2df68 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.4.5" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.4.5-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.4.5-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.4.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.4.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.4.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.0/.env b/linux/ecosystem/atlassian/confluence/8/8.5.0/.env new file mode 100644 index 000000000..94f916240 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.0/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.0/Dockerfile new file mode 100644 index 000000000..f7c1709e6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.0/Dockerfile.jdk17 new file mode 100644 index 000000000..5d8311791 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.0/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.0/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.0/docker-compose.yml new file mode 100644 index 000000000..0b2ccfc2a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.0" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.0-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.0-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.1/.env b/linux/ecosystem/atlassian/confluence/8/8.5.1/.env new file mode 100644 index 000000000..f08d4c406 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.1/Dockerfile new file mode 100644 index 000000000..20d3e6c8b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.1/Dockerfile.jdk17 new file mode 100644 index 000000000..e3920f99d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.1/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.1/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.1/docker-compose.yml new file mode 100644 index 000000000..9db5c7a35 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.1" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.1-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.1-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.10/.env b/linux/ecosystem/atlassian/confluence/8/8.5.10/.env new file mode 100644 index 000000000..496401b03 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.10/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.10 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.10/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.10/Dockerfile new file mode 100644 index 000000000..420f8103c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.10/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.10/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.10/Dockerfile.jdk17 new file mode 100644 index 000000000..e1ecdcfc9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.10/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.10/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.10/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.10/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.10/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.10/docker-compose.yml new file mode 100644 index 000000000..0c27a8e57 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.10/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.10" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.10-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.10-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.10/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.10/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.10/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.11/.env b/linux/ecosystem/atlassian/confluence/8/8.5.11/.env new file mode 100644 index 000000000..638e6f6ab --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.11/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.11 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.11/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.11/Dockerfile new file mode 100644 index 000000000..d0691df2e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.11/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.11/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.11/Dockerfile.jdk17 new file mode 100644 index 000000000..f8e72fbec --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.11/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.11/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.11/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.11/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.11/docker-compose.yml new file mode 100644 index 000000000..fdba8a163 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.11/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.11" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.11-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.11-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.11/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.11/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.11/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.12/.env b/linux/ecosystem/atlassian/confluence/8/8.5.12/.env new file mode 100644 index 000000000..6b22b68c0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.12/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.12 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.12/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.12/Dockerfile new file mode 100644 index 000000000..45e190b34 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.12/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.12/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.12/Dockerfile.jdk17 new file mode 100644 index 000000000..22505a947 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.12/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.12/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.12/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.12/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.12/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.12/docker-compose.yml new file mode 100644 index 000000000..774682afb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.12/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.12" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.12-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.12-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.12/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.12/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.12/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.14/.env b/linux/ecosystem/atlassian/confluence/8/8.5.14/.env new file mode 100644 index 000000000..6e1bdd0b4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.14/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.14 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.14/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.14/Dockerfile new file mode 100644 index 000000000..cf45bcba7 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.14/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.14/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.14/Dockerfile.jdk17 new file mode 100644 index 000000000..242321167 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.14/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.14/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.14/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.14/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.14/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.14/docker-compose.yml new file mode 100644 index 000000000..1262b808c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.14/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.14" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.14-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.14-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.14/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.14/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.14/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.15/.env b/linux/ecosystem/atlassian/confluence/8/8.5.15/.env new file mode 100644 index 000000000..9b12f8a53 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.15/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.15 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.15/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.15/Dockerfile new file mode 100644 index 000000000..2391f4a66 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.15/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.15/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.15/Dockerfile.jdk17 new file mode 100644 index 000000000..af4bac279 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.15/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.15/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.15/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.15/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.15/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.15/docker-compose.yml new file mode 100644 index 000000000..1cea4a4a2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.15/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.15" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.15-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.15-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.15/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.15/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.15/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.16/.env b/linux/ecosystem/atlassian/confluence/8/8.5.16/.env new file mode 100644 index 000000000..de788913d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.16/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.16 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.16/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.16/Dockerfile new file mode 100644 index 000000000..809775df6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.16/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.16/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.16/Dockerfile.jdk17 new file mode 100644 index 000000000..3b3ceb03a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.16/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.16/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.16/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.16/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.16/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.16/docker-compose.yml new file mode 100644 index 000000000..2dfca9603 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.16/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.16" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.16-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.16-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.16/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.16/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.16/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.17/.env b/linux/ecosystem/atlassian/confluence/8/8.5.17/.env new file mode 100644 index 000000000..095cf8c96 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.17/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.17 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.17/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.17/Dockerfile new file mode 100644 index 000000000..ec26452a6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.17/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.17/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.17/Dockerfile.jdk17 new file mode 100644 index 000000000..48809d935 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.17/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.17 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.17/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.17/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.17/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.17/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.17/docker-compose.yml new file mode 100644 index 000000000..1bcaacef8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.17/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.17" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.17-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.17-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.17/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.17/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.17/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.18/.env b/linux/ecosystem/atlassian/confluence/8/8.5.18/.env new file mode 100644 index 000000000..10d25c716 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.18/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.18 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.18/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.18/Dockerfile new file mode 100644 index 000000000..b042b556f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.18/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.18/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.18/Dockerfile.jdk17 new file mode 100644 index 000000000..3e8844eec --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.18/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.18/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.18/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.18/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.18/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.18/docker-compose.yml new file mode 100644 index 000000000..ae7de1ca3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.18/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.18" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.18-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.18-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.18/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.18/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.18/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.19/.env b/linux/ecosystem/atlassian/confluence/8/8.5.19/.env new file mode 100644 index 000000000..152b7ffc4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.19/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.19 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.19/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.19/Dockerfile new file mode 100644 index 000000000..5c22d3d5c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.19/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.19/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.19/Dockerfile.jdk17 new file mode 100644 index 000000000..736af0f15 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.19/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.19/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.19/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.19/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.19/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.19/docker-compose.yml new file mode 100644 index 000000000..879859875 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.19/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.19" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.19-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.19-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.19/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.19/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.19/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.2/.env b/linux/ecosystem/atlassian/confluence/8/8.5.2/.env new file mode 100644 index 000000000..91c2e6320 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.2/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.2/Dockerfile new file mode 100644 index 000000000..22bb4b42f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.2/Dockerfile.jdk17 new file mode 100644 index 000000000..9bb574140 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.2/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.2/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.2/docker-compose.yml new file mode 100644 index 000000000..5e1727a3a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.2" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.2-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.2-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.20/.env b/linux/ecosystem/atlassian/confluence/8/8.5.20/.env new file mode 100644 index 000000000..e6aa6e2dd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.20/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.20 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.20/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.20/Dockerfile new file mode 100644 index 000000000..aa31a8738 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.20/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.20 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.20/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.20/Dockerfile.jdk17 new file mode 100644 index 000000000..b518efe3c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.20/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.20 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.20/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.20/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.20/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.20/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.20/docker-compose.yml new file mode 100644 index 000000000..6a8fc07e5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.20/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.20" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.20-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.20-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.20/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.20/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.20/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.3/.env b/linux/ecosystem/atlassian/confluence/8/8.5.3/.env index 5b524bd99..af1ca5979 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.5.3/.env +++ b/linux/ecosystem/atlassian/confluence/8/8.5.3/.env @@ -1,2 +1,3 @@ RELEASE=8.5.3 -DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile index 1bca62fe6..ad99ed23f 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile.jdk11 deleted file mode 100644 index 9cbad1ff0..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile.jdk17 index 6c62993f5..ceb1beb55 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.5.3/Dockerfile.jdk17 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.3/docker-compose.yml index 3bd284183..46df6897a 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.5.3/docker-compose.yml @@ -1,25 +1,14 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:8.5.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk11: - image: "epicmorg/confluence:${RELEASE}-jdk11" + image: "epicmorg/confluence:8.5.3-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk17: - image: "epicmorg/confluence:${RELEASE}-jdk17" + image: "epicmorg/confluence:8.5.3-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.4/.env b/linux/ecosystem/atlassian/confluence/8/8.5.4/.env new file mode 100644 index 000000000..34636715e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.4/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.4/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.4/Dockerfile new file mode 100644 index 000000000..c1d3654eb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.4/Dockerfile.jdk17 new file mode 100644 index 000000000..204c8d5c4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.4/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.4/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.4/docker-compose.yml new file mode 100644 index 000000000..4e01345dc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.4" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.4-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.4-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.5/.env b/linux/ecosystem/atlassian/confluence/8/8.5.5/.env new file mode 100644 index 000000000..0bddcf086 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.5/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.5/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.5/Dockerfile new file mode 100644 index 000000000..24499d44d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.5/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.5/Dockerfile.jdk17 new file mode 100644 index 000000000..731323c20 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.5/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.5/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.5/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.5/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.5/docker-compose.yml new file mode 100644 index 000000000..20c1a3455 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.5/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.5" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.5-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.5-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.5/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.5/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.5/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.6/.env b/linux/ecosystem/atlassian/confluence/8/8.5.6/.env new file mode 100644 index 000000000..14eed6fe1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.6/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.6/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.6/Dockerfile new file mode 100644 index 000000000..280153e5f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.6/Dockerfile.jdk17 new file mode 100644 index 000000000..6abe40090 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.6/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.6/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.6/docker-compose.yml new file mode 100644 index 000000000..69ac672e1 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.6" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.6-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.6-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.7/.env b/linux/ecosystem/atlassian/confluence/8/8.5.7/.env new file mode 100644 index 000000000..d7a528596 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.7/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.7/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.7/Dockerfile new file mode 100644 index 000000000..8432a2092 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.7/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.7/Dockerfile.jdk17 new file mode 100644 index 000000000..4f7dccddb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.7/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.7/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.7/docker-compose.yml new file mode 100644 index 000000000..4db721efc --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.7" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.7-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.7-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.8/.env b/linux/ecosystem/atlassian/confluence/8/8.5.8/.env new file mode 100644 index 000000000..28f02b8f0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.8/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.8/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.8/Dockerfile new file mode 100644 index 000000000..ba742f067 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.8/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.8/Dockerfile.jdk17 new file mode 100644 index 000000000..cff237336 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.8/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.8/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.8/docker-compose.yml new file mode 100644 index 000000000..8c47d02fa --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.8-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.8-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.9/.env b/linux/ecosystem/atlassian/confluence/8/8.5.9/.env new file mode 100644 index 000000000..370f3d091 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.9/.env @@ -0,0 +1,3 @@ +RELEASE=8.5.9 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.9/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.5.9/Dockerfile new file mode 100644 index 000000000..54601f466 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.9/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.9/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.5.9/Dockerfile.jdk17 new file mode 100644 index 000000000..dbe43a24f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.9/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.5.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.9/Makefile b/linux/ecosystem/atlassian/confluence/8/8.5.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.9/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.9/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.5.9/docker-compose.yml new file mode 100644 index 000000000..52bc742a3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.9/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.5.9" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.5.9-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.5.9-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.5.9/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.5.9/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.5.9/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.0/.env b/linux/ecosystem/atlassian/confluence/8/8.6.0/.env new file mode 100644 index 000000000..dba23cb5f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.0/.env @@ -0,0 +1,3 @@ +RELEASE=8.6.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.6.0/Dockerfile new file mode 100644 index 000000000..68b39a7af --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.6.0/Dockerfile.jdk17 new file mode 100644 index 000000000..2d9271330 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.0/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.0/Makefile b/linux/ecosystem/atlassian/confluence/8/8.6.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.6.0/docker-compose.yml new file mode 100644 index 000000000..25736e544 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.6.0" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.6.0-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.6.0-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.6.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.1/.env b/linux/ecosystem/atlassian/confluence/8/8.6.1/.env index 466fa20cd..68f9eb9c4 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.6.1/.env +++ b/linux/ecosystem/atlassian/confluence/8/8.6.1/.env @@ -1,2 +1,3 @@ RELEASE=8.6.1 -DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile index 1bca62fe6..b9d71a377 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile.jdk11 deleted file mode 100644 index 9cbad1ff0..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile.jdk17 index 6c62993f5..fd6b3654b 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.6.1/Dockerfile.jdk17 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.6.1/docker-compose.yml index 3bd284183..32908ae31 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.6.1/docker-compose.yml @@ -1,25 +1,14 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:8.6.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk11: - image: "epicmorg/confluence:${RELEASE}-jdk11" + image: "epicmorg/confluence:8.6.1-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk17: - image: "epicmorg/confluence:${RELEASE}-jdk17" + image: "epicmorg/confluence:8.6.1-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.2/.env b/linux/ecosystem/atlassian/confluence/8/8.6.2/.env new file mode 100644 index 000000000..9fb2ff4fd --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.2/.env @@ -0,0 +1,3 @@ +RELEASE=8.6.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.6.2/Dockerfile new file mode 100644 index 000000000..23b5cd9d0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.6.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.6.2/Dockerfile.jdk17 new file mode 100644 index 000000000..62049c210 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.2/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.6.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.2/Makefile b/linux/ecosystem/atlassian/confluence/8/8.6.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.6.2/docker-compose.yml new file mode 100644 index 000000000..4a68dabf3 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.6.2" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.6.2-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.6.2-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.6.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.6.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.6.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.1/.env b/linux/ecosystem/atlassian/confluence/8/8.7.1/.env new file mode 100644 index 000000000..04fc35e89 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.7.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.7.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.7.1/Dockerfile new file mode 100644 index 000000000..0796bdc2e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.7.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.7.1/Dockerfile.jdk17 new file mode 100644 index 000000000..24a628e9f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.7.1/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.1/Makefile b/linux/ecosystem/atlassian/confluence/8/8.7.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.7.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.7.1/docker-compose.yml new file mode 100644 index 000000000..5f79ad060 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.7.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.7.1" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.7.1-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.7.1-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.7.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.7.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.2/.env b/linux/ecosystem/atlassian/confluence/8/8.7.2/.env index 2b8bcc5c6..65420e34d 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.7.2/.env +++ b/linux/ecosystem/atlassian/confluence/8/8.7.2/.env @@ -1,2 +1,3 @@ RELEASE=8.7.2 -DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile index 1bca62fe6..f53fec6e2 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile.jdk11 deleted file mode 100644 index 9cbad1ff0..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile.jdk17 index 6c62993f5..8e44061d1 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.7.2/Dockerfile.jdk17 @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=8.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.7.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.7.2/docker-compose.yml index 3bd284183..e50fcaabb 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.7.2/docker-compose.yml @@ -1,25 +1,14 @@ -#version: '3' services: app: - image: "epicmorg/confluence:${RELEASE}" + image: "epicmorg/confluence:8.7.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk11: - image: "epicmorg/confluence:${RELEASE}-jdk11" + image: "epicmorg/confluence:8.7.2-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} app-jdk17: - image: "epicmorg/confluence:${RELEASE}-jdk17" + image: "epicmorg/confluence:8.7.2-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.0/.env b/linux/ecosystem/atlassian/confluence/8/8.8.0/.env new file mode 100644 index 000000000..1a1e0cb64 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.8.0/.env @@ -0,0 +1,3 @@ +RELEASE=8.8.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.8.0/Dockerfile new file mode 100644 index 000000000..9b1dbb622 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.8.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.8.0/Dockerfile.jdk17 new file mode 100644 index 000000000..85a3da339 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.8.0/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.0/Makefile b/linux/ecosystem/atlassian/confluence/8/8.8.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.8.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.8.0/docker-compose.yml new file mode 100644 index 000000000..e5f2ea930 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.8.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.8.0" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.8.0-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.8.0-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.8.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.8.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.1/.env b/linux/ecosystem/atlassian/confluence/8/8.8.1/.env new file mode 100644 index 000000000..910648b46 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.8.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.8.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile index 303dc4aa7..7fbfbdf3f 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile @@ -1,12 +1,13 @@ FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## ARG RELEASE=8.8.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile.jdk11 deleted file mode 100644 index dfa61a420..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=8.8.1 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile.jdk17 index b8bb52274..a822decf8 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.8.1/Dockerfile.jdk17 @@ -1,12 +1,13 @@ FROM epicmorg/debian:bookworm-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## ARG RELEASE=8.8.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.8.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.8.1/docker-compose.yml index 8a68e3a0c..f1f37c406 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/confluence:8.8.1" @@ -8,10 +7,8 @@ services: image: "epicmorg/confluence:8.8.1-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 app-jdk17: image: "epicmorg/confluence:8.8.1-jdk17" build: context: . dockerfile: Dockerfile.jdk17 - diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.0/.env b/linux/ecosystem/atlassian/confluence/8/8.9.0/.env new file mode 100644 index 000000000..cb62faf34 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.0/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.0/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.0/Dockerfile new file mode 100644 index 000000000..6359c0060 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.0/Dockerfile.jdk17 new file mode 100644 index 000000000..0474f4ac9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.0/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.0/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.0/docker-compose.yml new file mode 100644 index 000000000..7ce9368cb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.0" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.0-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.0-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.1/.env b/linux/ecosystem/atlassian/confluence/8/8.9.1/.env new file mode 100644 index 000000000..878ed962d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.1/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.1/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.1/Dockerfile new file mode 100644 index 000000000..c65ec8b47 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.1/Dockerfile.jdk17 new file mode 100644 index 000000000..3db878008 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.1/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.1/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.1/docker-compose.yml new file mode 100644 index 000000000..f040fbe43 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.1" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.1-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.1-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.2/.env b/linux/ecosystem/atlassian/confluence/8/8.9.2/.env new file mode 100644 index 000000000..3682b5e0b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.2/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.2/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.2/Dockerfile new file mode 100644 index 000000000..512879ae4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.2/Dockerfile.jdk17 new file mode 100644 index 000000000..dfd9b5ecb --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.2/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.2/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.2/docker-compose.yml new file mode 100644 index 000000000..30bd5b3c2 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.2" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.2-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.2-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.3/.env b/linux/ecosystem/atlassian/confluence/8/8.9.3/.env new file mode 100644 index 000000000..2c70f5953 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.3/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.3/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.3/Dockerfile new file mode 100644 index 000000000..e810bae56 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.3/Dockerfile.jdk17 new file mode 100644 index 000000000..efac29cc5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.3/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.3/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.3/docker-compose.yml new file mode 100644 index 000000000..ae7b1552b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.3" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.3-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.3-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.4/.env b/linux/ecosystem/atlassian/confluence/8/8.9.4/.env new file mode 100644 index 000000000..10b8c8cae --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.4/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.4 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.4/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.4/Dockerfile new file mode 100644 index 000000000..09bc1798f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.4/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.4/Dockerfile.jdk17 new file mode 100644 index 000000000..4f6eead46 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.4/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.4/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.4/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.4/docker-compose.yml new file mode 100644 index 000000000..f05b5ff2c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.4/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.4" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.4-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.4-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.4/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.4/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.4/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.5/.env b/linux/ecosystem/atlassian/confluence/8/8.9.5/.env new file mode 100644 index 000000000..d9e433938 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.5/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.5 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile index 2c06065b5..c43b649ca 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile @@ -1,12 +1,13 @@ FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## ARG RELEASE=8.9.5 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile.jdk11 deleted file mode 100644 index 93559b108..000000000 --- a/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=8.9.5 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile.jdk17 index b5dcedd45..803e43ac4 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/confluence/8/8.9.5/Dockerfile.jdk17 @@ -1,12 +1,13 @@ FROM epicmorg/debian:bookworm-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## ARG RELEASE=8.9.5 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,22 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.5/docker-compose.yml index cd7f25231..80d368caf 100644 --- a/linux/ecosystem/atlassian/confluence/8/8.9.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/8/8.9.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/confluence:8.9.5" @@ -8,7 +7,6 @@ services: image: "epicmorg/confluence:8.9.5-jdk11" build: context: . - dockerfile: Dockerfile.jdk11 app-jdk17: image: "epicmorg/confluence:8.9.5-jdk17" build: diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.6/.env b/linux/ecosystem/atlassian/confluence/8/8.9.6/.env new file mode 100644 index 000000000..5bb33022f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.6/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.6 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.6/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.6/Dockerfile new file mode 100644 index 000000000..0091e2ed6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.6/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.6/Dockerfile.jdk17 new file mode 100644 index 000000000..4fa738826 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.6/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.6/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.6/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.6/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.6/docker-compose.yml new file mode 100644 index 000000000..e414000cf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.6/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.6" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.6-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.6-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.6/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.6/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.6/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.7/.env b/linux/ecosystem/atlassian/confluence/8/8.9.7/.env new file mode 100644 index 000000000..c3c764030 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.7/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.7 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.7/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.7/Dockerfile new file mode 100644 index 000000000..e473bedaf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.7/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.7/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.7/Dockerfile.jdk17 new file mode 100644 index 000000000..22beea9a8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.7/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.7/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.7/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.7/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.7/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.7/docker-compose.yml new file mode 100644 index 000000000..64c76a36f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.7/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.7" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.7-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.7-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.7/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.7/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.7/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.8/.env b/linux/ecosystem/atlassian/confluence/8/8.9.8/.env new file mode 100644 index 000000000..bdc172bee --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.8/.env @@ -0,0 +1,3 @@ +RELEASE=8.9.8 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.8/Dockerfile b/linux/ecosystem/atlassian/confluence/8/8.9.8/Dockerfile new file mode 100644 index 000000000..c67bcbbd4 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.8/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk11 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.8/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/8/8.9.8/Dockerfile.jdk17 new file mode 100644 index 000000000..82a4e91a9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.8/Dockerfile.jdk17 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=8.9.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.8/Makefile b/linux/ecosystem/atlassian/confluence/8/8.9.8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.8/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.8/docker-compose.yml b/linux/ecosystem/atlassian/confluence/8/8.9.8/docker-compose.yml new file mode 100644 index 000000000..0250597bf --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.8/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:8.9.8" + build: + context: . + app-jdk11: + image: "epicmorg/confluence:8.9.8-jdk11" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:8.9.8-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 diff --git a/linux/ecosystem/atlassian/confluence/8/8.9.8/entrypoint.sh b/linux/ecosystem/atlassian/confluence/8/8.9.8/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/8/8.9.8/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.0/.env b/linux/ecosystem/atlassian/confluence/9/9.0.0/.env new file mode 100644 index 000000000..9240aa6b9 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.0/.env @@ -0,0 +1,3 @@ +RELEASE=9.0.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile index 9f6b62d92..f95356900 100644 --- a/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## ARG RELEASE=9.0.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk11 deleted file mode 100644 index dd19c0012..000000000 --- a/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=9.0.0 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk17 deleted file mode 100644 index 90e6e52de..000000000 --- a/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk17 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=9.0.0 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk21 new file mode 100644 index 000000000..4af748ae8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.0/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.0.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.0.0/docker-compose.yml index b3addbe4d..bd246bc28 100644 --- a/linux/ecosystem/atlassian/confluence/9/9.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/9/9.0.0/docker-compose.yml @@ -1,16 +1,14 @@ -#version: '3' services: app: image: "epicmorg/confluence:9.0.0" build: context: . - app-jdk11: - image: "epicmorg/confluence:9.0.0-jdk11" - build: - context: . - dockerfile: Dockerfile.jdk11 app-jdk17: image: "epicmorg/confluence:9.0.0-jdk17" build: context: . - dockerfile: Dockerfile.jdk17 + app-jdk21: + image: "epicmorg/confluence:9.0.0-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.1/.env b/linux/ecosystem/atlassian/confluence/9/9.0.1/.env new file mode 100644 index 000000000..8a1a5ed18 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.1/.env @@ -0,0 +1,3 @@ +RELEASE=9.0.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile index 9c2ca5070..54f5a2229 100644 --- a/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## ARG RELEASE=9.0.1 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk11 deleted file mode 100644 index 1c09826f8..000000000 --- a/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=9.0.1 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk17 deleted file mode 100644 index 281d87a32..000000000 --- a/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk17 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=9.0.1 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk21 new file mode 100644 index 000000000..485b700e5 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.1/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.0.1/docker-compose.yml index 08b7c3911..4e7f87090 100644 --- a/linux/ecosystem/atlassian/confluence/9/9.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/9/9.0.1/docker-compose.yml @@ -1,16 +1,14 @@ -#version: '3' services: app: image: "epicmorg/confluence:9.0.1" build: context: . - app-jdk11: - image: "epicmorg/confluence:9.0.1-jdk11" - build: - context: . - dockerfile: Dockerfile.jdk11 app-jdk17: image: "epicmorg/confluence:9.0.1-jdk17" build: context: . - dockerfile: Dockerfile.jdk17 + app-jdk21: + image: "epicmorg/confluence:9.0.1-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.2/.env b/linux/ecosystem/atlassian/confluence/9/9.0.2/.env new file mode 100644 index 000000000..b49893ea0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.2/.env @@ -0,0 +1,3 @@ +RELEASE=9.0.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.2/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.0.2/Dockerfile new file mode 100644 index 000000000..dc6ef92de --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.2/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.0.2/Dockerfile.jdk21 new file mode 100644 index 000000000..fa0173a0d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.2/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.2/Makefile b/linux/ecosystem/atlassian/confluence/9/9.0.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.0.2/docker-compose.yml new file mode 100644 index 000000000..c1c3be2ab --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.0.2" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.0.2-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.0.2-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.0.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.3/.env b/linux/ecosystem/atlassian/confluence/9/9.0.3/.env new file mode 100644 index 000000000..bb9d21a2e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.3/.env @@ -0,0 +1,3 @@ +RELEASE=9.0.3 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.3/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.0.3/Dockerfile new file mode 100644 index 000000000..5c0fbb201 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.3/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.3/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.0.3/Dockerfile.jdk21 new file mode 100644 index 000000000..d9f46471b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.3/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.3/Makefile b/linux/ecosystem/atlassian/confluence/9/9.0.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.3/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.0.3/docker-compose.yml new file mode 100644 index 000000000..8e96d143a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.3/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.0.3" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.0.3-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.0.3-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.0.3/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.0.3/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.0.3/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.0/.env b/linux/ecosystem/atlassian/confluence/9/9.1.0/.env new file mode 100644 index 000000000..b7fe3436c --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.0/.env @@ -0,0 +1,3 @@ +RELEASE=9.1.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.0/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.1.0/Dockerfile new file mode 100644 index 000000000..5e7f4a2f0 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.0/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.0/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.1.0/Dockerfile.jdk21 new file mode 100644 index 000000000..ed676ff34 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.0/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.0/Makefile b/linux/ecosystem/atlassian/confluence/9/9.1.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.1.0/docker-compose.yml new file mode 100644 index 000000000..2dcea9579 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.0/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.1.0" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.1.0-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.1.0-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.0/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.1.0/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.0/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.1/.env b/linux/ecosystem/atlassian/confluence/9/9.1.1/.env new file mode 100644 index 000000000..a9ef708d8 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.1/.env @@ -0,0 +1,3 @@ +RELEASE=9.1.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.1/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.1.1/Dockerfile new file mode 100644 index 000000000..60f5ae2a6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.1/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.1.1/Dockerfile.jdk21 new file mode 100644 index 000000000..6830ebc5b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.1/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.1/Makefile b/linux/ecosystem/atlassian/confluence/9/9.1.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.1.1/docker-compose.yml new file mode 100644 index 000000000..7014c3679 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.1.1" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.1.1-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.1.1-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.1.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.1.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.1.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.0/.env b/linux/ecosystem/atlassian/confluence/9/9.2.0/.env new file mode 100644 index 000000000..f933a1a89 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.0/.env @@ -0,0 +1,3 @@ +RELEASE=9.2.0 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile index b99e55d5d..d23d4dca3 100644 --- a/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## ARG RELEASE=9.2.0 -ARG DOWNLOAD_URL=http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk11 deleted file mode 100644 index 2a47e1984..000000000 --- a/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=9.2.0 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk17 deleted file mode 100644 index f58fbbcbc..000000000 --- a/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk17 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bookworm-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=9.2.0 -ARG DOWNLOAD_URL=http://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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk21 new file mode 100644 index 000000000..f7af3472b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.0/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.0/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.2.0/docker-compose.yml index b13d774f2..269d888f6 100644 --- a/linux/ecosystem/atlassian/confluence/9/9.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/9/9.2.0/docker-compose.yml @@ -1,16 +1,14 @@ -#version: '3' services: app: image: "epicmorg/confluence:9.2.0" build: context: . - app-jdk11: - image: "epicmorg/confluence:9.2.0-jdk11" - build: - context: . - dockerfile: Dockerfile.jdk11 app-jdk17: image: "epicmorg/confluence:9.2.0-jdk17" build: context: . - dockerfile: Dockerfile.jdk17 + app-jdk21: + image: "epicmorg/confluence:9.2.0-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.1/.env b/linux/ecosystem/atlassian/confluence/9/9.2.1/.env new file mode 100644 index 000000000..7b28f3c17 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.1/.env @@ -0,0 +1,3 @@ +RELEASE=9.2.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.1/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.2.1/Dockerfile new file mode 100644 index 000000000..372dfeb1b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.1/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.2.1/Dockerfile.jdk21 new file mode 100644 index 000000000..e784d622a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.1/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.1/Makefile b/linux/ecosystem/atlassian/confluence/9/9.2.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.2.1/docker-compose.yml new file mode 100644 index 000000000..cebf6d29d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.2.1" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.2.1-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.2.1-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.2.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.2/.env b/linux/ecosystem/atlassian/confluence/9/9.2.2/.env new file mode 100644 index 000000000..09128f91a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.2/.env @@ -0,0 +1,3 @@ +RELEASE=9.2.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.2/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.2.2/Dockerfile new file mode 100644 index 000000000..8054ad255 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.2/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.2.2/Dockerfile.jdk21 new file mode 100644 index 000000000..c0cd1187d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.2/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.2/Makefile b/linux/ecosystem/atlassian/confluence/9/9.2.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.2.2/docker-compose.yml new file mode 100644 index 000000000..d15ed8246 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.2.2" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.2.2-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.2.2-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.2.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.2.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.2.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.1/.env b/linux/ecosystem/atlassian/confluence/9/9.3.1/.env new file mode 100644 index 000000000..112c071f6 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.1/.env @@ -0,0 +1,3 @@ +RELEASE=9.3.1 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.1/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.3.1/Dockerfile new file mode 100644 index 000000000..07eafa36d --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.1/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.1/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.3.1/Dockerfile.jdk21 new file mode 100644 index 000000000..34e552c8a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.1/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.1/Makefile b/linux/ecosystem/atlassian/confluence/9/9.3.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.1/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.3.1/docker-compose.yml new file mode 100644 index 000000000..8cd86f27f --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.1/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.3.1" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.3.1-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.3.1-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.1/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.3.1/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.1/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.2/.env b/linux/ecosystem/atlassian/confluence/9/9.3.2/.env new file mode 100644 index 000000000..f05f1bf2e --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.2/.env @@ -0,0 +1,3 @@ +RELEASE=9.3.2 +DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.2/Dockerfile b/linux/ecosystem/atlassian/confluence/9/9.3.2/Dockerfile new file mode 100644 index 000000000..558826f88 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.2/Dockerfile @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.2/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/9/9.3.2/Dockerfile.jdk21 new file mode 100644 index 000000000..d826cce22 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.2/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk21 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.2/Makefile b/linux/ecosystem/atlassian/confluence/9/9.3.2/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.2/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.2/docker-compose.yml b/linux/ecosystem/atlassian/confluence/9/9.3.2/docker-compose.yml new file mode 100644 index 000000000..228a94bad --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.2/docker-compose.yml @@ -0,0 +1,14 @@ +services: + app: + image: "epicmorg/confluence:9.3.2" + build: + context: . + app-jdk17: + image: "epicmorg/confluence:9.3.2-jdk17" + build: + context: . + app-jdk21: + image: "epicmorg/confluence:9.3.2-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/9/9.3.2/entrypoint.sh b/linux/ecosystem/atlassian/confluence/9/9.3.2/entrypoint.sh new file mode 100755 index 000000000..250fc031a --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/9/9.3.2/entrypoint.sh @@ -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 diff --git a/linux/ecosystem/atlassian/confluence/latest/Dockerfile b/linux/ecosystem/atlassian/confluence/latest/Dockerfile index 6d7480d82..558826f88 100644 --- a/linux/ecosystem/atlassian/confluence/latest/Dockerfile +++ b/linux/ecosystem/atlassian/confluence/latest/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE=8.7.2 +ARG RELEASE=9.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-confluence-${RELEASE}.tar.gz ################################################################## # Setup @@ -28,21 +29,36 @@ EXPOSE 8091 ################################################################## # Installing ################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ - apt clean -y && \ - apt autoclean -y && \ +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${CONFLUENCE_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --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 /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* -RUN updatedb +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk11 b/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk11 deleted file mode 100644 index 475efa583..000000000 --- a/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk11 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=8.7.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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk17 b/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk17 deleted file mode 100644 index 03d29bce7..000000000 --- a/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk17 +++ /dev/null @@ -1,49 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk17 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=8.7.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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk21 b/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk21 new file mode 100644 index 000000000..558826f88 --- /dev/null +++ b/linux/ecosystem/atlassian/confluence/latest/Dockerfile.jdk21 @@ -0,0 +1,64 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Confluence Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/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 ${TEMP_ARCHIVE} --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 diff --git a/linux/ecosystem/atlassian/confluence/latest/docker-compose.yml b/linux/ecosystem/atlassian/confluence/latest/docker-compose.yml index 4ffe8c041..6ebbf0019 100644 --- a/linux/ecosystem/atlassian/confluence/latest/docker-compose.yml +++ b/linux/ecosystem/atlassian/confluence/latest/docker-compose.yml @@ -1,16 +1,14 @@ -#version: '3' services: app: image: "epicmorg/confluence:latest" build: context: . - app-jdk11: - image: "epicmorg/confluence:latest-jdk11" - build: - context: . - dockerfile: Dockerfile.jdk11 app-jdk17: image: "epicmorg/confluence:latest-jdk17" build: context: . - dockerfile: Dockerfile.jdk17 + app-jdk21: + image: "epicmorg/confluence:latest-jdk21" + build: + context: . + dockerfile: Dockerfile.jdk21 diff --git a/linux/ecosystem/atlassian/confluence/templates/5/Dockerfile b/linux/ecosystem/atlassian/confluence/templates/5/Dockerfile deleted file mode 100644 index 2c95a569c..000000000 --- a/linux/ecosystem/atlassian/confluence/templates/5/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/templates/5/docker-compose.yml b/linux/ecosystem/atlassian/confluence/templates/5/docker-compose.yml deleted file mode 100644 index a707cae73..000000000 --- a/linux/ecosystem/atlassian/confluence/templates/5/docker-compose.yml +++ /dev/null @@ -1,9 +0,0 @@ -#version: '3' -services: - app: - image: "epicmorg/confluence:${RELEASE}" - build: - context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/confluence/templates/6/Dockerfile b/linux/ecosystem/atlassian/confluence/templates/6/Dockerfile deleted file mode 100644 index b6235216e..000000000 --- a/linux/ecosystem/atlassian/confluence/templates/6/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - - -################################################################## -# 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 -################################################################## -RUN mkdir -p ${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}/ \ - && 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 && \ - - 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 - -RUN updatedb - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/confluence/templates/6/docker-compose.yml b/linux/ecosystem/atlassian/confluence/templates/6/docker-compose.yml deleted file mode 100644 index a707cae73..000000000 --- a/linux/ecosystem/atlassian/confluence/templates/6/docker-compose.yml +++ /dev/null @@ -1,9 +0,0 @@ -#version: '3' -services: - app: - image: "epicmorg/confluence:${RELEASE}" - build: - context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/Dockerfile b/linux/ecosystem/atlassian/crowd/5/5.1.1/Dockerfile deleted file mode 100644 index e787ccf99..000000000 --- a/linux/ecosystem/atlassian/crowd/5/5.1.1/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# Setup -################################################################## -ENV RUN_USER daemon -ENV RUN_GROUP daemon -ENV APP_NAME crowd - -# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html -ENV CROWD_HOME /var/atlassian/application-data/crowd -ENV CROWD_INSTALL_DIR /opt/atlassian/crowd -ENV CROWD_DB ${CROWD_INSTALL_DIR}/database - -# Expose HTTP port -EXPOSE 8095 - -################################################################## -# Installing -################################################################## -RUN apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini \ - && apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* - -RUN mkdir -p ${CROWD_DB} && \ - curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${CROWD_INSTALL_DIR}" && \ - chown -R $RUN_USER:$RUN_GROUP ${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ - 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 - -VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms -VOLUME ["${CROWD_DB}"] # Must be declared after setting perms -WORKDIR $CROWD_HOME - -CMD ["/entrypoint.py"] -ENTRYPOINT ["/usr/bin/tini", "--"] - -COPY entrypoint.py \ - shutdown-wait.sh \ - shared-components/image/entrypoint_helpers.py / -COPY shared-components/support /opt/atlassian/support -COPY config/* /opt/atlassian/etc/ -COPY . /tmp diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/crowd/5/5.1.1/Dockerfile.jdk11 deleted file mode 100644 index 24f3160e6..000000000 --- a/linux/ecosystem/atlassian/crowd/5/5.1.1/Dockerfile.jdk11 +++ /dev/null @@ -1,56 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE -ARG DOWNLOAD_URL - -################################################################## -# Setup -################################################################## -ENV RUN_USER daemon -ENV RUN_GROUP daemon -ENV APP_NAME crowd - -# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html -ENV CROWD_HOME /var/atlassian/application-data/crowd -ENV CROWD_INSTALL_DIR /opt/atlassian/crowd -ENV CROWD_DB ${CROWD_INSTALL_DIR}/database - -# Expose HTTP port -EXPOSE 8095 - -################################################################## -# Installing -################################################################## -RUN apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini \ - && apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* - -RUN mkdir -p ${CROWD_DB} && \ - curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${CROWD_INSTALL_DIR}" && \ - chown -R $RUN_USER:$RUN_GROUP ${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ - 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 - -VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms -VOLUME ["${CROWD_DB}"] # Must be declared after setting perms -WORKDIR $CROWD_HOME - -CMD ["/entrypoint.py"] -ENTRYPOINT ["/usr/bin/tini", "--"] - -COPY entrypoint.py \ - shutdown-wait.sh \ - shared-components/image/entrypoint_helpers.py / -COPY shared-components/support /opt/atlassian/support -COPY config/* /opt/atlassian/etc/ -COPY . /tmp diff --git a/linux/ecosystem/atlassian/crowd/5/5.1.1/docker-compose.yml b/linux/ecosystem/atlassian/crowd/5/5.1.1/docker-compose.yml deleted file mode 100644 index 9e8e9ffd6..000000000 --- a/linux/ecosystem/atlassian/crowd/5/5.1.1/docker-compose.yml +++ /dev/null @@ -1,26 +0,0 @@ -#version: '3' -services: - app: - image: "epicmorg/crowd:${RELEASE}" - build: - context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} - app-jdk11: - image: "epicmorg/crowd:${RELEASE}-jdk11" - build: - context: . - dockerfile: Dockerfile.jdk11 - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} -# app-jdk17: -# image: "epicmorg/crowd:${RELEASE}-jdk17" -# build: -# context: . -# dockerfile: Dockerfile.jdk17 -# args: -# RELEASE: ${RELEASE} -# DOWNLOAD_URL: ${DOWNLOAD_URL} -# \ No newline at end of file diff --git a/linux/ecosystem/atlassian/crowd/latest/.dockerignore b/linux/ecosystem/atlassian/crowd/latest/.dockerignore deleted file mode 100644 index 99176b278..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -.git -scripts -.idea \ No newline at end of file diff --git a/linux/ecosystem/atlassian/crowd/latest/.env b/linux/ecosystem/atlassian/crowd/latest/.env deleted file mode 100644 index 06c48552c..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/.env +++ /dev/null @@ -1,4 +0,0 @@ - -RELEASE=5.1.1 -DOWNLOAD_URL=https://product-downloads.atlassian.com/software/crowd/downloads/atlassian-crowd-${RELEASE}.tar.gz - diff --git a/linux/ecosystem/atlassian/crowd/latest/Dockerfile b/linux/ecosystem/atlassian/crowd/latest/Dockerfile deleted file mode 100644 index bca5f686a..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=5.1.1 -ARG DOWNLOAD_URL=https://product-downloads.atlassian.com/software/crowd/downloads/atlassian-crowd-${RELEASE}.tar.gz - -################################################################## -# Setup -################################################################## -ENV RUN_USER daemon -ENV RUN_GROUP daemon -ENV APP_NAME crowd - -# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html -ENV CROWD_HOME /var/atlassian/application-data/crowd -ENV CROWD_INSTALL_DIR /opt/atlassian/crowd -ENV CROWD_DB ${CROWD_INSTALL_DIR}/database - -# Expose HTTP port -EXPOSE 8095 - -################################################################## -# Installing -################################################################## -RUN apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini \ - && apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* - -RUN mkdir -p ${CROWD_DB} && \ - curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${CROWD_INSTALL_DIR}" && \ - chown -R $RUN_USER:$RUN_GROUP ${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ - 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 - -VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms -VOLUME ["${CROWD_DB}"] # Must be declared after setting perms -WORKDIR $CROWD_HOME - -CMD ["/entrypoint.py"] -ENTRYPOINT ["/usr/bin/tini", "--"] - -COPY entrypoint.py \ - shutdown-wait.sh \ - shared-components/image/entrypoint_helpers.py / -COPY shared-components/support /opt/atlassian/support -COPY config/* /opt/atlassian/etc/ -COPY . /tmp diff --git a/linux/ecosystem/atlassian/crowd/latest/Dockerfile.jdk11 b/linux/ecosystem/atlassian/crowd/latest/Dockerfile.jdk11 deleted file mode 100644 index 1c97fbb3a..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/Dockerfile.jdk11 +++ /dev/null @@ -1,56 +0,0 @@ -FROM epicmorg/debian:bullseye-jdk11 -LABEL maintainer="Atlassian Crowd Server Team; EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# ARGuments -################################################################## -ARG RELEASE=5.1.1 -ARG DOWNLOAD_URL=https://product-downloads.atlassian.com/software/crowd/downloads/atlassian-crowd-${RELEASE}.tar.gz - -################################################################## -# Setup -################################################################## -ENV RUN_USER daemon -ENV RUN_GROUP daemon -ENV APP_NAME crowd - -# https://confluence.atlassian.com/crowd/important-directories-and-files-78676537.html -ENV CROWD_HOME /var/atlassian/application-data/crowd -ENV CROWD_INSTALL_DIR /opt/atlassian/crowd -ENV CROWD_DB ${CROWD_INSTALL_DIR}/database - -# Expose HTTP port -EXPOSE 8095 - -################################################################## -# Installing -################################################################## -RUN apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini \ - && apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* - -RUN mkdir -p ${CROWD_DB} && \ - curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${CROWD_INSTALL_DIR}" && \ - chown -R $RUN_USER:$RUN_GROUP ${CROWD_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} -Dcrowd.home=\${CROWD_HOME}/g' ${CROWD_INSTALL_DIR}/apache-tomcat/bin/setenv.sh && \ - 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 - -VOLUME ["${CROWD_HOME}"] # Must be declared after setting perms -VOLUME ["${CROWD_DB}"] # Must be declared after setting perms -WORKDIR $CROWD_HOME - -CMD ["/entrypoint.py"] -ENTRYPOINT ["/usr/bin/tini", "--"] - -COPY entrypoint.py \ - shutdown-wait.sh \ - shared-components/image/entrypoint_helpers.py / -COPY shared-components/support /opt/atlassian/support -COPY config/* /opt/atlassian/etc/ -COPY . /tmp diff --git a/linux/ecosystem/atlassian/crowd/latest/README.md b/linux/ecosystem/atlassian/crowd/latest/README.md deleted file mode 100644 index 3bdc16057..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/README.md +++ /dev/null @@ -1,311 +0,0 @@ -![Atlassian Crowd](https://wac-cdn.atlassian.com/dam/jcr:d2a1da52-ae52-4b06-9ab1-da8647a89653/crowd-icon-gradient-blue.svg?cdnVersion=696) - -Crowd provides single sign-on and user identity that's easy to use. - -Learn more about Crowd: [https://www.atlassian.com/software/crowd][1] - -# Contents - -[TOC] - -# Overview - -This Docker container makes it easy to get an instance of Crowd up and running. - -Note: ** Use docker version >= 20.10.10 ** - -# Quick Start - -For the `CROWD_HOME` directory that is used to store application data (amongst other things) we recommend mounting a host directory as a [data volume](https://docs.docker.com/engine/tutorials/dockervolumes/#/data-volumes), or via a named volume. - -To get started you can use a data volume, or named volumes. In this example we'll use named volumes. - - docker volume create --name crowdVolume - docker run -v crowdVolume:/var/atlassian/application-data/crowd --name="crowd" -d -p 8095:8095 atlassian/crowd - - -**Success**. Crowd is now available on [http://localhost:8095](http://localhost:8095)* - -Please ensure your container has the necessary resources allocated to it. See [Supported Platforms][2] for further information. - - -_* Note: If you are using `docker-machine` on Mac OS X, please use `open http://$(docker-machine ip default):8095` instead._ - -## Memory / Heap Size - -If you need to override Crowd's default memory allocation, you can control the minimum heap (Xms) and maximum heap (Xmx) via the below environment variables. - -* `JVM_MINIMUM_MEMORY` (default: 384m) - - The minimum heap size of the JVM - -* `JVM_MAXIMUM_MEMORY` (default: 768m) - - The maximum heap size of the JVM - -## Reverse Proxy Settings - -If Crowd is run behind a reverse proxy server as [described here][3], then you need to specify extra options to make Crowd aware of the setup. They can be controlled via the below environment variables. - -* `ATL_PROXY_NAME` (default: NONE) - - The reverse proxy's fully qualified hostname. `CATALINA_CONNECTOR_PROXYNAME` - is also supported for backwards compatability. - -* `ATL_PROXY_PORT` (default: NONE) - - The reverse proxy's port number via which Crowd is - accessed. `CATALINA_CONNECTOR_PROXYPORT` is also supported for backwards - compatability. - -* `ATL_TOMCAT_PORT` (default: 8095) - - The port for Tomcat/Crowd to listen on. Depending on your container - deployment method this port may need to be - [exposed and published][docker-expose]. - -* `ATL_TOMCAT_SCHEME` (default: http) - - The protocol via which Crowd is accessed. `CATALINA_CONNECTOR_SCHEME` is also - supported for backwards compatability. - -* `ATL_TOMCAT_SECURE` (default: false) - - Set 'true' if `ATL_TOMCAT_SCHEME` is 'https'. `CATALINA_CONNECTOR_SECURE` is - also supported for backwards compatability. - -The following Tomcat/Catalina options are also supported. For more information, -see https://tomcat.apache.org/tomcat-8.5-doc/config/index.html. - -* `ATL_TOMCAT_MGMT_PORT` (default: 8000) -* `ATL_TOMCAT_MAXTHREADS` (default: 100) -* `ATL_TOMCAT_MINSPARETHREADS` (default: 10) -* `ATL_TOMCAT_CONNECTIONTIMEOUT` (default: 20000) -* `ATL_TOMCAT_ENABLELOOKUPS` (default: false) -* `ATL_TOMCAT_PROTOCOL` (default: HTTP/1.1) -* `ATL_TOMCAT_ACCEPTCOUNT` (default: 10) -* `ATL_TOMCAT_MAXHTTPHEADERSIZE` (default: 8192) - -## JVM Configuration - -If you need to pass additional JVM arguments to Crowd, such as specifying a custom trust store, you can add them via the below environment variable - -* `JVM_SUPPORT_RECOMMENDED_ARGS` - - Additional JVM arguments for Crowd - -Example: - - docker run -e JVM_SUPPORT_RECOMMENDED_ARGS=-Djavax.net.ssl.trustStore=/var/atlassian/application-data/crowd/cacerts -v crowdVolume:/var/atlassian/application-data/crowd --name="crowd" -d -p 8095:8095 atlassian/crowd - -## Data Center configuration - -This docker image can be run as part of a [Data Center][4] cluster. You can -specify the following properties to start Crowd as a Data Center node, -instead of manually configuring a cluster. See [Installing Crowd Data -Center][5] for more information. - -## Container Configuration - -* `SET_PERMISSIONS` (default: true) - - Define whether to set home directory permissions on startup. Set to `false` to disable - this behaviour. - -## Advanced Configuration - -As mentioned at the top of this section, the settings from the environment are -used to populate the application configuration on the container startup. However -in some cases you may wish to customise the settings in ways that are not -supported by the environment variables above. In this case, it is possible to -modify the base templates to add your own configuration. There are three main -ways of doing this; modify our repository to your own image, build a new image -from the existing one, or provide new templates at startup. We will briefly -outline this methods here, but in practice how you do this will depend on your -needs. - -#### Building your own image - -* Clone the Atlassian repository at https://bitbucket.org/atlassian-docker/docker-atlassian-crowd/ -* Modify or replace the [Jinja](https://jinja.palletsprojects.com/) templates - under `config`; _NOTE_: The files must have the `.j2` extensions. However you - don't have to use template variables if you don't wish. -* Build the new image with e.g: `docker build --tag my-crowd-image --build-arg CROWD_VERSION=3.x.x .` -* Optionally push to a registry, and deploy. - -#### Build a new image from the existing one - -* Create a new `Dockerfile`, which starts with the Atlassian Crowd base image e.g: `FROM atlassian/crowd:latest`. -* Use a `COPY` line to overwrite the provided templates. -* Build, push and deploy the new image as above. - -#### Overwrite the templates at runtime - -There are two main ways of doing this: - -* If your container is going to be long-lived, you can create it, modify the - installed templates under `/opt/atlassian/etc/`, and then run it. -* Alternatively, you can create a volume containing your alternative templates, - and mount it over the provided templates at runtime - with `--volume my-config:/opt/atlassian/etc/`. - -# Shared directory and user IDs - -By default the Crowd application runs as the user `crowd`, with a UID -and GID of 2004. Consequently this UID must have write access to the shared -filesystem. If for some reason a different UID must be used, there are a number -of options available: - -* The Docker image can be rebuilt with a different UID. -* Under Linux, the UID can be remapped using - [user namespace remapping][7]. - -To preserve strict permissions for certain configuration files, this container starts as -`root` to perform bootstrapping before running Crowd under a non-privileged user -account. If you wish to start the container as a non-root user, please note that Tomcat -configuration will be skipped and a warning will be logged. You may still apply custom -configuration in this situation by mounting configuration files directly, e.g. -by mounting your own server.xml file directly to -`/opt/atlassian/crowd/apache-tomcat/conf/server.xml` - -# Upgrade - -To upgrade to a more recent version of Crowd you can simply stop the `crowd` container and start a new one based on a more recent image: - - docker stop crowd - docker rm crowd - docker run ... (See above) - -As your data is stored in the data volume directory on the host it will still be available after the upgrade. - -_Note: Please make sure that you **don't** accidentally remove the `crowd` container and its volumes using the `-v` option._ - -# Backup - -For evaluations you can use the built-in database that will store its files in the Crowd home directory. In that case it is sufficient to create a backup archive of the docker volume. - -If you're using an external database, you can configure Crowd to make a backup automatically each night. This will back up the current state, including the database to the `crowdVolume` docker volume, which can then be archived. Alternatively you can backup the database separately, and continue to create a backup archive of the docker volume to back up the Crowd Home directory. - -Read more about data recovery and backups: [Backing Up and Restoring Data][6] - -# Versioning - -The `latest` tag matches the most recent release of Atlassian Crowd. Thus `atlassian/crowd:latest` will use the newest version of Crowd available. - -Alternatively you can use a specific major, major.minor, or major.minor.patch version of Crowd by using a version number tag: - -* `atlassian/crowd:3` -* `atlassian/crowd:3.2` -* `atlassian/crowd:3.2.3` - -All versions from 3.0+ are available - -# Supported JDK versions - -All the Atlassian Docker images are now JDK11 only, and generated from the -[official Eclipse Temurin OpenJDK Docker images](https://hub.docker.com/_/eclipse-temurin). - -The Docker images follow the [Atlassian Support end-of-life -policy](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html); -images for unsupported versions of the products remain available but will no longer -receive updates or fixes. - -Historically, we have also generated other versions of the images, including -JDK8, Alpine, and 'slim' versions of the JDK. These legacy images still exist in -Docker Hub, however they should be considered deprecated, and do not receive -updates or fixes. - -If for some reason you need a different version, see "Building your own image" -above. - -# Supported architectures - -Currently the Atlassian Docker images are built for the `linux/amd64` target -platform; we do not have other architectures on our roadmap at this -point. However the Dockerfiles and support tooling have now had all -architecture-specific components removed, so if necessary it is possible to -build images for any platform supported by Docker. - -## Building on the target architecture - -Note: This method is known to work on Mac M1 and AWS ARM64 machines, but has not -be extensively tested. - -The simplest method of getting a platform image is to build it on a target -machine. The following assumes you have git and Docker installed. You will also -need to know which version of Crowd you want to build; substitute -`CROWD_VERSION=x.x.x` with your required version: - -``` -git clone --recurse-submodule https://bitbucket.org/atlassian-docker/docker-atlassian-crowd.git -cd docker-atlassian-crowd -docker build --tag my-image --build-arg CROWD_VERSION=x.x.x . -``` -This image can be pushed up to your own Docker Hub or private repository. - -# Troubleshooting - -These images include built-in scripts to assist in performing common JVM diagnostic tasks. - -## Thread dumps - -`/opt/atlassian/support/thread-dumps.sh` can be run via `docker exec` to easily trigger the collection of thread -dumps from the containerized application. For example: - - docker exec my_crowd /opt/atlassian/support/thread-dumps.sh - -By default this script will collect 10 thread dumps at 5 second intervals. This can -be overridden by passing a custom value for the count and interval, by using `-c` / `--count` -and `-i` / `--interval` respectively. For example, to collect 20 thread dumps at 3 second intervals: - - docker exec my_container /opt/atlassian/support/thread-dumps.sh --count 20 --interval 3 - -Thread dumps will be written to `$APP_HOME/thread_dumps/`. - -Note: By default this script will also capture output from top run in 'Thread-mode'. This can -be disabled by passing `-n` / `--no-top` - -## Heap dump - -`/opt/atlassian/support/heap-dump.sh` can be run via `docker exec` to easily trigger the collection of a heap -dump from the containerized application. For example: - - docker exec my_container /opt/atlassian/support/heap-dump.sh - -A heap dump will be written to `$APP_HOME/heap.bin`. If a file already exists at this -location, use `-f` / `--force` to overwrite the existing heap dump file. - -## Manual diagnostics - -The `jcmd` utility is also included in these images and can be used by starting a `bash` shell -in the running container: - - docker exec -it my_container /bin/bash - -# Support - -For product support, go to: - -* https://support.atlassian.com/crowd/ - -You can also visit the [Atlassian Data Center on -Kubernetes](https://community.atlassian.com/t5/Atlassian-Data-Center-on/gh-p/DC_Kubernetes) -forum for discussion on running Atlassian Data Center products in containers. - -# Changelog - -For a detailed list of changes to the Docker image configuration see [the Git -commit history](https://bitbucket.org/atlassian-docker/docker-atlassian-crowd/commits/). - -# License - -Copyright © 2019 Atlassian Corporation Pty Ltd. -Licensed under the Apache License, Version 2.0. - -[1]: https://www.atlassian.com/software/crowd -[2]: https://confluence.atlassian.com/crowd/supported-platforms-191851.html -[3]: https://confluence.atlassian.com/crowd031/integrating-crowd-with-apache-949753124.html -[4]: https://confluence.atlassian.com/crowd/crowd-data-center-935372453.html -[5]: https://confluence.atlassian.com/crowd/installing-crowd-data-center-935369773.html -[6]: https://confluence.atlassian.com/crowd/backing-up-and-restoring-data-36470797.html -[7]: https://docs.docker.com/engine/security/userns-remap/ diff --git a/linux/ecosystem/atlassian/crowd/latest/config/server.xml.j2 b/linux/ecosystem/atlassian/crowd/latest/config/server.xml.j2 deleted file mode 100644 index c29136b1f..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/config/server.xml.j2 +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/linux/ecosystem/atlassian/crowd/latest/docker-compose.yml b/linux/ecosystem/atlassian/crowd/latest/docker-compose.yml index d524de699..9edde23b3 100644 --- a/linux/ecosystem/atlassian/crowd/latest/docker-compose.yml +++ b/linux/ecosystem/atlassian/crowd/latest/docker-compose.yml @@ -1,20 +1,9 @@ -#version: '3' services: app: image: "epicmorg/crowd:latest" build: context: . - app-jdk11: - image: "epicmorg/crowd:latest-jdk11" + app-jdk17: + image: "epicmorg/crowd:latest-jdk17" build: context: . - dockerfile: Dockerfile.jdk11 -# app-jdk17: -# image: "epicmorg/crowd:latest-jdk17" -# build: -# context: . -# dockerfile: Dockerfile.jdk17 -# args: -# RELEASE: ${RELEASE} -# DOWNLOAD_URL: ${DOWNLOAD_URL} -# \ No newline at end of file diff --git a/linux/ecosystem/atlassian/crowd/latest/entrypoint.py b/linux/ecosystem/atlassian/crowd/latest/entrypoint.py deleted file mode 100755 index 73df46354..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/entrypoint.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/python3 -B - -from entrypoint_helpers import env, gen_cfg, gen_container_id, exec_app - - -RUN_USER = env['run_user'] -RUN_GROUP = env['run_group'] -CROWD_INSTALL_DIR = env['crowd_install_dir'] -CROWD_HOME = env['crowd_home'] - -gen_cfg('server.xml.j2', f'{CROWD_INSTALL_DIR}/apache-tomcat/conf/server.xml') - -exec_app([f'{CROWD_INSTALL_DIR}/start_crowd.sh', '-fg'], CROWD_HOME, name='Crowd', env_cleanup=True) diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/.gitignore b/linux/ecosystem/atlassian/crowd/latest/shared-components/.gitignore deleted file mode 100644 index a69d7f1f5..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -__pycache__/ -.pytest_cache/ -Pipfile -Pipfile.lock -*.pyc diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/LICENSE b/linux/ecosystem/atlassian/crowd/latest/shared-components/LICENSE deleted file mode 100644 index 2237185e7..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright © 2019 Atlassian Corporation Pty Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); you -may not use this file except in compliance with the License. You may -obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0. - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -implied. See the License for the specific language governing -permissions and limitations under the License. diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/README.md b/linux/ecosystem/atlassian/crowd/latest/shared-components/README.md deleted file mode 100644 index 8a1386016..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# Overview - -This repository provides common utilities & components for building and testing Docker -images for Atlassian's Server and Data Center products. - -The following components are provided: - -### Image builds - -* Support tools - - Scripts for performing common diagnostic operations, i.e. taking thread dumps and heap - dumps. - -* Entrypoint helpers - - Common components for bootstrapping and starting apps. - -* README publishing - - Utility for publishing README's to Docker Hub, without relying on Docker Hub's own - automated builds. - -### Image testing - -* Fixtures - - Common testing fixtures that can be reused for testing Docker builds of Atlassian - apps. - -* Helpers - - Helper functions for parsing configuration files, checking running processes and - retrieving http responses. - - diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/image/entrypoint_helpers.py b/linux/ecosystem/atlassian/crowd/latest/shared-components/image/entrypoint_helpers.py deleted file mode 100755 index 1e863236a..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/image/entrypoint_helpers.py +++ /dev/null @@ -1,146 +0,0 @@ -import sys -import os -import pwd -import shutil -import logging -import jinja2 as j2 -import uuid -import base64 - - -logging.basicConfig(level=logging.DEBUG) - - -###################################################################### -# Setup inputs and outputs - -# Import all ATL_* and Dockerfile environment variables. We lower-case -# these for compatability with Ansible template convention. We also -# support CATALINA variables from older versions of the Docker images -# for backwards compatability, if the new version is not set. -env = {k.lower(): v - for k, v in os.environ.items()} - - -# Setup Jinja2 for templating -jenv = j2.Environment( - loader=j2.FileSystemLoader('/opt/atlassian/etc/'), - autoescape=j2.select_autoescape(['xml'])) - - -###################################################################### -# Utils - -def set_perms(path, user, group, mode): - try: - shutil.chown(path, user=user, group=group) - except PermissionError: - logging.warning(f"Could not chown path {path} to {user}:{group} due to insufficient permissions.") - - try: - os.chmod(path, mode) - except PermissionError: - logging.warning(f"Could not chmod path {path} to {mode} due to insufficient permissions.") - -def set_tree_perms(path, user, group, mode): - set_perms(path, user, group, mode) - for dirpath, dirnames, filenames in os.walk(path): - set_perms(path, user, group, mode) - for filename in filenames: - set_perms(path, user, group, mode) - -def check_perms(path, uid, gid, mode): - stat = os.stat(path) - return all([ - stat.st_uid == int(uid), - stat.st_gid == int(gid), - stat.st_mode & mode == mode - ]) - -def gen_cfg(tmpl, target, user='root', group='root', mode=0o644, overwrite=True): - if not overwrite and os.path.exists(target): - logging.info(f"{target} exists; skipping.") - return - - logging.info(f"Generating {target} from template {tmpl}") - cfg = jenv.get_template(tmpl).render(env) - try: - with open(target, 'w') as fd: - fd.write(cfg) - except (OSError, PermissionError): - logging.warning(f"Permission problem writing '{target}'; skipping") - else: - set_tree_perms(target, user, group, mode) - -def gen_container_id(): - env['uuid'] = uuid.uuid4().hex - with open('/etc/container_id') as fd: - lcid = fd.read() - if lcid != '': - env['local_container_id'] = lcid - -def str2bool(v): - if str(v).lower() in ('yes', 'true', 't', 'y', '1'): - return True - return False - -def unset_secure_vars(): - secure_keywords = ('PASS', 'SECRET', 'TOKEN') - for key in os.environ: - if any(kw in key.upper() for kw in secure_keywords): - logging.warning(f"Unsetting environment var {key}") - del os.environ[key] - - -###################################################################### -# Application startup utilities - -def check_permissions(home_dir): - """Ensure the home directory is set to minimal permissions""" - if str2bool(env.get('set_permissions') or True) and check_perms(home_dir, env['run_uid'], env['run_gid'], 0o700) is False: - set_tree_perms(home_dir, env['run_user'], env['run_group'], 0o700) - logging.info(f"User is currently root. Will change directory ownership and downgrade run user to {env['run_user']}") - - -def drop_root(run_user): - logging.info(f"User is currently root. Will downgrade run user to {run_user}") - pwd_entry = pwd.getpwnam(run_user) - - os.environ['USER'] = run_user - os.environ['HOME'] = pwd_entry.pw_dir - os.environ['SHELL'] = pwd_entry.pw_shell - os.environ['LOGNAME'] = run_user - os.setgid(pwd_entry.pw_gid) - os.setuid(pwd_entry.pw_uid) - - -def write_pidfile(): - app_home = env[f"{env['app_name'].lower()}_home"] - pidfile = f"{app_home}/docker-app.pid" - with open(pidfile, 'wt', encoding='utf-8') as fd: - pid = os.getpid() - fd.write(str(pid)) - - -def exec_app(start_cmd_v, home_dir, name='app', env_cleanup=False): - """Run the supplied application startup command. - - Arguments: - start_cmd -- A list of the command and its arguments. - home_dir -- Application home directory. - name -- (Optional) The name to display in the log message. - env_cleanup -- (Default: False) Remove possibly sensitive env-vars. - """ - if os.getuid() == 0: - check_permissions(home_dir) - drop_root(env['run_user']) - - write_pidfile() - - if env_cleanup: - unset_secure_vars() - - cmd = start_cmd_v[0] - args = start_cmd_v - logging.info(f"Running {name} with command '{cmd}', arguments {args}") - os.execv(cmd, args) diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/common.sh b/linux/ecosystem/atlassian/crowd/latest/shared-components/support/common.sh deleted file mode 100755 index 46a00b83d..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/common.sh +++ /dev/null @@ -1,63 +0,0 @@ -# ------------------------------------------------------------------------------------- -# Common bootstrapping for support scripts (get app details: home directory, PID, etc.) -# ------------------------------------------------------------------------------------- - - -# Set up Java utils -JCMD="${JAVA_HOME}/bin/jcmd" - -# Set up app info -APP_NAME="$(set | grep '_INSTALL_DIR' | awk -F'_' '{print $1}')" - -case "${APP_NAME}" in - BITBUCKET ) - BOOTSTRAP_PROC="com.atlassian.bitbucket.internal.launcher.BitbucketServerLauncher" - ;; - * ) - BOOTSTRAP_PROC="org.apache.catalina.startup.Bootstrap" - ;; -esac - -# Get value of _INSTALL_DIR -function get_app_install_dir { - local APP_INSTALL_DIR=${APP_NAME}_INSTALL_DIR - echo ${!APP_INSTALL_DIR} -} - -# Get value of _HOME -function get_app_home { - local APP_HOME=${APP_NAME}_HOME - echo ${!APP_HOME} -} - -# Get app PID. APP_PID is the root process. JVM_APP_PID will generally -# be the same as APP_PID; the exception is Bitbucket running with -# Elasticsearch enabled. -JVM_APP_PID=$(${JCMD} | grep "${BOOTSTRAP_PROC}" | awk '{print $1}') -PIDFILE="$(get_app_home)/docker-app.pid" -if [[ -f $PIDFILE ]]; then - APP_PID=$(<$PIDFILE) -else - APP_PID=$JVM_APP_PID -fi - - -# Set valid getopt options -function set_valid_options { - OPTS=$(getopt -o "$1" --long "$2" -n 'parse-options' -- "$@") - if [ $? != 0 ]; then - echo "Failed parsing options." >&2 - exit 1 - fi - eval set -- "$OPTS" -} - - -# Run command(s) -function run_as_runuser { - if [ $(id -u) = 0 ]; then - su "${RUN_USER}" -c '"$@"' -- argv0 "$@" - else - $@ - fi -} diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/heap-dump.sh b/linux/ecosystem/atlassian/crowd/latest/shared-components/support/heap-dump.sh deleted file mode 100755 index 9b0c1a3ba..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/heap-dump.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash - -# ------------------------------------------------------------------------------------- -# Heap collector for containerized Atlassian applications -# -# This script can be run via `docker exec` to easily trigger the collection of a heap -# dump from the containerized application. For example: -# -# $ docker exec -it my_jira /opt/atlassian/support/heap-dump.sh -# -# A heap dump will be written to $APP_HOME/heap.bin. If a file already exists at this -# location, use -f/--force to overwrite the existing heap dump file. -# -# ------------------------------------------------------------------------------------- - - -set -euo pipefail - - -# Set up common vars like APP_NAME, APP_HOME, APP_PID -SCRIPT_DIR=$(dirname "$0") -source "${SCRIPT_DIR}/common.sh" - -# Set up script opts -set_valid_options "f" "force" - -# Set defaults -OVERWRITE="false" - -# Parse opts -while true; do - case "${1-}" in - -f | --force ) OVERWRITE="true"; shift ;; - * ) break ;; - esac -done - - - -echo "Atlassian heap dump collector" -echo "App: ${APP_NAME}" -echo "Run user: ${RUN_USER}" -echo - -OUT_FILE="$(get_app_home)/heap.bin" - -if [[ -f "${OUT_FILE}" ]]; then - echo "A previous heap dump already exists at ${OUT_FILE}." - if [[ "${OVERWRITE}" == "true" ]]; then - echo "Removing previous heap dump file" - echo - rm "${OUT_FILE}" - else - echo "Use -f/--force to overwrite the existing heap dump." - exit - fi -fi - -echo "Generating heap dump" -run_as_runuser ${JCMD} ${JVM_APP_PID} GC.heap_dump -all ${OUT_FILE} > /dev/null -echo -echo "Heap dump has been written to ${OUT_FILE}" diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/send-sig.sh b/linux/ecosystem/atlassian/crowd/latest/shared-components/support/send-sig.sh deleted file mode 100755 index 2eba3234c..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/send-sig.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# Send the specified signal to the main application process. -# -# If 'wait' is added as a second parameter, wait for the process to -# terminate. NOTE: This waits indefinitely, but may be killed by -# higher-level processes (e.g. Docker/Kubernetes) - -set -e - -SIG=$1 -WAIT=$2 -SHDIR=$(dirname $0) - -source ${SHDIR}/common.sh - -kill -${SIG} ${JVM_APP_PID} - -if [[ "${WAIT}" == "wait" ]]; then - ${SHDIR}/wait-pid.sh $JVM_APP_PID -fi - diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/thread-dumps.sh b/linux/ecosystem/atlassian/crowd/latest/shared-components/support/thread-dumps.sh deleted file mode 100755 index 56979c42e..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/thread-dumps.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash - -# ------------------------------------------------------------------------------------- -# Thread dumps collector for containerized Atlassian applications -# -# This script can be run via `docker exec` to easily trigger the collection of thread -# dumps from the containerized application. For example: -# -# $ docker exec my_jira /opt/atlassian/support/thread-dumps.sh -# -# By default this script will collect 10 thread dumps at a 5 second interval. This can -# be overridden by passing a custom value for the count and interval, respectively. For -# example, to collect 20 thread dumps at a 3 second interval: -# -# $ docker exec my_jira /opt/atlassian/support/thread-dumps.sh -c 20 -i 3 -# -# Note: By default this script will capture output from top run in 'Thread-mode'. This can -# be disabled by passing --no-top -# ------------------------------------------------------------------------------------- - - -set -euo pipefail - - -# Set up common vars like APP_NAME, APP_HOME, APP_PID -SCRIPT_DIR=$(dirname "$0") -source "${SCRIPT_DIR}/common.sh" - -# Set up script opts -set_valid_options "c:i:n" "count:,interval:,no-top" - -# Set defaults -COUNT="10" -INTERVAL="5" -NO_TOP="false" - -# Parse opts -while true; do - case "${1-}" in - -c | --count ) COUNT="$2"; shift 2 ;; - -i | --interval ) INTERVAL="$2"; shift 2 ;; - -n | --no-top ) NO_TOP="true"; shift ;; - * ) break ;; - esac -done - - - -echo "Atlassian thread dump collector" -echo "App: ${APP_NAME}" -echo "Run user: ${RUN_USER}" -echo -echo "${COUNT} thread dumps will be generated at a ${INTERVAL} second interval" -if [[ "${NO_TOP}" == "false" ]]; then - echo "top 'Threads-mode' output will also be collected for ${APP_NAME} with every thread dump" -fi -echo - -OUT_DIR="$(get_app_home)/thread_dumps/$(date +'%Y-%m-%d_%H-%M-%S')" -run_as_runuser mkdir -p ${OUT_DIR} - -for i in $(seq ${COUNT}); do - echo "Generating thread dump ${i} of ${COUNT}" - if [[ "${NO_TOP}" == "false" ]]; then - run_as_runuser top -b -H -p $JVM_APP_PID -n 1 > "${OUT_DIR}/${APP_NAME}_CPU_USAGE.$(date +%s).txt" - fi - run_as_runuser ${JCMD} ${JVM_APP_PID} Thread.print -l > "${OUT_DIR}/${APP_NAME}_THREADS.$(date +%s).txt" - if [[ ! "${i}" == "${COUNT}" ]]; then - sleep ${INTERVAL} - fi -done - -echo -echo "Thread dumps have been written to ${OUT_DIR}" diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/wait-pid.sh b/linux/ecosystem/atlassian/crowd/latest/shared-components/support/wait-pid.sh deleted file mode 100755 index 5d407be1b..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/wait-pid.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# Wait for the specified process ID to terminate. NOTE: This waits -# indefinitely, but may be killed by higher-level processes -# (e.g. Docker/Kubernetes) - -set -e - -WAIT_PID=$1 - -while [[ -e /proc/${WAIT_PID} ]]; do - /bin/sleep 0.5 -done diff --git a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/waitport b/linux/ecosystem/atlassian/crowd/latest/shared-components/support/waitport deleted file mode 100755 index 84b4037cd..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shared-components/support/waitport +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -set -e - -host=$1 -port=$2 -secs=120 - -echo -n "Waiting for TCP connection to $host:$port..." - -for i in `seq $secs`; do - if nc -z $host $port > /dev/null ; then - echo OK - exit 0 - fi - - echo -n . - /bin/sleep 1 - -done - -echo FAILED -exit -1 diff --git a/linux/ecosystem/atlassian/crowd/latest/shutdown-wait.sh b/linux/ecosystem/atlassian/crowd/latest/shutdown-wait.sh deleted file mode 100755 index 80f6157ae..000000000 --- a/linux/ecosystem/atlassian/crowd/latest/shutdown-wait.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -############################################################################## -# -# This script will initiate a clean shutdown of the application, and -# then wait for the process to finish before returning. This is -# primarily intended for use in environments that provide an orderly -# shutdown mechanism, in particular the Kubernetes `preStop` hook. -# -# This script will wait for the process to exit indefinitely; however -# most run-time tools (including Docker and Kubernetes) have their own -# shutdown timeouts that will send a SIGKILL if the grace period is -# exceeded. -# -############################################################################## - -set -e - -source /opt/atlassian/support/common.sh - -echo "Shutting down Crowd..." -echo ${JVM_APP_PID} > ${CROWD_INSTALL_DIR}/apache-tomcat/work/catalina.pid - -if [[ "${UID}" == 0 ]]; then - /bin/su ${RUN_USER} -c ${CROWD_INSTALL_DIR}/stop_crowd.sh; -else - ${CROWD_INSTALL_DIR}/stop_crowd.sh; -fi - -/opt/atlassian/support/wait-pid.sh ${JVM_APP_PID} diff --git a/linux/ecosystem/atlassian/crucible/1/1.0.3/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.0.3/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.0.4/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.0.4/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.0/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.0/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.1.1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.1.1/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.1.2/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.1.2/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.1.3/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.1.3/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.1.4/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.1.4/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.1/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.2.1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.2.1/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.2.2/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.2.2/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.2.3/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.2.3/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.2/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.2/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.5.1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.5.1/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.5.2/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.5.2/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.5.3/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.5.3/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.5.4/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.5.4/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.5/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.5/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.0/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.0/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.0Beta1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.0Beta1/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.0Beta1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.0Beta1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.0Beta2/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.0Beta2/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.0Beta2/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.0Beta2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.1/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.2.1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.2.1/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.2/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.2/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.3/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.3/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.4/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.4/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.5.a/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.5.a/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.5.a/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.5.a/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.5/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.5/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.5a/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.5a/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.5a/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.5a/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/1/1.6.6/docker-compose.yml b/linux/ecosystem/atlassian/crucible/1/1.6.6/docker-compose.yml index efb445935..951236679 100644 --- a/linux/ecosystem/atlassian/crucible/1/1.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/1/1.6.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/crucible/templates/1/docker-compose.yml b/linux/ecosystem/atlassian/crucible/templates/1/docker-compose.yml index fb81cebaf..386c1ce26 100644 --- a/linux/ecosystem/atlassian/crucible/templates/1/docker-compose.yml +++ b/linux/ecosystem/atlassian/crucible/templates/1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/latest/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/latest/docker-compose.yml index a63e81d26..d1ca3a6a9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/latest/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:latest" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/templates/2/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/templates/2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/templates/3/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/templates/3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/templates/4/docker-compose.yml index b9ea58e4a..636dca024 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye-crucible/templates/4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye-crucible:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.0.1a/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.0.1a/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.0.1a/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.0.1a/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.1.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.1.3/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.2.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.2.5/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.3.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.3.3/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.3.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.3.4/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.3.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.3.5/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.3.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.3.6/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.3.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.3.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.3.7/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.3.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.3.8/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.3.8/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.3.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.4.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.4.1/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.4.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.4.2/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.4.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.4.3/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.4/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.5.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.5.1/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.5.2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.5.2/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.5.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.5.3/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.5.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.5.4/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.5/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.0/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta1/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta2/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta2/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.0Beta2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.1/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.3/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.4/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.5.a/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.5.a/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.5.a/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.5.a/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.5/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.5/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.5a/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.5a/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.5a/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.5a/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/1/1.6.6/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/1/1.6.6/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/1/1.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/1/1.6.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/fisheye/templates/1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye/templates/1/docker-compose.yml index 90f052b9c..03442d511 100644 --- a/linux/ecosystem/atlassian/fisheye/templates/1/docker-compose.yml +++ b/linux/ecosystem/atlassian/fisheye/templates/1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/fisheye:${RELEASE}" diff --git a/linux/ecosystem/atlassian/jira/10/10.0.0/.env b/linux/ecosystem/atlassian/jira/10/10.0.0/.env index 4e4458cfe..35a6997bb 100644 --- a/linux/ecosystem/atlassian/jira/10/10.0.0/.env +++ b/linux/ecosystem/atlassian/jira/10/10.0.0/.env @@ -1,2 +1,3 @@ RELEASE=10.0.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.0.0/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.0.0/Dockerfile index da1869508..779aa7fa4 100644 --- a/linux/ecosystem/atlassian/jira/10/10.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.0.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.0.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.0.0/docker-compose.yml index 4c704c67c..f8e09d121 100644 --- a/linux/ecosystem/atlassian/jira/10/10.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.0.0" diff --git a/linux/ecosystem/atlassian/jira/10/10.0.1/.env b/linux/ecosystem/atlassian/jira/10/10.0.1/.env index 46f3d651d..dcc8de8de 100644 --- a/linux/ecosystem/atlassian/jira/10/10.0.1/.env +++ b/linux/ecosystem/atlassian/jira/10/10.0.1/.env @@ -1,2 +1,3 @@ RELEASE=10.0.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.0.1/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.0.1/Dockerfile index 3313798b8..4df5e21b1 100644 --- a/linux/ecosystem/atlassian/jira/10/10.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.0.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.0.1/docker-compose.yml index 3f093b419..fd1bfc335 100644 --- a/linux/ecosystem/atlassian/jira/10/10.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.0.1" diff --git a/linux/ecosystem/atlassian/jira/10/10.1.1/.env b/linux/ecosystem/atlassian/jira/10/10.1.1/.env index 4840e56e2..2987509f1 100644 --- a/linux/ecosystem/atlassian/jira/10/10.1.1/.env +++ b/linux/ecosystem/atlassian/jira/10/10.1.1/.env @@ -1,2 +1,3 @@ RELEASE=10.1.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.1.1/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.1.1/Dockerfile index f782bb538..70c66e24b 100644 --- a/linux/ecosystem/atlassian/jira/10/10.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.1.1/docker-compose.yml index 8bfcd0370..5a91eab19 100644 --- a/linux/ecosystem/atlassian/jira/10/10.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.1.1" diff --git a/linux/ecosystem/atlassian/jira/10/10.1.2/.env b/linux/ecosystem/atlassian/jira/10/10.1.2/.env index 98cf0d81a..40240655f 100644 --- a/linux/ecosystem/atlassian/jira/10/10.1.2/.env +++ b/linux/ecosystem/atlassian/jira/10/10.1.2/.env @@ -1,2 +1,3 @@ RELEASE=10.1.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.1.2/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.1.2/Dockerfile index 475976a75..d7953e1dc 100644 --- a/linux/ecosystem/atlassian/jira/10/10.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.1.2/docker-compose.yml index 47952a1ab..c330afe6c 100644 --- a/linux/ecosystem/atlassian/jira/10/10.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.1.2" diff --git a/linux/ecosystem/atlassian/jira/10/10.2.0/.env b/linux/ecosystem/atlassian/jira/10/10.2.0/.env index 50557c03c..81871fb95 100644 --- a/linux/ecosystem/atlassian/jira/10/10.2.0/.env +++ b/linux/ecosystem/atlassian/jira/10/10.2.0/.env @@ -1,2 +1,3 @@ RELEASE=10.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.2.0/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.2.0/Dockerfile index 25c6a69c9..ec66b19b7 100644 --- a/linux/ecosystem/atlassian/jira/10/10.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.2.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.2.0/docker-compose.yml index 0ff2204f3..9646251fc 100644 --- a/linux/ecosystem/atlassian/jira/10/10.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.2.0" diff --git a/linux/ecosystem/atlassian/jira/10/10.2.1/.env b/linux/ecosystem/atlassian/jira/10/10.2.1/.env index 7e70dd928..098e5a417 100644 --- a/linux/ecosystem/atlassian/jira/10/10.2.1/.env +++ b/linux/ecosystem/atlassian/jira/10/10.2.1/.env @@ -1,2 +1,3 @@ RELEASE=10.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.2.1/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.2.1/Dockerfile index ad2e8acbc..cd4898884 100644 --- a/linux/ecosystem/atlassian/jira/10/10.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.2.1/docker-compose.yml index 6719d370f..54d37cca3 100644 --- a/linux/ecosystem/atlassian/jira/10/10.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.2.1" diff --git a/linux/ecosystem/atlassian/jira/10/10.3.0/.env b/linux/ecosystem/atlassian/jira/10/10.3.0/.env index a3fdae15b..85dbd0ab6 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.0/.env +++ b/linux/ecosystem/atlassian/jira/10/10.3.0/.env @@ -1,2 +1,3 @@ RELEASE=10.3.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.3.0/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.3.0/Dockerfile index ac871ac55..d93863702 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.3.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.3.0/docker-compose.yml index 74db35829..b718cd23e 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.3.0" diff --git a/linux/ecosystem/atlassian/jira/10/10.3.1/.env b/linux/ecosystem/atlassian/jira/10/10.3.1/.env index 3158aae1e..7eeb4c0c4 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.1/.env +++ b/linux/ecosystem/atlassian/jira/10/10.3.1/.env @@ -1,2 +1,3 @@ RELEASE=10.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.3.1/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.3.1/Dockerfile index 375d5129f..5e76e43f4 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.3.1/docker-compose.yml index a4b8e8358..fa52891db 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.3.1" diff --git a/linux/ecosystem/atlassian/jira/10/10.3.2/.env b/linux/ecosystem/atlassian/jira/10/10.3.2/.env index 4219e1519..36b7e4696 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.2/.env +++ b/linux/ecosystem/atlassian/jira/10/10.3.2/.env @@ -1,2 +1,3 @@ RELEASE=10.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.3.2/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.3.2/Dockerfile index 5e0956f66..58f60155e 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/10/10.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=10.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/10/10.3.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.3.2/docker-compose.yml index ead2727d3..cdafaab4e 100644 --- a/linux/ecosystem/atlassian/jira/10/10.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/10/10.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:10.3.2" diff --git a/linux/ecosystem/atlassian/jira/10/10.3.3/.env b/linux/ecosystem/atlassian/jira/10/10.3.3/.env new file mode 100644 index 000000000..aa8f82700 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.3/.env @@ -0,0 +1,3 @@ +RELEASE=10.3.3 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.3.3/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.3.3/Dockerfile new file mode 100644 index 000000000..09d881e17 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.3/Dockerfile @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=10.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/10/10.3.3/Makefile b/linux/ecosystem/atlassian/jira/10/10.3.3/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.3/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/jira/10/10.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.3.3/docker-compose.yml new file mode 100644 index 000000000..96ccd93a5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.3/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/jira:10.3.3" + build: + context: . + app-jdk17: + image: "epicmorg/jira:10.3.3-jdk17" + build: + context: . \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.3.3/entrypoint.sh b/linux/ecosystem/atlassian/jira/10/10.3.3/entrypoint.sh new file mode 100755 index 000000000..d87fa3063 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.3/entrypoint.sh @@ -0,0 +1,113 @@ +#!/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:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + +function set_home { + echo "Setting up JIRA_HOME.." + + if [ -z "$JIRA_HOME" ]; then + echo "Variable JIRA_HOME is empty. Aborting" + exit 1 + fi + + echo "JIRA_HOME is: ${JIRA_HOME}" + + echo "Patchig jira-application.properties" + sed -i "s|^jira\.home *=.*|jira.home = ${JIRA_HOME}|" ${JIRA_INSTALL_DIR}/atlassian-jira/WEB-INF/classes/jira-application.properties + +} + +# Start Jira 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" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + set_home + # Now drop privileges + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" + else + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/startup.sh $@" + fi +else + set_home + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" + else + exec "$JIRA_INSTALL_DIR/bin/startup.sh" "$@" + fi +fi diff --git a/linux/ecosystem/atlassian/jira/10/10.3.4/.env b/linux/ecosystem/atlassian/jira/10/10.3.4/.env new file mode 100644 index 000000000..8d4b9e1c2 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.4/.env @@ -0,0 +1,3 @@ +RELEASE=10.3.4 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.3.4/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.3.4/Dockerfile new file mode 100644 index 000000000..32742381a --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.4/Dockerfile @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=10.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/10/10.3.4/Makefile b/linux/ecosystem/atlassian/jira/10/10.3.4/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.4/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/jira/10/10.3.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.3.4/docker-compose.yml new file mode 100644 index 000000000..16406c0f8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.4/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/jira:10.3.4" + build: + context: . + app-jdk17: + image: "epicmorg/jira:10.3.4-jdk17" + build: + context: . \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.3.4/entrypoint.sh b/linux/ecosystem/atlassian/jira/10/10.3.4/entrypoint.sh new file mode 100755 index 000000000..d87fa3063 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.3.4/entrypoint.sh @@ -0,0 +1,113 @@ +#!/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:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + +function set_home { + echo "Setting up JIRA_HOME.." + + if [ -z "$JIRA_HOME" ]; then + echo "Variable JIRA_HOME is empty. Aborting" + exit 1 + fi + + echo "JIRA_HOME is: ${JIRA_HOME}" + + echo "Patchig jira-application.properties" + sed -i "s|^jira\.home *=.*|jira.home = ${JIRA_HOME}|" ${JIRA_INSTALL_DIR}/atlassian-jira/WEB-INF/classes/jira-application.properties + +} + +# Start Jira 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" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + set_home + # Now drop privileges + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" + else + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/startup.sh $@" + fi +else + set_home + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" + else + exec "$JIRA_INSTALL_DIR/bin/startup.sh" "$@" + fi +fi diff --git a/linux/ecosystem/atlassian/jira/10/10.4.0/.env b/linux/ecosystem/atlassian/jira/10/10.4.0/.env new file mode 100644 index 000000000..0d985bfeb --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.0/.env @@ -0,0 +1,3 @@ +RELEASE=10.4.0 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.4.0/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.4.0/Dockerfile new file mode 100644 index 000000000..25f44ebe0 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.0/Dockerfile @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=10.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/10/10.4.0/Makefile b/linux/ecosystem/atlassian/jira/10/10.4.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/jira/10/10.4.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.4.0/docker-compose.yml new file mode 100644 index 000000000..13df2a55a --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.0/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/jira:10.4.0" + build: + context: . + app-jdk17: + image: "epicmorg/jira:10.4.0-jdk17" + build: + context: . \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.4.0/entrypoint.sh b/linux/ecosystem/atlassian/jira/10/10.4.0/entrypoint.sh new file mode 100755 index 000000000..d87fa3063 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.0/entrypoint.sh @@ -0,0 +1,113 @@ +#!/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:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + +function set_home { + echo "Setting up JIRA_HOME.." + + if [ -z "$JIRA_HOME" ]; then + echo "Variable JIRA_HOME is empty. Aborting" + exit 1 + fi + + echo "JIRA_HOME is: ${JIRA_HOME}" + + echo "Patchig jira-application.properties" + sed -i "s|^jira\.home *=.*|jira.home = ${JIRA_HOME}|" ${JIRA_INSTALL_DIR}/atlassian-jira/WEB-INF/classes/jira-application.properties + +} + +# Start Jira 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" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + set_home + # Now drop privileges + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" + else + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/startup.sh $@" + fi +else + set_home + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" + else + exec "$JIRA_INSTALL_DIR/bin/startup.sh" "$@" + fi +fi diff --git a/linux/ecosystem/atlassian/jira/10/10.4.1/.env b/linux/ecosystem/atlassian/jira/10/10.4.1/.env new file mode 100644 index 000000000..5e843e65e --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.1/.env @@ -0,0 +1,3 @@ +RELEASE=10.4.1 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.4.1/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.4.1/Dockerfile new file mode 100644 index 000000000..d3012c3df --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.1/Dockerfile @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=10.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/10/10.4.1/Makefile b/linux/ecosystem/atlassian/jira/10/10.4.1/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.1/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/jira/10/10.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.4.1/docker-compose.yml new file mode 100644 index 000000000..9bedee593 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/jira:10.4.1" + build: + context: . + app-jdk17: + image: "epicmorg/jira:10.4.1-jdk17" + build: + context: . \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.4.1/entrypoint.sh b/linux/ecosystem/atlassian/jira/10/10.4.1/entrypoint.sh new file mode 100755 index 000000000..d87fa3063 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.4.1/entrypoint.sh @@ -0,0 +1,113 @@ +#!/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:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + +function set_home { + echo "Setting up JIRA_HOME.." + + if [ -z "$JIRA_HOME" ]; then + echo "Variable JIRA_HOME is empty. Aborting" + exit 1 + fi + + echo "JIRA_HOME is: ${JIRA_HOME}" + + echo "Patchig jira-application.properties" + sed -i "s|^jira\.home *=.*|jira.home = ${JIRA_HOME}|" ${JIRA_INSTALL_DIR}/atlassian-jira/WEB-INF/classes/jira-application.properties + +} + +# Start Jira 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" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + set_home + # Now drop privileges + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" + else + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/startup.sh $@" + fi +else + set_home + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" + else + exec "$JIRA_INSTALL_DIR/bin/startup.sh" "$@" + fi +fi diff --git a/linux/ecosystem/atlassian/jira/10/10.5.0/.env b/linux/ecosystem/atlassian/jira/10/10.5.0/.env new file mode 100644 index 000000000..5c2f02e20 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.5.0/.env @@ -0,0 +1,3 @@ +RELEASE=10.5.0 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.5.0/Dockerfile b/linux/ecosystem/atlassian/jira/10/10.5.0/Dockerfile new file mode 100644 index 000000000..73f19757d --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.5.0/Dockerfile @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=10.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/10/10.5.0/Makefile b/linux/ecosystem/atlassian/jira/10/10.5.0/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.5.0/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/jira/10/10.5.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/10/10.5.0/docker-compose.yml new file mode 100644 index 000000000..6ee29e9e9 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.5.0/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "epicmorg/jira:10.5.0" + build: + context: . + app-jdk17: + image: "epicmorg/jira:10.5.0-jdk17" + build: + context: . \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/10/10.5.0/entrypoint.sh b/linux/ecosystem/atlassian/jira/10/10.5.0/entrypoint.sh new file mode 100755 index 000000000..d87fa3063 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/10/10.5.0/entrypoint.sh @@ -0,0 +1,113 @@ +#!/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:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + +function set_home { + echo "Setting up JIRA_HOME.." + + if [ -z "$JIRA_HOME" ]; then + echo "Variable JIRA_HOME is empty. Aborting" + exit 1 + fi + + echo "JIRA_HOME is: ${JIRA_HOME}" + + echo "Patchig jira-application.properties" + sed -i "s|^jira\.home *=.*|jira.home = ${JIRA_HOME}|" ${JIRA_INSTALL_DIR}/atlassian-jira/WEB-INF/classes/jira-application.properties + +} + +# Start Jira 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" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + set_home + # Now drop privileges + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" + else + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/startup.sh $@" + fi +else + set_home + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" + else + exec "$JIRA_INSTALL_DIR/bin/startup.sh" "$@" + fi +fi diff --git a/linux/ecosystem/atlassian/jira/4/4.1.1/.env b/linux/ecosystem/atlassian/jira/4/4.1.1/.env index cedaae4dd..e6214812a 100644 --- a/linux/ecosystem/atlassian/jira/4/4.1.1/.env +++ b/linux/ecosystem/atlassian/jira/4/4.1.1/.env @@ -1,2 +1,3 @@ RELEASE=4.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/4/4.1.1/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.1.1/Dockerfile index b36e892e2..7e1b349d4 100644 --- a/linux/ecosystem/atlassian/jira/4/4.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.1.1/docker-compose.yml index fedcfb961..8538d1e33 100644 --- a/linux/ecosystem/atlassian/jira/4/4.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.1.1" diff --git a/linux/ecosystem/atlassian/jira/4/4.1.2/.env b/linux/ecosystem/atlassian/jira/4/4.1.2/.env index bb11758c6..c1183ca01 100644 --- a/linux/ecosystem/atlassian/jira/4/4.1.2/.env +++ b/linux/ecosystem/atlassian/jira/4/4.1.2/.env @@ -1,2 +1,3 @@ RELEASE=4.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/4/4.1.2/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.1.2/Dockerfile index d8995132d..dca6ff6d6 100644 --- a/linux/ecosystem/atlassian/jira/4/4.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.1.2/docker-compose.yml index 5a8855970..a5fa58cf5 100644 --- a/linux/ecosystem/atlassian/jira/4/4.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.1.2" diff --git a/linux/ecosystem/atlassian/jira/4/4.2.1/.env b/linux/ecosystem/atlassian/jira/4/4.2.1/.env index 30f67baec..12f63674e 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.1/.env +++ b/linux/ecosystem/atlassian/jira/4/4.2.1/.env @@ -1,2 +1,3 @@ RELEASE=4.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b588-standalone.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-b588-standalone.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/4/4.2.1/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.2.1/Dockerfile index 1dbdf7881..a3e4f4e6e 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b588-standalone.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-enterprise-${RELEASE}-b588-standalone.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.2.1/docker-compose.yml index a968fbe56..c2242daf6 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.2.1" diff --git a/linux/ecosystem/atlassian/jira/4/4.2.2/.env b/linux/ecosystem/atlassian/jira/4/4.2.2/.env index 83a2168dd..9a292be11 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.2/.env +++ b/linux/ecosystem/atlassian/jira/4/4.2.2/.env @@ -1,2 +1,3 @@ RELEASE=4.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b589-standalone.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-b589-standalone.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/4/4.2.2/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.2.2/Dockerfile index 5bb3d3183..c316823b1 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b589-standalone.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-enterprise-${RELEASE}-b589-standalone.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.2.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.2.2/docker-compose.yml index 471c343a7..019a86f71 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.2.2" diff --git a/linux/ecosystem/atlassian/jira/4/4.2.3/.env b/linux/ecosystem/atlassian/jira/4/4.2.3/.env index cdd409203..f0ab4f36f 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.3/.env +++ b/linux/ecosystem/atlassian/jira/4/4.2.3/.env @@ -1,2 +1,3 @@ RELEASE=4.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b590-standalone.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-b590-standalone.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/4/4.2.3/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.2.3/Dockerfile index fdd02204c..f1f54f9bb 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b590-standalone.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-enterprise-${RELEASE}-b590-standalone.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.2.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.2.3/docker-compose.yml index b1cd2e3c1..da33869f6 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.2.3" diff --git a/linux/ecosystem/atlassian/jira/4/4.2.4/.env b/linux/ecosystem/atlassian/jira/4/4.2.4/.env index dfe2424c5..cbc861d36 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.4/.env +++ b/linux/ecosystem/atlassian/jira/4/4.2.4/.env @@ -1,2 +1,3 @@ RELEASE=4.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b591-standalone.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-b591-standalone.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/4/4.2.4/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.2.4/Dockerfile index 7978ed785..8a8a6304f 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.2.4/Dockerfile @@ -7,6 +7,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-b591-standalone.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz + ################################################################## # Setup ################################################################## @@ -28,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-enterprise-${RELEASE}-b591-standalone.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.2.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.2.4/docker-compose.yml index 7938fdbfd..d87611c06 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.2.4" diff --git a/linux/ecosystem/atlassian/jira/4/4.2/.env b/linux/ecosystem/atlassian/jira/4/4.2/.env index 43399fdc4..de06ebebf 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2/.env +++ b/linux/ecosystem/atlassian/jira/4/4.2/.env @@ -1,2 +1,3 @@ RELEASE=4.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/4/4.2/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.2/Dockerfile index abccbb57d..13ee5940e 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-enterprise-${RELEASE}-standalone.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.2/docker-compose.yml index 08caabe5b..e55137d3f 100644 --- a/linux/ecosystem/atlassian/jira/4/4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.2" diff --git a/linux/ecosystem/atlassian/jira/4/4.3.1/.env b/linux/ecosystem/atlassian/jira/4/4.3.1/.env index a884e5933..b71006938 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.1/.env +++ b/linux/ecosystem/atlassian/jira/4/4.3.1/.env @@ -1,2 +1,3 @@ RELEASE=4.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.3.1/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.3.1/Dockerfile index ca8cdd035..852fa127f 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.3.1/docker-compose.yml index d132a91f8..8a1b3555f 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.3.1" diff --git a/linux/ecosystem/atlassian/jira/4/4.3.2/.env b/linux/ecosystem/atlassian/jira/4/4.3.2/.env index 30428b917..878d5b43d 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.2/.env +++ b/linux/ecosystem/atlassian/jira/4/4.3.2/.env @@ -1,2 +1,3 @@ RELEASE=4.3.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.3.2/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.3.2/Dockerfile index 800c3f83c..7d5098ebc 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.3.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.3.2/docker-compose.yml index ffc27ef23..57342ab7b 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.3.2" diff --git a/linux/ecosystem/atlassian/jira/4/4.3.3/.env b/linux/ecosystem/atlassian/jira/4/4.3.3/.env index b2c852603..05862b98d 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.3/.env +++ b/linux/ecosystem/atlassian/jira/4/4.3.3/.env @@ -1,2 +1,3 @@ RELEASE=4.3.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.3.3/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.3.3/Dockerfile index 1e3e1cce2..abcd89ac6 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.3.3/docker-compose.yml index 47f866b52..7c659c570 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.3.3" diff --git a/linux/ecosystem/atlassian/jira/4/4.3.4/.env b/linux/ecosystem/atlassian/jira/4/4.3.4/.env index 27f49cec5..8df37091d 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.4/.env +++ b/linux/ecosystem/atlassian/jira/4/4.3.4/.env @@ -1,2 +1,3 @@ RELEASE=4.3.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.3.4/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.3.4/Dockerfile index 500616392..3a3a4363a 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.3.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.3.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.3.4/docker-compose.yml index c00e7b309..684ec16f3 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.3.4" diff --git a/linux/ecosystem/atlassian/jira/4/4.3/.env b/linux/ecosystem/atlassian/jira/4/4.3/.env index 8a037d4cc..a5816e132 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3/.env +++ b/linux/ecosystem/atlassian/jira/4/4.3/.env @@ -1,2 +1,3 @@ RELEASE=4.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.3/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.3/Dockerfile index 0485a7721..8bb0689e2 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.3/docker-compose.yml index fcd70a074..1e3b06ef8 100644 --- a/linux/ecosystem/atlassian/jira/4/4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.3" diff --git a/linux/ecosystem/atlassian/jira/4/4.4.1/.env b/linux/ecosystem/atlassian/jira/4/4.4.1/.env index fc3f7e7d3..4389ae283 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.1/.env +++ b/linux/ecosystem/atlassian/jira/4/4.4.1/.env @@ -1,2 +1,3 @@ RELEASE=4.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.4.1/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.4.1/Dockerfile index 2961478a6..9ae71556d 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## @@ -30,7 +31,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.4.1/docker-compose.yml index 3831308a8..dbba71cf1 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.4.1" diff --git a/linux/ecosystem/atlassian/jira/4/4.4.3/.env b/linux/ecosystem/atlassian/jira/4/4.4.3/.env index a017303f9..735d37872 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.3/.env +++ b/linux/ecosystem/atlassian/jira/4/4.4.3/.env @@ -1,2 +1,3 @@ RELEASE=4.4.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.4.3/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.4.3/Dockerfile index 2bb6c1a71..710136a78 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.4.3/docker-compose.yml index bcaf6a4d0..4c4ec3504 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.4.3" diff --git a/linux/ecosystem/atlassian/jira/4/4.4.4/.env b/linux/ecosystem/atlassian/jira/4/4.4.4/.env index 8bcc45259..f8797b299 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.4/.env +++ b/linux/ecosystem/atlassian/jira/4/4.4.4/.env @@ -1,2 +1,3 @@ RELEASE=4.4.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.4.4/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.4.4/Dockerfile index 79ceb93bf..54ca038b0 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.4.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.4.4/docker-compose.yml index e715dfa2a..91acbc0ce 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.4.4" diff --git a/linux/ecosystem/atlassian/jira/4/4.4.5/.env b/linux/ecosystem/atlassian/jira/4/4.4.5/.env index 6054d60be..f5f6cbc66 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.5/.env +++ b/linux/ecosystem/atlassian/jira/4/4.4.5/.env @@ -1,2 +1,3 @@ RELEASE=4.4.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.4.5/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.4.5/Dockerfile index 4f1a284e1..b5cfd82c0 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.4.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.4.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.4.5/docker-compose.yml index d16fa835e..c2bca9049 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.4.5" diff --git a/linux/ecosystem/atlassian/jira/4/4.4/.env b/linux/ecosystem/atlassian/jira/4/4.4/.env index d9cccb536..273ca2b71 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4/.env +++ b/linux/ecosystem/atlassian/jira/4/4.4/.env @@ -1,2 +1,3 @@ RELEASE=4.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/4/4.4/Dockerfile b/linux/ecosystem/atlassian/jira/4/4.4/Dockerfile index 450e3fe28..cddd923ba 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/4/4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/4/4.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/4/4.4/docker-compose.yml index 28cf0296f..d076198d7 100644 --- a/linux/ecosystem/atlassian/jira/4/4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/4/4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:4.4" diff --git a/linux/ecosystem/atlassian/jira/5/5.0.1/.env b/linux/ecosystem/atlassian/jira/5/5.0.1/.env index 01b969565..179e1c4b9 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.1/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0.1/.env @@ -1,2 +1,3 @@ RELEASE=5.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0.1/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0.1/Dockerfile index 3e8ae6cda..e17e33345 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0.1/docker-compose.yml index 302ba8499..0f2a2499b 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0.1" diff --git a/linux/ecosystem/atlassian/jira/5/5.0.2/.env b/linux/ecosystem/atlassian/jira/5/5.0.2/.env index 8311d3d2d..243fa5dba 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.2/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0.2/.env @@ -1,2 +1,3 @@ RELEASE=5.0.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0.2/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0.2/Dockerfile index 1f3eefc07..cfba22077 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0.2/docker-compose.yml index 287f284a2..7bf24bbf1 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0.2" diff --git a/linux/ecosystem/atlassian/jira/5/5.0.3/.env b/linux/ecosystem/atlassian/jira/5/5.0.3/.env index b9e87aa9e..a8f3dc953 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.3/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0.3/.env @@ -1,2 +1,3 @@ RELEASE=5.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0.3/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0.3/Dockerfile index 406d2bcc3..8045dc275 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0.3/docker-compose.yml index 1504369f5..3f16cba92 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0.3" diff --git a/linux/ecosystem/atlassian/jira/5/5.0.4/.env b/linux/ecosystem/atlassian/jira/5/5.0.4/.env index e96c34cb8..385378c14 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.4/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0.4/.env @@ -1,2 +1,3 @@ RELEASE=5.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0.4/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0.4/Dockerfile index ff844842c..a23b44b48 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0.4/docker-compose.yml index cf4d56069..5ce3fb1c6 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0.4" diff --git a/linux/ecosystem/atlassian/jira/5/5.0.5/.env b/linux/ecosystem/atlassian/jira/5/5.0.5/.env index 6467d023f..5d427ffac 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.5/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0.5/.env @@ -1,2 +1,3 @@ RELEASE=5.0.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0.5/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0.5/Dockerfile index 8f5414842..40cb83c4a 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0.5/docker-compose.yml index 4bae01ed3..db2024d04 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0.5" diff --git a/linux/ecosystem/atlassian/jira/5/5.0.6/.env b/linux/ecosystem/atlassian/jira/5/5.0.6/.env index 0c37281e3..4776b56da 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.6/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0.6/.env @@ -1,2 +1,3 @@ RELEASE=5.0.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0.6/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0.6/Dockerfile index ca10f8cf9..1cbbadcfd 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0.6/docker-compose.yml index 3145209e4..cb866ff7b 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0.6" diff --git a/linux/ecosystem/atlassian/jira/5/5.0.7/.env b/linux/ecosystem/atlassian/jira/5/5.0.7/.env index 2ec22bfc8..a205c23a2 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.7/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0.7/.env @@ -1,2 +1,3 @@ RELEASE=5.0.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0.7/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0.7/Dockerfile index 881541242..6416f68d9 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0.7/docker-compose.yml index 47ac01ac9..fe0e090c8 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0.7" diff --git a/linux/ecosystem/atlassian/jira/5/5.0/.env b/linux/ecosystem/atlassian/jira/5/5.0/.env index fb98234df..1aa464fd2 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0/.env +++ b/linux/ecosystem/atlassian/jira/5/5.0/.env @@ -1,2 +1,3 @@ RELEASE=5.0 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.0/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.0/Dockerfile index 587ebfeb3..7d0105244 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.0/docker-compose.yml index 5a686b14a..8361e1e44 100644 --- a/linux/ecosystem/atlassian/jira/5/5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.0" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.1/.env b/linux/ecosystem/atlassian/jira/5/5.1.1/.env index ddd882056..0a8cec663 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.1/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.1/.env @@ -1,2 +1,3 @@ RELEASE=5.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.1/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.1/Dockerfile index 9a3966085..29e6c85ef 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.1/docker-compose.yml index c221eeb74..ada727999 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.1" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.2/.env b/linux/ecosystem/atlassian/jira/5/5.1.2/.env index 1fbfa6449..50bd0535e 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.2/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.2/.env @@ -1,2 +1,3 @@ RELEASE=5.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.2/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.2/Dockerfile index 64d01fc13..03b3daf20 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.2/docker-compose.yml index bb71d7f24..2a8a0951e 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.2" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.3/.env b/linux/ecosystem/atlassian/jira/5/5.1.3/.env index b00c86c25..26f58eb64 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.3/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.3/.env @@ -1,2 +1,3 @@ RELEASE=5.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.3/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.3/Dockerfile index 43e7c7bc8..f9723d0b4 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.3/docker-compose.yml index 8c4d39be2..eb198fcee 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.3" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.4/.env b/linux/ecosystem/atlassian/jira/5/5.1.4/.env index 28221f9a9..d22c3e472 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.4/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.4/.env @@ -1,2 +1,3 @@ RELEASE=5.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.4/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.4/Dockerfile index 9037da8db..edd014faa 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.4/docker-compose.yml index a0d9d3190..e21488bdc 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.4" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.5/.env b/linux/ecosystem/atlassian/jira/5/5.1.5/.env index 1d916e9ff..a1f24e6e5 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.5/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.5/.env @@ -1,2 +1,3 @@ RELEASE=5.1.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.5/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.5/Dockerfile index ddf40a25c..0005ba08f 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.5/docker-compose.yml index 43f369b39..46e0a8731 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.5" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.6/.env b/linux/ecosystem/atlassian/jira/5/5.1.6/.env index 4a7ec60af..b2573e735 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.6/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.6/.env @@ -1,2 +1,3 @@ RELEASE=5.1.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.6/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.6/Dockerfile index e28a813a0..a16da221e 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.6/docker-compose.yml index ad1f1094f..5c2f3bf69 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.6" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.7/.env b/linux/ecosystem/atlassian/jira/5/5.1.7/.env index e5bbeaba1..a0e66dd75 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.7/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.7/.env @@ -1,2 +1,3 @@ RELEASE=5.1.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.7/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.7/Dockerfile index a400f4f5c..a4fc02e72 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.7/docker-compose.yml index 41c797430..754fd08d0 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.7" diff --git a/linux/ecosystem/atlassian/jira/5/5.1.8/.env b/linux/ecosystem/atlassian/jira/5/5.1.8/.env index 8a7cac473..fb777c020 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.8/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1.8/.env @@ -1,2 +1,3 @@ RELEASE=5.1.8 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1.8/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1.8/Dockerfile index 085ae82ce..e04765b0b 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1.8/docker-compose.yml index f6042749e..d0c3250ec 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1.8" diff --git a/linux/ecosystem/atlassian/jira/5/5.1/.env b/linux/ecosystem/atlassian/jira/5/5.1/.env index c232bde26..cb0771234 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1/.env +++ b/linux/ecosystem/atlassian/jira/5/5.1/.env @@ -1,2 +1,3 @@ RELEASE=5.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.1/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.1/Dockerfile index 81cf1e5a9..fa76942e2 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.1/docker-compose.yml index 05ad7c938..9c3edd25f 100644 --- a/linux/ecosystem/atlassian/jira/5/5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.1" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.1/.env b/linux/ecosystem/atlassian/jira/5/5.2.1/.env index 5db18bb18..dcd5262d7 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.1/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.1/.env @@ -1,2 +1,3 @@ RELEASE=5.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile index f3498662f..d18153f42 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile.jdk7 index 39fb89e1b..b5caa7ab5 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.1/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.1/docker-compose.yml index c8f5a2e17..bfc7fc017 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.1" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.10/.env b/linux/ecosystem/atlassian/jira/5/5.2.10/.env index 0ce2963f4..c070f8ecd 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.10/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.10/.env @@ -1,2 +1,3 @@ RELEASE=5.2.10 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile index 59aefc83e..874f0620f 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile.jdk7 index bc8f8b2c1..6623e013c 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.10/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.10/docker-compose.yml index 91ded9f22..d43352178 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.10" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.11/.env b/linux/ecosystem/atlassian/jira/5/5.2.11/.env index 48a69a5b1..ffc177bfc 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.11/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.11/.env @@ -1,2 +1,3 @@ RELEASE=5.2.11 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile index 9bb1eb906..5331e54c7 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile.jdk7 index 33cc97827..7b8dc90f7 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.11/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.11/docker-compose.yml index ee0a6f6d5..7eb85b338 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.11" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.2/.env b/linux/ecosystem/atlassian/jira/5/5.2.2/.env index 00eba19d6..5c31d27c3 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.2/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.2/.env @@ -1,2 +1,3 @@ RELEASE=5.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile index 7c3f29306..addfc7053 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile.jdk7 index 90d8e9e13..0f57b0477 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.2/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.2/docker-compose.yml index a658912ce..97a8f63ac 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.2" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.3/.env b/linux/ecosystem/atlassian/jira/5/5.2.3/.env index 049ec16a1..052ea4123 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.3/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.3/.env @@ -1,2 +1,3 @@ RELEASE=5.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile index 6cf7a50e6..c359f6ebf 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile.jdk7 index 6109ba44d..c4eee589c 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.3/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.3/docker-compose.yml index a4115b348..32e731991 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.3" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4.1/.env b/linux/ecosystem/atlassian/jira/5/5.2.4.1/.env index 041a00fdb..ebfc99c84 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4.1/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.4.1/.env @@ -1,2 +1,3 @@ RELEASE=5.2.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile index 8fa6f5978..df6d32fbe 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile.jdk7 index 4e14c88aa..24c743df7 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.4.1/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.4.1/docker-compose.yml index 4d4383005..b0afef597 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.4.1" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4/.env b/linux/ecosystem/atlassian/jira/5/5.2.4/.env index b5c26f430..30d8164c5 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.4/.env @@ -1,2 +1,3 @@ RELEASE=5.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile index 8b379b946..5fae753cd 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile.jdk7 index e826c7d95..ddc28be80 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.4/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.4/docker-compose.yml index 4aacca675..a0d5c2bd7 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.4" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.5/.env b/linux/ecosystem/atlassian/jira/5/5.2.5/.env index ee3cdea1c..4d0e2ee8a 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.5/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.5/.env @@ -1,2 +1,3 @@ RELEASE=5.2.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile index a9516806f..c7a2daf5b 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile.jdk7 index 6e3a2f8e1..1b29dd1af 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.5/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.5/docker-compose.yml index 4eb3830cb..2eac6e6f8 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.5" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.6/.env b/linux/ecosystem/atlassian/jira/5/5.2.6/.env index f5ba00b0a..96064d0c2 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.6/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.6/.env @@ -1,2 +1,3 @@ RELEASE=5.2.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile index 9bc273b35..658f55de1 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile.jdk7 index 652360644..e77a6511f 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.6/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.6/docker-compose.yml index c21091a4a..58fd4ead2 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.6" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.7/.env b/linux/ecosystem/atlassian/jira/5/5.2.7/.env index fc61141f7..2f575f2b7 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.7/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.7/.env @@ -1,2 +1,3 @@ RELEASE=5.2.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile index bc5e499dc..514339227 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile.jdk7 index e4c6e44ed..c7de498c0 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.7/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.7/docker-compose.yml index 52ac7666e..dc3201b98 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.7" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.8/.env b/linux/ecosystem/atlassian/jira/5/5.2.8/.env index 4dc994f1d..4102921b8 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.8/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.8/.env @@ -1,2 +1,3 @@ RELEASE=5.2.8 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile index 5a10a9011..9e3018d76 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile.jdk7 index bea167d45..30b6e474b 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.8/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.8/docker-compose.yml index 031938834..709e3168f 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.8" diff --git a/linux/ecosystem/atlassian/jira/5/5.2.9/.env b/linux/ecosystem/atlassian/jira/5/5.2.9/.env index 3542c6b1b..9219d5da3 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.9/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2.9/.env @@ -1,2 +1,3 @@ RELEASE=5.2.9 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile index 6669cfca4..75d1ecee2 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile.jdk7 index 42bd61dc3..1964d4a3c 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2.9/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2.9/docker-compose.yml index daa22902e..982980a07 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2.9" diff --git a/linux/ecosystem/atlassian/jira/5/5.2/.env b/linux/ecosystem/atlassian/jira/5/5.2/.env index 60172beca..5a4f0b441 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2/.env +++ b/linux/ecosystem/atlassian/jira/5/5.2/.env @@ -1,2 +1,3 @@ RELEASE=5.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile b/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile index f0de76845..c4fee14be 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile.jdk7 index e94bbeb8f..c05dd9a98 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile.jdk7 +++ b/linux/ecosystem/atlassian/jira/5/5.2/Dockerfile.jdk7 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/5/5.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/5/5.2/docker-compose.yml index 711ea348f..23ccfc9e2 100644 --- a/linux/ecosystem/atlassian/jira/5/5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/5/5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:5.2" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.1/.env b/linux/ecosystem/atlassian/jira/6/6.0.1/.env index a6da8a20f..68d260f4d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.1/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.1/.env @@ -1,2 +1,3 @@ RELEASE=6.0.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.1/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.1/Dockerfile index ba58a13a4..74e331f2a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.1/docker-compose.yml index 11e4330dd..727588014 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.1" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.2/.env b/linux/ecosystem/atlassian/jira/6/6.0.2/.env index 95ecdcfae..fba310f1a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.2/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.2/.env @@ -1,2 +1,3 @@ RELEASE=6.0.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.2/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.2/Dockerfile index b69ea8330..f75d0713f 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.2/docker-compose.yml index 1903f7091..093c11293 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.2" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.3/.env b/linux/ecosystem/atlassian/jira/6/6.0.3/.env index 184993152..19a65232b 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.3/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.3/.env @@ -1,2 +1,3 @@ RELEASE=6.0.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.3/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.3/Dockerfile index bf09751ec..41b8b05df 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.3/docker-compose.yml index 8171526a4..0af601561 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.3" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.4/.env b/linux/ecosystem/atlassian/jira/6/6.0.4/.env index e8c6d6d57..0ee3f07ae 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.4/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.4/.env @@ -1,2 +1,3 @@ RELEASE=6.0.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.4/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.4/Dockerfile index c109ecdb3..561274016 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.4/docker-compose.yml index cd1067fe2..86f5aac86 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.4" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.5/.env b/linux/ecosystem/atlassian/jira/6/6.0.5/.env index 1f292ee50..4a8fc75a5 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.5/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.5/.env @@ -1,2 +1,3 @@ RELEASE=6.0.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.5/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.5/Dockerfile index d3b17846b..67d6f7076 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.5/docker-compose.yml index 26e214b55..a6f99fd74 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.5" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.6/.env b/linux/ecosystem/atlassian/jira/6/6.0.6/.env index be49bf0b5..a3dac0d8c 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.6/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.6/.env @@ -1,2 +1,3 @@ RELEASE=6.0.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.6/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.6/Dockerfile index 1d2d733d4..728d849a8 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.6/docker-compose.yml index dde920d15..48a86cb29 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.6" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.7/.env b/linux/ecosystem/atlassian/jira/6/6.0.7/.env index 573164540..f761ad2c6 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.7/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.7/.env @@ -1,2 +1,3 @@ RELEASE=6.0.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.7/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.7/Dockerfile index d79b9f610..39749fc15 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.7/docker-compose.yml index 5d369a099..74472b45d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.7" diff --git a/linux/ecosystem/atlassian/jira/6/6.0.8/.env b/linux/ecosystem/atlassian/jira/6/6.0.8/.env index 3f357b7cb..8c2dfe2e5 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.8/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0.8/.env @@ -1,2 +1,3 @@ RELEASE=6.0.8 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0.8/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0.8/Dockerfile index 894a9d46c..7bff9f9b8 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0.8/docker-compose.yml index e2f0e53c5..15bc046a1 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0.8" diff --git a/linux/ecosystem/atlassian/jira/6/6.0/.env b/linux/ecosystem/atlassian/jira/6/6.0/.env index aba28bdce..0aeceb1e3 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0/.env +++ b/linux/ecosystem/atlassian/jira/6/6.0/.env @@ -1,2 +1,3 @@ RELEASE=6.0 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.0/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.0/Dockerfile index c6d607a78..fd7273fd2 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.0/docker-compose.yml index 600dfd184..02bfc95a3 100644 --- a/linux/ecosystem/atlassian/jira/6/6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.0" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.1/.env b/linux/ecosystem/atlassian/jira/6/6.1.1/.env index 80be08349..10acbb88b 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.1/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.1/.env @@ -1,2 +1,3 @@ RELEASE=6.1.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.1/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.1/Dockerfile index f3147a8d2..f2adff183 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.1/docker-compose.yml index d8cec83d3..946331604 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.1" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.2/.env b/linux/ecosystem/atlassian/jira/6/6.1.2/.env index 3e3fcc97d..c4e44dc0d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.2/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.2/.env @@ -1,2 +1,3 @@ RELEASE=6.1.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.2/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.2/Dockerfile index 2d4aa17b3..52f58da13 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.2/docker-compose.yml index 6b08ffbfe..9de6e813a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.2" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.3/.env b/linux/ecosystem/atlassian/jira/6/6.1.3/.env index 2e92a08eb..8ca1703bf 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.3/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.3/.env @@ -1,2 +1,3 @@ RELEASE=6.1.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.3/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.3/Dockerfile index a226c2601..4810b1167 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.3/docker-compose.yml index 9caf26ad1..7ffed4316 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.3" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.4/.env b/linux/ecosystem/atlassian/jira/6/6.1.4/.env index bebccbe9d..35ea51c8d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.4/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.4/.env @@ -1,2 +1,3 @@ RELEASE=6.1.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.4/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.4/Dockerfile index 915d85abf..40e39d218 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.4/docker-compose.yml index bf5f68c87..ff0390e37 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.4" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.5/.env b/linux/ecosystem/atlassian/jira/6/6.1.5/.env index cc17de32d..da8366f2b 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.5/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.5/.env @@ -1,2 +1,3 @@ RELEASE=6.1.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.5/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.5/Dockerfile index da86e37b7..81a952788 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.5/docker-compose.yml index e3802f750..3dfd32330 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.5" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.6/.env b/linux/ecosystem/atlassian/jira/6/6.1.6/.env index f6ad4ed08..053723949 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.6/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.6/.env @@ -1,2 +1,3 @@ RELEASE=6.1.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.6/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.6/Dockerfile index d46211f5f..0c55cf8b5 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.6/docker-compose.yml index c89a01f5f..9069ee55c 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.6" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.7/.env b/linux/ecosystem/atlassian/jira/6/6.1.7/.env index 7879c169d..3f6c5d6d0 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.7/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.7/.env @@ -1,2 +1,3 @@ RELEASE=6.1.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.7/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.7/Dockerfile index 9c0b12af0..2e5558048 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.7/docker-compose.yml index c0613d4b6..24dd218a5 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.7" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.8/.env b/linux/ecosystem/atlassian/jira/6/6.1.8/.env index 9102cf428..94db5581c 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.8/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.8/.env @@ -1,2 +1,3 @@ RELEASE=6.1.8 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.8/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.8/Dockerfile index eb6bb8d70..68572d045 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.8/docker-compose.yml index c931ba9b7..62e432c16 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.8" diff --git a/linux/ecosystem/atlassian/jira/6/6.1.9/.env b/linux/ecosystem/atlassian/jira/6/6.1.9/.env index eb027ee6b..f7220d57f 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.9/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1.9/.env @@ -1,2 +1,3 @@ RELEASE=6.1.9 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1.9/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1.9/Dockerfile index 2efadb989..61eed145c 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1.9/docker-compose.yml index a2ce6807a..b926aa9e7 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1.9" diff --git a/linux/ecosystem/atlassian/jira/6/6.1/.env b/linux/ecosystem/atlassian/jira/6/6.1/.env index 9badf5580..d8c798be2 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1/.env +++ b/linux/ecosystem/atlassian/jira/6/6.1/.env @@ -1,2 +1,3 @@ RELEASE=6.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.1/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.1/Dockerfile index bc8d3fb93..e17ba3775 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.1/docker-compose.yml index 947a6d7bb..1ee7f1107 100644 --- a/linux/ecosystem/atlassian/jira/6/6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.1" diff --git a/linux/ecosystem/atlassian/jira/6/6.2.1/.env b/linux/ecosystem/atlassian/jira/6/6.2.1/.env index 9fab6f650..6708a3b97 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.1/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2.1/.env @@ -1,2 +1,3 @@ RELEASE=6.2.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2.1/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2.1/Dockerfile index bd3b10f23..88ff77abb 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2.1/docker-compose.yml index 06b06826d..8423b8000 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2.1" diff --git a/linux/ecosystem/atlassian/jira/6/6.2.2/.env b/linux/ecosystem/atlassian/jira/6/6.2.2/.env index 082a97bce..09691b6c6 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.2/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2.2/.env @@ -1,2 +1,3 @@ RELEASE=6.2.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2.2/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2.2/Dockerfile index cdb3e51d3..fcb1e6e52 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2.2/docker-compose.yml index 6e5c2eb74..12ec3d7a2 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2.2" diff --git a/linux/ecosystem/atlassian/jira/6/6.2.3/.env b/linux/ecosystem/atlassian/jira/6/6.2.3/.env index 929e430ff..30dd8adda 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.3/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2.3/.env @@ -1,2 +1,3 @@ RELEASE=6.2.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2.3/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2.3/Dockerfile index 2002ae185..5be94e8aa 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2.3/docker-compose.yml index 0a15b8285..4ddc1a861 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2.3" diff --git a/linux/ecosystem/atlassian/jira/6/6.2.4/.env b/linux/ecosystem/atlassian/jira/6/6.2.4/.env index e0560d66d..6f16e24a1 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.4/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2.4/.env @@ -1,2 +1,3 @@ RELEASE=6.2.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2.4/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2.4/Dockerfile index e620bbaa9..03050ad3f 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2.4/docker-compose.yml index 87e973746..355ff892d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2.4" diff --git a/linux/ecosystem/atlassian/jira/6/6.2.5/.env b/linux/ecosystem/atlassian/jira/6/6.2.5/.env index 6c57d9ae0..2cd37e488 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.5/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2.5/.env @@ -1,2 +1,3 @@ RELEASE=6.2.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2.5/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2.5/Dockerfile index 87879cd7c..475cb2e71 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2.5/docker-compose.yml index ef934e185..2137b1131 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2.5" diff --git a/linux/ecosystem/atlassian/jira/6/6.2.6/.env b/linux/ecosystem/atlassian/jira/6/6.2.6/.env index 639bcf8f1..e24f5873b 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.6/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2.6/.env @@ -1,2 +1,3 @@ RELEASE=6.2.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2.6/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2.6/Dockerfile index 79d527cb1..2b21dc0ed 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2.6/docker-compose.yml index bbb10acff..5ac4686e7 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2.6" diff --git a/linux/ecosystem/atlassian/jira/6/6.2.7/.env b/linux/ecosystem/atlassian/jira/6/6.2.7/.env index 3a249dfe5..0290e52e8 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.7/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2.7/.env @@ -1,2 +1,3 @@ RELEASE=6.2.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2.7/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2.7/Dockerfile index a4cf1e630..41dbcad15 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2.7/docker-compose.yml index 13169bf29..ca2817298 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2.7" diff --git a/linux/ecosystem/atlassian/jira/6/6.2/.env b/linux/ecosystem/atlassian/jira/6/6.2/.env index f8d3db271..a165f99cd 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2/.env +++ b/linux/ecosystem/atlassian/jira/6/6.2/.env @@ -1,2 +1,3 @@ RELEASE=6.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.2/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.2/Dockerfile index 0cf88fae4..c5a48a457 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.2/docker-compose.yml index e953e9712..6e8f29eb9 100644 --- a/linux/ecosystem/atlassian/jira/6/6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.2" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.1/.env b/linux/ecosystem/atlassian/jira/6/6.3.1/.env index b6a29b09e..4a6c1e240 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.1/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.1/.env @@ -1,2 +1,3 @@ RELEASE=6.3.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile index 04f84f001..bd42f6eea 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile.jdk8 index 24fe7bdb3..3b618fd56 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.1/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.1/docker-compose.yml index 9b5fc923a..39cea0acb 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.1" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.10/.env b/linux/ecosystem/atlassian/jira/6/6.3.10/.env index a415347f7..b140ce90e 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.10/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.10/.env @@ -1,2 +1,3 @@ RELEASE=6.3.10 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile index e7392f3fb..2274b3ec0 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile.jdk8 index efbea1e8c..44b5b2647 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.10/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.10/docker-compose.yml index 8bfcb94ec..a20ad57d4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.10" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.11/.env b/linux/ecosystem/atlassian/jira/6/6.3.11/.env index 36ee2a63f..db1a2bc6b 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.11/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.11/.env @@ -1,2 +1,3 @@ RELEASE=6.3.11 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile index 40c0a0f12..700daeff1 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile.jdk8 index 81ffe117a..57d072245 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.11/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.11/docker-compose.yml index c8d3796d4..99d3f90bf 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.11" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.12/.env b/linux/ecosystem/atlassian/jira/6/6.3.12/.env index 86f047ba5..f8c51e0af 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.12/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.12/.env @@ -1,2 +1,3 @@ RELEASE=6.3.12 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile index 630aae213..df2f99e87 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile.jdk8 index 53230b5e2..680273e2d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.12/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.12/docker-compose.yml index 237ec59c1..d81c61fa1 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.12" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.13/.env b/linux/ecosystem/atlassian/jira/6/6.3.13/.env index be176488f..3a486f8f3 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.13/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.13/.env @@ -1,2 +1,3 @@ RELEASE=6.3.13 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile index 4fa2ad21d..77140ad0d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile.jdk8 index 8ad77210c..24ba4310d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.13/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.13/docker-compose.yml index 0a2d5cc28..e5ac910d6 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.13" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.14/.env b/linux/ecosystem/atlassian/jira/6/6.3.14/.env index 3854f4296..681a6ce66 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.14/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.14/.env @@ -1,2 +1,3 @@ RELEASE=6.3.14 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile index 6500fb78c..39e8f0bb7 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile.jdk8 index 7f1d194b0..57c434947 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.14/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.14/docker-compose.yml index 0457ea6d7..7c5e68a90 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.14" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.15/.env b/linux/ecosystem/atlassian/jira/6/6.3.15/.env index 42477afea..b7f0a8538 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.15/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.15/.env @@ -1,2 +1,3 @@ RELEASE=6.3.15 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile index c386ec30e..e4a448f26 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile.jdk8 index 9910589c2..c31ee92c4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.15/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.15/docker-compose.yml index f878287ab..4e750b914 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.15" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.3/.env b/linux/ecosystem/atlassian/jira/6/6.3.3/.env index 13db10191..9884831bc 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.3/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.3/.env @@ -1,2 +1,3 @@ RELEASE=6.3.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile index fb183c9a1..a03d8e5a2 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile.jdk8 index db49eed67..8723209bd 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.3/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.3/docker-compose.yml index 15fb841c8..6dfef352a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.3" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.4/.env b/linux/ecosystem/atlassian/jira/6/6.3.4/.env index 3650bacd8..cdae75ddd 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.4/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.4/.env @@ -1,2 +1,3 @@ RELEASE=6.3.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile index 0d70c3d72..fcb15f450 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile.jdk8 index 5ec79657f..87347ad3f 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.4/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.4/docker-compose.yml index f427a56af..1582016fa 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.4" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.5/.env b/linux/ecosystem/atlassian/jira/6/6.3.5/.env index db0088eac..772fd0a17 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.5/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.5/.env @@ -1,2 +1,3 @@ RELEASE=6.3.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile index c93922f86..5dd42c755 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile.jdk8 index a3f7a7440..dd230dcb4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.5/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.5/docker-compose.yml index a11e96630..159ed76b1 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.5" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.6/.env b/linux/ecosystem/atlassian/jira/6/6.3.6/.env index e1ac240c7..48e8dbccd 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.6/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.6/.env @@ -1,2 +1,3 @@ RELEASE=6.3.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile index e5a5fd4ea..a1fc01528 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile.jdk8 index ec0d82b64..629a24836 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.6/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.6/docker-compose.yml index b951f3357..75901cb0d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.6" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.7/.env b/linux/ecosystem/atlassian/jira/6/6.3.7/.env index 767bf079a..067d23ae7 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.7/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.7/.env @@ -1,2 +1,3 @@ RELEASE=6.3.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile index a153ebd51..ab81d8a58 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile.jdk8 index a3cbdeb55..b6cff32b4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.7/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.7/docker-compose.yml index 137a698c0..21cb2762a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.7" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.8/.env b/linux/ecosystem/atlassian/jira/6/6.3.8/.env index a3e7b1c77..8c20d9256 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.8/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.8/.env @@ -1,2 +1,3 @@ RELEASE=6.3.8 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile index 2c2fe866b..7faeaf728 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile.jdk8 index 02d1b3179..1b8ab2726 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.8/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.8/docker-compose.yml index d10742dcc..a24151490 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.8" diff --git a/linux/ecosystem/atlassian/jira/6/6.3.9/.env b/linux/ecosystem/atlassian/jira/6/6.3.9/.env index eb84ce6a0..d7795aa06 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.9/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3.9/.env @@ -1,2 +1,3 @@ RELEASE=6.3.9 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile index 53cf8d6a3..4844f3df4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile.jdk8 index d7fb29d28..9a682391c 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3.9/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3.9/docker-compose.yml index a9ad1828a..d23177527 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3.9" diff --git a/linux/ecosystem/atlassian/jira/6/6.3/.env b/linux/ecosystem/atlassian/jira/6/6.3/.env index 46b858b36..4a3b6e2f9 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3/.env +++ b/linux/ecosystem/atlassian/jira/6/6.3/.env @@ -1,2 +1,3 @@ RELEASE=6.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile index 520d7587d..5ebee0cf6 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile.jdk8 index fce80ba22..f22148cf4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.3/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.3/docker-compose.yml index fbc31d6ca..a5fb9a85a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.3" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.1/.env b/linux/ecosystem/atlassian/jira/6/6.4.1/.env index f159ebeab..7fabc9998 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.1/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.1/.env @@ -1,2 +1,3 @@ RELEASE=6.4.1 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile index 861d173c0..8e948ddb7 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile.jdk8 index ca6a316ef..9a33348ba 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.1/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.1/docker-compose.yml index 52b4802ec..2f16cccc8 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.1" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.10/.env b/linux/ecosystem/atlassian/jira/6/6.4.10/.env index 44934acf4..cc4ffdcc0 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.10/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.10/.env @@ -1,2 +1,3 @@ RELEASE=6.4.10 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile index aa2e2919a..35bd3ab82 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile.jdk8 index 7dc250667..21a555153 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.10/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.10/docker-compose.yml index a4425974b..ac04193c2 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.10" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.11/.env b/linux/ecosystem/atlassian/jira/6/6.4.11/.env index e13fc4d1a..d24f874fd 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.11/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.11/.env @@ -1,2 +1,3 @@ RELEASE=6.4.11 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile index b5edb56ad..dbd29ae60 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile.jdk8 index c00491263..baea75a37 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.11/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.11/docker-compose.yml index a046c71de..51b2125c3 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.11" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.12/.env b/linux/ecosystem/atlassian/jira/6/6.4.12/.env index 7ec0143e3..809d15d56 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.12/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.12/.env @@ -1,2 +1,3 @@ RELEASE=6.4.12 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile index fd29470ad..c9332b6d3 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile.jdk8 index 1766669fd..fb4c77644 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.12/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.12/docker-compose.yml index 1ba4c4dec..cb9a181cf 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.12" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.13/.env b/linux/ecosystem/atlassian/jira/6/6.4.13/.env index 19a775d73..693237617 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.13/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.13/.env @@ -1,2 +1,3 @@ RELEASE=6.4.13 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile index b88a6a23f..415bcb13a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile.jdk8 index 2fa0752a6..6a736365d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.13/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.13/docker-compose.yml index 3f7ebb30b..19235dd62 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.13" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.14/.env b/linux/ecosystem/atlassian/jira/6/6.4.14/.env index 10ca96802..df56c88ef 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.14/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.14/.env @@ -1,2 +1,3 @@ RELEASE=6.4.14 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile index c3b6392c0..3249d17d5 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile.jdk8 index 168b4f1ef..86b5a5162 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.14/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.14/docker-compose.yml index 692c90e0a..aa38e98f0 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.14" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.2/.env b/linux/ecosystem/atlassian/jira/6/6.4.2/.env index 89c20d325..6c4e8c602 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.2/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.2/.env @@ -1,2 +1,3 @@ RELEASE=6.4.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile index 68e7d4687..a2fae24e8 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile.jdk8 index f5702d453..12b20b1d4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.2/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.2/docker-compose.yml index 8174e3eff..c409cdc51 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.2" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.3/.env b/linux/ecosystem/atlassian/jira/6/6.4.3/.env index e42359e65..ca15fbb70 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.3/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.3/.env @@ -1,2 +1,3 @@ RELEASE=6.4.3 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile index dff76d19c..03b09e90a 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile.jdk8 index f1a38356a..71d546c3d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.3/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.3/docker-compose.yml index f05b7db21..cbd357498 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.3" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.4/.env b/linux/ecosystem/atlassian/jira/6/6.4.4/.env index bef85f1c6..24df52971 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.4/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.4/.env @@ -1,2 +1,3 @@ RELEASE=6.4.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile index acf5f0878..cdf3c01f1 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile.jdk8 index 02edebebf..23c3e6472 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.4/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.4/docker-compose.yml index 10ab781b8..81d0f445e 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.4" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.5/.env b/linux/ecosystem/atlassian/jira/6/6.4.5/.env index 5fdf4059f..95b8baac1 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.5/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.5/.env @@ -1,2 +1,3 @@ RELEASE=6.4.5 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile index 6f9116466..859108e35 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile.jdk8 index 5c9a96a27..980d856e2 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.5/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.5/docker-compose.yml index c10e3a167..597dedabe 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.5" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.6/.env b/linux/ecosystem/atlassian/jira/6/6.4.6/.env index c44b6d916..915ef0ec4 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.6/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.6/.env @@ -1,2 +1,3 @@ RELEASE=6.4.6 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile index ebda34571..9495d0657 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile.jdk8 index ac19ede40..9b43eb916 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.6/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.6/docker-compose.yml index 726de7ed4..94c51c1fa 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.6" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.7/.env b/linux/ecosystem/atlassian/jira/6/6.4.7/.env index 889ece040..478b53434 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.7/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.7/.env @@ -1,2 +1,3 @@ RELEASE=6.4.7 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile index 13e548603..2100b10ea 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile.jdk8 index 708f5f96c..0d72427c0 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.7/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.7/docker-compose.yml index 7246691bc..c21947c94 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.7" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.8/.env b/linux/ecosystem/atlassian/jira/6/6.4.8/.env index aa1465426..32b417760 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.8/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.8/.env @@ -1,2 +1,3 @@ RELEASE=6.4.8 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile index 269a14d10..6768820fa 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile.jdk8 index 49330902e..7cbb09c9c 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.8/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.8/docker-compose.yml index d56b91397..25f461dec 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.8" diff --git a/linux/ecosystem/atlassian/jira/6/6.4.9/.env b/linux/ecosystem/atlassian/jira/6/6.4.9/.env index c8a8e1444..4dd72dd65 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.9/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4.9/.env @@ -1,2 +1,3 @@ RELEASE=6.4.9 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile index 89c2e8c6e..403c1b051 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile.jdk8 index 220d24f15..e7fb843ba 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4.9/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4.9/docker-compose.yml index 6a8030030..8e6c5665d 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4.9" diff --git a/linux/ecosystem/atlassian/jira/6/6.4/.env b/linux/ecosystem/atlassian/jira/6/6.4/.env index d0687d8d9..ea633b95f 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4/.env +++ b/linux/ecosystem/atlassian/jira/6/6.4/.env @@ -1,2 +1,3 @@ RELEASE=6.4 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile b/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile index 1c620f957..7ee5a4a11 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile.jdk8 b/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile.jdk8 index d964182be..899b92037 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile.jdk8 +++ b/linux/ecosystem/atlassian/jira/6/6.4/Dockerfile.jdk8 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/6/6.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/6/6.4/docker-compose.yml index 94b8b36f9..fd803cfe9 100644 --- a/linux/ecosystem/atlassian/jira/6/6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/6/6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:6.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml index efa8a4582..f203f1572 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.0.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml index c00c0e5d6..a7f528128 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.0.10" diff --git a/linux/ecosystem/atlassian/jira/7/7.0.11/.env b/linux/ecosystem/atlassian/jira/7/7.0.11/.env index ec20a07a0..64cf1385e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.11/.env +++ b/linux/ecosystem/atlassian/jira/7/7.0.11/.env @@ -1,2 +1,3 @@ RELEASE=7.0.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.0.11/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.0.11/Dockerfile index 7b768d1af..ccb58ffff 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.0.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.0.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml index 4afe55a5e..019072167 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.0.11" diff --git a/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml index 19a6e0e60..c76657d8a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.0.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml index c7a90b191..8fd9fc398 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.0.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml index 75ea3bded..c9e66297d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.0.5" diff --git a/linux/ecosystem/atlassian/jira/7/7.0.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.9/docker-compose.yml index 21b322779..45ebe6376 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:${RELEASE}" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.0-m01/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.0-m01/docker-compose.yml index 21b322779..45ebe6376 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.0-m01/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.0-m01/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/jira:${RELEASE}" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml index 9717d4588..d1c271c05 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml index 0b95c28d7..dfd90cae4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.10/.env b/linux/ecosystem/atlassian/jira/7/7.1.10/.env index fe2d05c76..aea88ad84 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.10/.env +++ b/linux/ecosystem/atlassian/jira/7/7.1.10/.env @@ -1,2 +1,3 @@ RELEASE=7.1.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.1.10/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.1.10/Dockerfile index 33467241c..7d523cb71 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.1.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml index c34b41fd0..b234e0d81 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.10" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml index 9f91adc9f..61cf6640a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml index f169fd869..e50b71da9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml index 19fc28403..dd1fc22dc 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.6" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml index e3350a039..915994870 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.7" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml index ebe2068d8..efbcc53e5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.8" diff --git a/linux/ecosystem/atlassian/jira/7/7.1.9/.env b/linux/ecosystem/atlassian/jira/7/7.1.9/.env index 7881fe2ce..4f209c5b7 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.9/.env +++ b/linux/ecosystem/atlassian/jira/7/7.1.9/.env @@ -1,2 +1,3 @@ RELEASE=7.1.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.1.9/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.1.9/Dockerfile index ad7a00f7f..899e9d79e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.1.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.1.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml index e9a75aa5d..97da9d61a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.1.9" diff --git a/linux/ecosystem/atlassian/jira/7/7.10.0/.env b/linux/ecosystem/atlassian/jira/7/7.10.0/.env index 8d5ed0656..c61ce2007 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.10.0/.env @@ -1,2 +1,3 @@ RELEASE=7.10.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.10.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.10.0/Dockerfile index 224d32bb4..cbdb215f8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml index bc4f2396b..73f7db874 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.10.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.10.1/.env b/linux/ecosystem/atlassian/jira/7/7.10.1/.env index 51666ec05..8505557de 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.10.1/.env @@ -1,2 +1,3 @@ RELEASE=7.10.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.10.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.10.1/Dockerfile index 146287631..b93b47a4b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml index b899d702c..b2b58b992 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.10.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.10.2/.env b/linux/ecosystem/atlassian/jira/7/7.10.2/.env index 47f7350d5..94fa246b0 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.10.2/.env @@ -1,2 +1,3 @@ RELEASE=7.10.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.10.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.10.2/Dockerfile index 780f184cd..f3f61e4b2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml index 24762cb50..bf3718e01 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.10.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.11.0/.env b/linux/ecosystem/atlassian/jira/7/7.11.0/.env index 3506f82d1..043f25a7f 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.11.0/.env @@ -1,2 +1,3 @@ RELEASE=7.11.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.11.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.11.0/Dockerfile index b94f8dba8..fb0039540 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.11.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml index f2e12064d..1975b65c6 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.11.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.11.1/.env b/linux/ecosystem/atlassian/jira/7/7.11.1/.env index 26453513f..03cea9039 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.11.1/.env @@ -1,2 +1,3 @@ RELEASE=7.11.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.11.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.11.1/Dockerfile index 4d9aef94d..313b40aa4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml index c1e048127..6367406e7 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.11.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.11.2/.env b/linux/ecosystem/atlassian/jira/7/7.11.2/.env index d9df46463..1351300ca 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.11.2/.env @@ -1,2 +1,3 @@ RELEASE=7.11.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.11.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.11.2/Dockerfile index 2f9b10ff2..93df91133 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.11.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml index 8a6a56c6a..860c179c6 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.11.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.12.0/.env b/linux/ecosystem/atlassian/jira/7/7.12.0/.env index c772862dc..f8807a075 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.12.0/.env @@ -1,2 +1,3 @@ RELEASE=7.12.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.12.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.12.0/Dockerfile index 9c50964fd..7f34280fe 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml index dfa3be467..0f6da2c3a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.12.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.12.1/.env b/linux/ecosystem/atlassian/jira/7/7.12.1/.env index 631170975..741d59499 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.12.1/.env @@ -1,2 +1,3 @@ RELEASE=7.12.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.12.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.12.1/Dockerfile index ca3d3b6fd..f9d91cfa8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml index 5e78d96bf..01145ed83 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.12.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.12.3/.env b/linux/ecosystem/atlassian/jira/7/7.12.3/.env index a6c892538..49ed3d526 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.3/.env +++ b/linux/ecosystem/atlassian/jira/7/7.12.3/.env @@ -1,2 +1,3 @@ RELEASE=7.12.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.12.3/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.12.3/Dockerfile index 3ca7b9429..f0ab2a4a0 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.12.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml index 9548b53d4..32041a434 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.12.3" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.0/.env b/linux/ecosystem/atlassian/jira/7/7.13.0/.env index 160739881..e275f1c06 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.0/.env @@ -1,2 +1,3 @@ RELEASE=7.13.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.0/Dockerfile index 47f5465d3..52bce41fb 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml index 461c4bb68..06ed33b4b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.1/.env b/linux/ecosystem/atlassian/jira/7/7.13.1/.env index 87873d2cd..693b58691 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.1/.env @@ -1,2 +1,3 @@ RELEASE=7.13.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.1/Dockerfile index dfbdc2cb5..bd5f57d21 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml index ddcc52571..8c7975ea1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.11/.env b/linux/ecosystem/atlassian/jira/7/7.13.11/.env index a9452d789..20eff138d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.11/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.11/.env @@ -1,2 +1,3 @@ RELEASE=7.13.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.11/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.11/Dockerfile index ad5746de2..bd6f5b185 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml index e7aef4644..7bc8cdafb 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.11" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.12/.env b/linux/ecosystem/atlassian/jira/7/7.13.12/.env index f11e0a0cc..4ca694ea5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.12/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.12/.env @@ -1,2 +1,3 @@ RELEASE=7.13.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.12/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.12/Dockerfile index badf6b9ef..63750eea9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml index d30b5e5fb..fd22b36a8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.12" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.13/.env b/linux/ecosystem/atlassian/jira/7/7.13.13/.env index 61eb3af36..fdcf93f54 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.13/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.13/.env @@ -1,2 +1,3 @@ RELEASE=7.13.13 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.13/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.13/Dockerfile index 62983ba96..072dbeb39 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml index f20635fef..9802eaedc 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.13" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.14/.env b/linux/ecosystem/atlassian/jira/7/7.13.14/.env index 006789e80..df9d8e6ab 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.14/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.14/.env @@ -1,2 +1,3 @@ RELEASE=7.13.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.14/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.14/Dockerfile index 4e6ba576d..4dca2bbd2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml index 17bdf9f76..bff817f83 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.14" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.15/.env b/linux/ecosystem/atlassian/jira/7/7.13.15/.env index aa2710f93..a4118eb3e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.15/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.15/.env @@ -1,2 +1,3 @@ RELEASE=7.13.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.15/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.15/Dockerfile index cf892f976..ddfef71a7 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml index ae1f1c4a7..73ec0d3f8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.15" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.16/.env b/linux/ecosystem/atlassian/jira/7/7.13.16/.env index 3a122eec5..fbeb0b557 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.16/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.16/.env @@ -1,2 +1,3 @@ RELEASE=7.13.16 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.16/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.16/Dockerfile index e63947c55..685f23c12 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.16/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml index 0376595d9..a1ac6bdb1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.16" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.17/.env b/linux/ecosystem/atlassian/jira/7/7.13.17/.env index 14946c157..b99b61452 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.17/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.17/.env @@ -1,2 +1,3 @@ RELEASE=7.13.17 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.17/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.17/Dockerfile index dac378aa2..8cf58c99f 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.17/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml index 02b504d06..5c4f0ca7f 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.17" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.18/.env b/linux/ecosystem/atlassian/jira/7/7.13.18/.env index a07160afb..4f92ffd5a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.18/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.18/.env @@ -1,2 +1,3 @@ RELEASE=7.13.18 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.18/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.18/Dockerfile index 18255ecb9..a9b27380b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.18/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.18/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml index 6bcf57d15..649767a05 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.18" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.2/.env b/linux/ecosystem/atlassian/jira/7/7.13.2/.env index 7182b23fb..c7a36a519 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.2/.env @@ -1,2 +1,3 @@ RELEASE=7.13.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.2/Dockerfile index 7fd0c9f26..ba66c1c4d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml index 327b1411b..e3ffa25d8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.3/.env b/linux/ecosystem/atlassian/jira/7/7.13.3/.env index a8769f178..23331a93f 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.3/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.3/.env @@ -1,2 +1,3 @@ RELEASE=7.13.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.3/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.3/Dockerfile index 336e31ae8..d9ac9177a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml index 80a2ff750..aaa54ff42 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.3" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.4/.env b/linux/ecosystem/atlassian/jira/7/7.13.4/.env index 99e785b8d..0d21682b3 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.4/.env @@ -1,2 +1,3 @@ RELEASE=7.13.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.4/Dockerfile index 05b1db486..7af7de0a4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml index 30148d274..7481d630c 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.5/.env b/linux/ecosystem/atlassian/jira/7/7.13.5/.env index f1da5261b..3659a379b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.5/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.5/.env @@ -1,2 +1,3 @@ RELEASE=7.13.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.5/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.5/Dockerfile index d6726320c..75897bb78 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml index 700d7424f..6ae464eb5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.5" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.6/.env b/linux/ecosystem/atlassian/jira/7/7.13.6/.env index 3124a5e90..7e78d585a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.6/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.6/.env @@ -1,2 +1,3 @@ RELEASE=7.13.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.6/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.6/Dockerfile index 788c35ac3..7e9b2ff19 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml index 9f30bcad2..1524659ea 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.6" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.8/.env b/linux/ecosystem/atlassian/jira/7/7.13.8/.env index 351541a25..a79d06770 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.8/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.8/.env @@ -1,2 +1,3 @@ RELEASE=7.13.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.8/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.8/Dockerfile index c1f1c517c..534e11563 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml index 883e05fe9..107b80a1e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.8" diff --git a/linux/ecosystem/atlassian/jira/7/7.13.9/.env b/linux/ecosystem/atlassian/jira/7/7.13.9/.env index dbd0cb280..6446efa6b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.9/.env +++ b/linux/ecosystem/atlassian/jira/7/7.13.9/.env @@ -1,2 +1,3 @@ RELEASE=7.13.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.13.9/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.13.9/Dockerfile index 894e3fab9..80542dc34 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.13.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.13.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml index ce7e61345..9f8704eee 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.13.9" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.0/.env b/linux/ecosystem/atlassian/jira/7/7.2.0/.env index 2b95db936..ae2856399 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.0/.env @@ -1,2 +1,3 @@ RELEASE=7.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.0/Dockerfile index 840e712cf..f513a5da6 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml index 547e0a100..1d247ce8c 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.1/.env b/linux/ecosystem/atlassian/jira/7/7.2.1/.env index f7ee4d80f..c28584af2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.1/.env @@ -1,2 +1,3 @@ RELEASE=7.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.1/Dockerfile index 99ced774e..6c8a589cb 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml index 83bfb3c97..49d33bf66 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.10/.env b/linux/ecosystem/atlassian/jira/7/7.2.10/.env index 946f4dcb6..ca0a20bd8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.10/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.10/.env @@ -1,2 +1,3 @@ RELEASE=7.2.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.10/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.10/Dockerfile index e31d905c7..57c52901a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml index 2cbd51912..b516b1128 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.10" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.11/.env b/linux/ecosystem/atlassian/jira/7/7.2.11/.env index 57bb23750..7c6d452a4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.11/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.11/.env @@ -1,2 +1,3 @@ RELEASE=7.2.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.11/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.11/Dockerfile index eb274c308..e06cbc870 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml index 96466f3ba..5e9514232 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.11" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.12/.env b/linux/ecosystem/atlassian/jira/7/7.2.12/.env index 293ebb497..cd3c2603a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.12/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.12/.env @@ -1,2 +1,3 @@ RELEASE=7.2.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.12/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.12/Dockerfile index 38c5c1c42..92edfd054 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml index 1990a64a1..b006191c2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.12" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.13/.env b/linux/ecosystem/atlassian/jira/7/7.2.13/.env index 237609c4e..6c9ae54e2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.13/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.13/.env @@ -1,2 +1,3 @@ RELEASE=7.2.13 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.13/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.13/Dockerfile index 94ee2971c..32948c8a9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml index 8541f8665..f0c04a888 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.13" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.14/.env b/linux/ecosystem/atlassian/jira/7/7.2.14/.env index e7ff38a8b..723340040 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.14/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.14/.env @@ -1,2 +1,3 @@ RELEASE=7.2.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.14/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.14/Dockerfile index abfa5dc6f..a7c4fea75 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml index 347df9a3b..f2c45aed2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.14" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.15/.env b/linux/ecosystem/atlassian/jira/7/7.2.15/.env index db12d6497..9c1bdbf2a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.15/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.15/.env @@ -1,2 +1,3 @@ RELEASE=7.2.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.15/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.15/Dockerfile index 0536b46a8..a6bf953d0 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml index 06692ef08..040f8c615 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.15" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.2/.env b/linux/ecosystem/atlassian/jira/7/7.2.2/.env index d55a48864..f516f2b49 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.2/.env @@ -1,2 +1,3 @@ RELEASE=7.2.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.2/Dockerfile index 5f9af36a3..7e2907c45 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml index cff22a4cc..e5f64ce8e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.3/.env b/linux/ecosystem/atlassian/jira/7/7.2.3/.env index 04ec72d11..35c04d47d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.3/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.3/.env @@ -1,2 +1,3 @@ RELEASE=7.2.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.3/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.3/Dockerfile index 341c8c00b..cffa33c29 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml index 49b147dc4..71df8ca8a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.3" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.4/.env b/linux/ecosystem/atlassian/jira/7/7.2.4/.env index 660c0a9e0..5aa8d95a5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.4/.env @@ -1,2 +1,3 @@ RELEASE=7.2.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.4/Dockerfile index ed5204a3d..d07ab806d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml index 89700ec4e..5cc93c198 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.6/.env b/linux/ecosystem/atlassian/jira/7/7.2.6/.env index 3a97e3ef5..68f32098f 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.6/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.6/.env @@ -1,2 +1,3 @@ RELEASE=7.2.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.6/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.6/Dockerfile index e6f7b3938..1a7551161 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml index dafab60e2..acd16a5e8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.6" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.7/.env b/linux/ecosystem/atlassian/jira/7/7.2.7/.env index ea83ccc0e..a26a75414 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.7/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.7/.env @@ -1,2 +1,3 @@ RELEASE=7.2.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.7/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.7/Dockerfile index dc018a326..ec1bb694f 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml index 29efe17b0..232c30d79 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.7" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.8/.env b/linux/ecosystem/atlassian/jira/7/7.2.8/.env index 8a3e5b0da..0db87c6c1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.8/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.8/.env @@ -1,2 +1,3 @@ RELEASE=7.2.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.8/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.8/Dockerfile index 98eaa5857..8fca3dfa1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml index 4975c270e..43b7c7905 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.8" diff --git a/linux/ecosystem/atlassian/jira/7/7.2.9/.env b/linux/ecosystem/atlassian/jira/7/7.2.9/.env index 858cbd210..37c2f2f91 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.9/.env +++ b/linux/ecosystem/atlassian/jira/7/7.2.9/.env @@ -1,2 +1,3 @@ RELEASE=7.2.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.2.9/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.2.9/Dockerfile index 6fd3450b0..83fa0a3e4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.2.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.2.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml index 30c6b13ee..f08048adf 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.2.9" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.0/.env b/linux/ecosystem/atlassian/jira/7/7.3.0/.env index 0a4594182..56a3de81e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.0/.env @@ -1,2 +1,3 @@ RELEASE=7.3.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.0/Dockerfile index f91315b04..396a17538 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml index 92f434058..2b4c5d99e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.1/.env b/linux/ecosystem/atlassian/jira/7/7.3.1/.env index 16ade4160..da4684e8a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.1/.env @@ -1,2 +1,3 @@ RELEASE=7.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.1/Dockerfile index ad49c3cdd..ecbd8371d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml index b2d48c9c6..2c45845ec 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.2/.env b/linux/ecosystem/atlassian/jira/7/7.3.2/.env index fadd4d7d1..97551c2fd 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.2/.env @@ -1,2 +1,3 @@ RELEASE=7.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.2/Dockerfile index 1e0c8c9d5..a3ac0bedf 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml index 153701ca0..49fb79c4b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.3/.env b/linux/ecosystem/atlassian/jira/7/7.3.3/.env index 08addb772..b67eae9d4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.3/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.3/.env @@ -1,2 +1,3 @@ RELEASE=7.3.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.3/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.3/Dockerfile index 2e79f1205..56b9ac3ac 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml index 1b19bd467..8cccabb34 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.3" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.4/.env b/linux/ecosystem/atlassian/jira/7/7.3.4/.env index 5f0bccea0..c6311e059 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.4/.env @@ -1,2 +1,3 @@ RELEASE=7.3.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.4/Dockerfile index e7dfeacc2..d0611a495 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml index 96e572f37..815942d04 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.5/.env b/linux/ecosystem/atlassian/jira/7/7.3.5/.env index c53d4c151..c7b334f53 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.5/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.5/.env @@ -1,2 +1,3 @@ RELEASE=7.3.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.5/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.5/Dockerfile index d6dcf43f0..5b0709263 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml index d845e8cb9..72a01e437 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.5" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.6/.env b/linux/ecosystem/atlassian/jira/7/7.3.6/.env index e86a8f8e3..33caaa09b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.6/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.6/.env @@ -1,2 +1,3 @@ RELEASE=7.3.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.6/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.6/Dockerfile index 9f85c2b71..bc8389f1e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml index 1e79b0348..36f953908 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.6" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.7/.env b/linux/ecosystem/atlassian/jira/7/7.3.7/.env index 3c71e4c20..22eb4117a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.7/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.7/.env @@ -1,2 +1,3 @@ RELEASE=7.3.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.7/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.7/Dockerfile index c79d34a4a..02bbd3f77 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml index 3cf90e37c..a2dc2e0a1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.7" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.8/.env b/linux/ecosystem/atlassian/jira/7/7.3.8/.env index 67595afe9..2804d9051 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.8/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.8/.env @@ -1,2 +1,3 @@ RELEASE=7.3.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.8/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.8/Dockerfile index 01f1e641c..c239d11e0 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml index 93350fd6b..f33edb817 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.8" diff --git a/linux/ecosystem/atlassian/jira/7/7.3.9/.env b/linux/ecosystem/atlassian/jira/7/7.3.9/.env index 9a078d72e..9a589b7bd 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.9/.env +++ b/linux/ecosystem/atlassian/jira/7/7.3.9/.env @@ -1,2 +1,3 @@ RELEASE=7.3.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.3.9/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.3.9/Dockerfile index abb21e5aa..c47129ee9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.3.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.3.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml index 9914e47a2..82af35c17 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.3.9" diff --git a/linux/ecosystem/atlassian/jira/7/7.4.0/.env b/linux/ecosystem/atlassian/jira/7/7.4.0/.env index 8c04eea2c..ad043bea2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.4.0/.env @@ -1,2 +1,3 @@ RELEASE=7.4.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.4.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.4.0/Dockerfile index 3dc7aacc1..2dfdc150a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml index b67cfb94b..d19c81d80 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.4.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.4.1/.env b/linux/ecosystem/atlassian/jira/7/7.4.1/.env index 45f12f118..5e48c9c8e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.4.1/.env @@ -1,2 +1,3 @@ RELEASE=7.4.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.4.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.4.1/Dockerfile index 5a88394d2..de9d745c9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml index f884ca028..2fe4ad886 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.4.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.4.2/.env b/linux/ecosystem/atlassian/jira/7/7.4.2/.env index b54059056..6e91cbd7b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.4.2/.env @@ -1,2 +1,3 @@ RELEASE=7.4.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.4.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.4.2/Dockerfile index b5ebc322d..5e97df4b3 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml index cf0699cab..70b1b9b57 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.4.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.4.3/.env b/linux/ecosystem/atlassian/jira/7/7.4.3/.env index 0b8d51eef..520983900 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.3/.env +++ b/linux/ecosystem/atlassian/jira/7/7.4.3/.env @@ -1,2 +1,3 @@ RELEASE=7.4.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.4.3/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.4.3/Dockerfile index 65738e0cb..f827ddd84 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml index 62c01c133..89d4d1721 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.4.3" diff --git a/linux/ecosystem/atlassian/jira/7/7.4.4/.env b/linux/ecosystem/atlassian/jira/7/7.4.4/.env index 552274dd3..c1865ebce 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.4.4/.env @@ -1,2 +1,3 @@ RELEASE=7.4.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.4.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.4.4/Dockerfile index 0eee7a0ad..4f6459660 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml index d05334c50..c8d7f019c 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.4.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.4.5/.env b/linux/ecosystem/atlassian/jira/7/7.4.5/.env index 0097edb50..9750e00c0 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.5/.env +++ b/linux/ecosystem/atlassian/jira/7/7.4.5/.env @@ -1,2 +1,3 @@ RELEASE=7.4.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.4.5/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.4.5/Dockerfile index b9cd3baa0..fc89facb5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.4.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml index c03221d15..2ba9e52a3 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.4.5" diff --git a/linux/ecosystem/atlassian/jira/7/7.4.6/.env b/linux/ecosystem/atlassian/jira/7/7.4.6/.env index 80e4a2174..38dab9a42 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.6/.env +++ b/linux/ecosystem/atlassian/jira/7/7.4.6/.env @@ -1,2 +1,3 @@ RELEASE=7.4.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.4.6/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.4.6/Dockerfile index fdcb8fd5c..5c7ff0547 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.4.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.4.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml index 8bdc276c0..bd3c0e02d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.4.6" diff --git a/linux/ecosystem/atlassian/jira/7/7.5.0/.env b/linux/ecosystem/atlassian/jira/7/7.5.0/.env index 3840d9930..89b1cd54e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.5.0/.env @@ -1,2 +1,3 @@ RELEASE=7.5.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.5.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.5.0/Dockerfile index d76115c4c..432ed1ab3 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml index c30c98809..1e0ddcfda 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.5.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.5.1/.env b/linux/ecosystem/atlassian/jira/7/7.5.1/.env index 6bf94a2e4..dc8d2154b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.5.1/.env @@ -1,2 +1,3 @@ RELEASE=7.5.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.5.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.5.1/Dockerfile index 5f435a054..0816c79c4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml index 6823dec37..52b9debc0 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.5.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.5.2/.env b/linux/ecosystem/atlassian/jira/7/7.5.2/.env index db773a341..77ec53c6e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.5.2/.env @@ -1,2 +1,3 @@ RELEASE=7.5.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.5.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.5.2/Dockerfile index 4e593be41..079eacce0 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml index f75ac7985..e811d3690 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.5.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.5.3/.env b/linux/ecosystem/atlassian/jira/7/7.5.3/.env index 056047455..a82ab15b9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.3/.env +++ b/linux/ecosystem/atlassian/jira/7/7.5.3/.env @@ -1,2 +1,3 @@ RELEASE=7.5.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.5.3/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.5.3/Dockerfile index a6dc9cb9d..0bad4d986 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.5.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml index 9ed278132..c4ed3d30a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.5.3" diff --git a/linux/ecosystem/atlassian/jira/7/7.5.4/.env b/linux/ecosystem/atlassian/jira/7/7.5.4/.env index 13e4d979b..84b973c28 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.5.4/.env @@ -1,2 +1,3 @@ RELEASE=7.5.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.5.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.5.4/Dockerfile index c7bcab191..cf642f468 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.5.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.5.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml index a0d2d5a33..12059f459 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.5.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.0/.env b/linux/ecosystem/atlassian/jira/7/7.6.0/.env index dbd8f103c..f4d5c4066 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.0/.env @@ -1,2 +1,3 @@ RELEASE=7.6.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.0/Dockerfile index 4713d4157..b159e5df8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml index 724f6d6a7..445dbccd4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.1/.env b/linux/ecosystem/atlassian/jira/7/7.6.1/.env index 49f905fbe..f8764a0fe 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.1/.env @@ -1,2 +1,3 @@ RELEASE=7.6.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.1/Dockerfile index 0fca3acc6..ab0245fb1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml index 77d59436b..db0836a75 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.10/.env b/linux/ecosystem/atlassian/jira/7/7.6.10/.env index 02a1db658..0b2aa2d6a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.10/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.10/.env @@ -1,2 +1,3 @@ RELEASE=7.6.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.10/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.10/Dockerfile index 44432f518..89cd4609b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml index f2298e12d..d20edb9fd 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.10" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.11/.env b/linux/ecosystem/atlassian/jira/7/7.6.11/.env index 497bf4163..3862adac9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.11/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.11/.env @@ -1,2 +1,3 @@ RELEASE=7.6.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.11/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.11/Dockerfile index 4a6db8055..2ee0a0e60 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml index 4ca103502..d37a9e55a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.11" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.12/.env b/linux/ecosystem/atlassian/jira/7/7.6.12/.env index 719b04d83..c4d1270a3 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.12/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.12/.env @@ -1,2 +1,3 @@ RELEASE=7.6.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.12/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.12/Dockerfile index 914c5e4ea..6ff003665 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml index f587e0548..211808e5a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.12" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.13/.env b/linux/ecosystem/atlassian/jira/7/7.6.13/.env index 278f93026..f8e63d2d2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.13/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.13/.env @@ -1,2 +1,3 @@ RELEASE=7.6.13 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.13/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.13/Dockerfile index a805b7c76..7aa4449eb 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml index 8bc663fd7..7c1f82ee3 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.13" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.14/.env b/linux/ecosystem/atlassian/jira/7/7.6.14/.env index 2003b152a..797b84b4b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.14/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.14/.env @@ -1,2 +1,3 @@ RELEASE=7.6.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.14/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.14/Dockerfile index f221e2b06..e0a64cbf4 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml index 9eda859b5..e518f6e82 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.14" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.15/.env b/linux/ecosystem/atlassian/jira/7/7.6.15/.env index 00dbab0ea..2e608c6c5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.15/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.15/.env @@ -1,2 +1,3 @@ RELEASE=7.6.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.15/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.15/Dockerfile index 1ad2c5365..840924c03 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml index e2e5cceac..4118577e9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.15" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.16/.env b/linux/ecosystem/atlassian/jira/7/7.6.16/.env index 211a43345..c3c2b3585 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.16/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.16/.env @@ -1,2 +1,3 @@ RELEASE=7.6.16 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.16/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.16/Dockerfile index 903b1e385..d4c32358c 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.16/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml index 5fa8c59a8..46be207aa 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.16" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.17/.env b/linux/ecosystem/atlassian/jira/7/7.6.17/.env index 5a2ee0f59..cf67c2e72 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.17/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.17/.env @@ -1,2 +1,3 @@ RELEASE=7.6.17 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.17/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.17/Dockerfile index 423d6264d..d6e248b44 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.17/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml index 3247315b3..430bfd829 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.17" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.2/.env b/linux/ecosystem/atlassian/jira/7/7.6.2/.env index bea906e69..6ffaebb68 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.2/.env @@ -1,2 +1,3 @@ RELEASE=7.6.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.2/Dockerfile index 0d0c53f26..a213443c6 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml index ca9f02885..e5075c4b6 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.3/.env b/linux/ecosystem/atlassian/jira/7/7.6.3/.env index 57f63f6ea..6e9f4bc3b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.3/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.3/.env @@ -1,2 +1,3 @@ RELEASE=7.6.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.3/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.3/Dockerfile index 33b519ea0..c9408eb93 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml index 901d9a164..a7cd6573b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.3" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.4/.env b/linux/ecosystem/atlassian/jira/7/7.6.4/.env index 088e216b5..a3bf4c5e5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.4/.env @@ -1,2 +1,3 @@ RELEASE=7.6.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.4/Dockerfile index e15fd8d6b..597c0a5d1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml index 256b8e477..1fd6ada91 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.6/.env b/linux/ecosystem/atlassian/jira/7/7.6.6/.env index 3921a9022..cabaf85db 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.6/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.6/.env @@ -1,2 +1,3 @@ RELEASE=7.6.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.6/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.6/Dockerfile index 7228563eb..c9987a520 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml index 7e5918104..45c25e113 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.6" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.7/.env b/linux/ecosystem/atlassian/jira/7/7.6.7/.env index 3518d6c94..dd0951cac 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.7/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.7/.env @@ -1,2 +1,3 @@ RELEASE=7.6.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.7/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.7/Dockerfile index 289930517..e33aeae3c 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml index f26e958ef..db4095d85 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.7" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.8/.env b/linux/ecosystem/atlassian/jira/7/7.6.8/.env index da0f966e9..323bd9741 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.8/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.8/.env @@ -1,2 +1,3 @@ RELEASE=7.6.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.8/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.8/Dockerfile index 42eadd42a..220409315 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml index 1c107956e..c4d4a11e9 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.8" diff --git a/linux/ecosystem/atlassian/jira/7/7.6.9/.env b/linux/ecosystem/atlassian/jira/7/7.6.9/.env index 230e66e22..841f79e81 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.9/.env +++ b/linux/ecosystem/atlassian/jira/7/7.6.9/.env @@ -1,2 +1,3 @@ RELEASE=7.6.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.6.9/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.6.9/Dockerfile index 3a8ad67ae..6812fdf6d 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.6.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.6.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml index 92bdaafc0..b9876742e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.6.9" diff --git a/linux/ecosystem/atlassian/jira/7/7.7.0/.env b/linux/ecosystem/atlassian/jira/7/7.7.0/.env index 5307fb664..3a32bf6de 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.7.0/.env @@ -1,2 +1,3 @@ RELEASE=7.7.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.7.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.7.0/Dockerfile index 7034060a1..87f4b6c9a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml index 4092400b7..69c19229e 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.7.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.7.1/.env b/linux/ecosystem/atlassian/jira/7/7.7.1/.env index 3a279bb02..a4832d215 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.7.1/.env @@ -1,2 +1,3 @@ RELEASE=7.7.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.7.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.7.1/Dockerfile index f0b1b978d..49031caa8 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml index 5e542533c..b79d93ef5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.7.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.7.2/.env b/linux/ecosystem/atlassian/jira/7/7.7.2/.env index becdf6f30..7a96bf4be 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.7.2/.env @@ -1,2 +1,3 @@ RELEASE=7.7.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.7.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.7.2/Dockerfile index a20bb3a19..430f495e2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.7.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml index 00677c1d2..fffef36d2 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.7.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.7.4/.env b/linux/ecosystem/atlassian/jira/7/7.7.4/.env index fd9d876d1..8244633ee 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.7.4/.env @@ -1,2 +1,3 @@ RELEASE=7.7.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.7.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.7.4/Dockerfile index 901389c89..dd825df16 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.7.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.7.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml index a55792cac..842ce43f6 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.7.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.8.0/.env b/linux/ecosystem/atlassian/jira/7/7.8.0/.env index 03ac4a127..2b8c6a73c 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.8.0/.env @@ -1,2 +1,3 @@ RELEASE=7.8.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.8.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.8.0/Dockerfile index ca2f7e857..d54b9900b 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml index b93163d41..9e01ab312 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.8.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.8.1/.env b/linux/ecosystem/atlassian/jira/7/7.8.1/.env index ab5494704..4d67831c7 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.1/.env +++ b/linux/ecosystem/atlassian/jira/7/7.8.1/.env @@ -1,2 +1,3 @@ RELEASE=7.8.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.8.1/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.8.1/Dockerfile index 6109c6f82..4f246e793 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml index 106c9737b..0045183cd 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.8.1" diff --git a/linux/ecosystem/atlassian/jira/7/7.8.2/.env b/linux/ecosystem/atlassian/jira/7/7.8.2/.env index 06295a407..924ad82f1 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.8.2/.env @@ -1,2 +1,3 @@ RELEASE=7.8.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.8.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.8.2/Dockerfile index 828ec927a..2da127b2c 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.8.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml index e02812ebb..ddcca3a48 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.8.2" diff --git a/linux/ecosystem/atlassian/jira/7/7.8.4/.env b/linux/ecosystem/atlassian/jira/7/7.8.4/.env index ab606564b..f7491af91 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.4/.env +++ b/linux/ecosystem/atlassian/jira/7/7.8.4/.env @@ -1,2 +1,3 @@ RELEASE=7.8.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.8.4/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.8.4/Dockerfile index cb0cde6a5..8865aab89 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.8.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.8.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml index 2081b35cc..2cf509c97 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.8.4" diff --git a/linux/ecosystem/atlassian/jira/7/7.9.0/.env b/linux/ecosystem/atlassian/jira/7/7.9.0/.env index 6854e4f5e..314735839 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.0/.env +++ b/linux/ecosystem/atlassian/jira/7/7.9.0/.env @@ -1,2 +1,3 @@ RELEASE=7.9.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.9.0/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.9.0/Dockerfile index 8e741db2b..76581975f 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml index 6366c527a..c45c11b42 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.9.0" diff --git a/linux/ecosystem/atlassian/jira/7/7.9.2/.env b/linux/ecosystem/atlassian/jira/7/7.9.2/.env index 094612c5d..f00a8ef40 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.2/.env +++ b/linux/ecosystem/atlassian/jira/7/7.9.2/.env @@ -1,2 +1,3 @@ RELEASE=7.9.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/7/7.9.2/Dockerfile b/linux/ecosystem/atlassian/jira/7/7.9.2/Dockerfile index db8bac687..07be4a16a 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/7/7.9.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=7.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml index 3ae3857a4..331b64dbf 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:7.9.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.0.0/.env b/linux/ecosystem/atlassian/jira/8/8.0.0/.env index 8c7e50d8b..7027346db 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.0.0/.env @@ -1,2 +1,3 @@ RELEASE=8.0.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.0.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.0.0/Dockerfile index 877a2f51a..11d6398f6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.0.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml index 7f7752de3..58f6725da 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.0.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.0.2/.env b/linux/ecosystem/atlassian/jira/8/8.0.2/.env index 0367af77f..026613e33 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.0.2/.env @@ -1,2 +1,3 @@ RELEASE=8.0.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.0.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.0.2/Dockerfile index e1145b269..195a8346a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.0.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml index dca7834fc..a291d41cf 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.0.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.0.3/.env b/linux/ecosystem/atlassian/jira/8/8.0.3/.env index 7be58638c..1a0fbbea8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.0.3/.env @@ -1,2 +1,3 @@ RELEASE=8.0.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.0.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.0.3/Dockerfile index ed3a7f75c..50e653d2a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.0.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.0.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml index 3834f4d4d..40fe1d113 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.0.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.1.0/.env b/linux/ecosystem/atlassian/jira/8/8.1.0/.env index 54fb5eabc..c2826c425 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.1.0/.env @@ -1,2 +1,3 @@ RELEASE=8.1.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.1.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.1.0/Dockerfile index 71212060f..b5c990bd1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml index 89f13bb48..a1707ac14 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.1.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.1.1/.env b/linux/ecosystem/atlassian/jira/8/8.1.1/.env index 970620f9f..792ada970 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.1.1/.env @@ -1,2 +1,3 @@ RELEASE=8.1.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.1.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.1.1/Dockerfile index 2ff8895c0..afc9fe7c7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml index 419ae5f86..5a41039b7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.1.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.1.2/.env b/linux/ecosystem/atlassian/jira/8/8.1.2/.env index 25f46a950..38fc33e72 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.1.2/.env @@ -1,2 +1,3 @@ RELEASE=8.1.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.1.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.1.2/Dockerfile index ecb3405bf..9313f50ac 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.1.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml index 921c5e2e8..f35f32140 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.1.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.1.3/.env b/linux/ecosystem/atlassian/jira/8/8.1.3/.env index bd21c527b..c6af19793 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.1.3/.env @@ -1,2 +1,3 @@ RELEASE=8.1.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.1.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.1.3/Dockerfile index 429602a42..f37e61359 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.1.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.1.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml index 829bd9e47..518978faa 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.1.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.10.0/.env b/linux/ecosystem/atlassian/jira/8/8.10.0/.env index c52b9aa87..e09cdd8d0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.10.0/.env @@ -1,2 +1,3 @@ RELEASE=8.10.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile index 29d41fda8..8ccc99cef 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile.jdk11 index b6a546c9a..99c952548 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.10.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml index d94c3ad2f..b85f16e80 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.10.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.10.1/.env b/linux/ecosystem/atlassian/jira/8/8.10.1/.env index c1e838f98..99dfbfa7f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.10.1/.env @@ -1,2 +1,3 @@ RELEASE=8.10.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile index f3e4663b8..e04a90962 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile.jdk11 index 7fae99a6e..1fd7628cc 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.10.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml index 60e53f71d..c5aed4074 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.10.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.11.0/.env b/linux/ecosystem/atlassian/jira/8/8.11.0/.env index 7a6902426..982df3255 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.11.0/.env @@ -1,2 +1,3 @@ RELEASE=8.11.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile index e00a0246b..d7d07e85a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile.jdk11 index d0297c915..ec99da586 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.11.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml index b75e8b584..222f215f3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.11.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.11.1/.env b/linux/ecosystem/atlassian/jira/8/8.11.1/.env index 8480effc5..108d36f76 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.11.1/.env @@ -1,2 +1,3 @@ RELEASE=8.11.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile index 363ff670d..71c33ec15 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile.jdk11 index 22c4d582a..0993d3a38 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.11.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml index 1f74e3fd9..93450f2d5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.11.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.12.0/.env b/linux/ecosystem/atlassian/jira/8/8.12.0/.env index c93e957ac..21a83313d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.12.0/.env @@ -1,2 +1,3 @@ RELEASE=8.12.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile index 3158bad22..3ef6bc80c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile.jdk11 index e4677642a..1dea325b0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.12.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml index 14da4d6f4..5ea57b81e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.12.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.12.1/.env b/linux/ecosystem/atlassian/jira/8/8.12.1/.env index c9d1f36cc..0fa6b1d0a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.12.1/.env @@ -1,2 +1,3 @@ RELEASE=8.12.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile index 29a72bf89..26108e829 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile.jdk11 index 09e629208..37b92d766 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.12.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml index 67cf010c0..3b610424b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.12.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.12.2/.env b/linux/ecosystem/atlassian/jira/8/8.12.2/.env index 073baef3f..f719db65d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.12.2/.env @@ -1,2 +1,3 @@ RELEASE=8.12.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile index 8551abc72..c7f5e3b60 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile.jdk11 index 309fd1481..f49fc8b67 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.12.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml index 6882f2b29..24b1bcdf1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.12.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.12.3/.env b/linux/ecosystem/atlassian/jira/8/8.12.3/.env index 1bd9f97a5..9a9af1e3b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.12.3/.env @@ -1,2 +1,3 @@ RELEASE=8.12.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile index b5c75666a..044fd8698 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile.jdk11 index a5983a9b4..0109e8c25 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.12.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml index b772e0645..c15a2a80d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.12.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.0/.env b/linux/ecosystem/atlassian/jira/8/8.13.0/.env index 8a8e13b4d..f011506e7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.0/.env @@ -1,2 +1,3 @@ RELEASE=8.13.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile index c611e7620..599475e6a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile.jdk11 index f3b7741f4..ea54e9913 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml index 65c16a6d3..973390c25 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.1/.env b/linux/ecosystem/atlassian/jira/8/8.13.1/.env index d5918573a..4741ab2d1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.1/.env @@ -1,2 +1,3 @@ RELEASE=8.13.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile index d299f3a35..be718aaa4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile.jdk11 index 58e211c01..bf2cf7a61 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml index 4d0f5c76b..41c6f04b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/.env b/linux/ecosystem/atlassian/jira/8/8.13.10/.env index 636c01c04..3622f8c2e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.10/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/.env @@ -1,2 +1,3 @@ RELEASE=8.13.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile index 674422eab..58b82a70d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile.jdk11 index 729815d52..245b6b4f5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.10/docker-compose.yml index 777895ede..ce4cb26f1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.10" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/.env b/linux/ecosystem/atlassian/jira/8/8.13.11/.env index 2deede7fd..3fb6f9220 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.11/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/.env @@ -1,2 +1,3 @@ RELEASE=8.13.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile index 6fa8af681..14486c784 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile.jdk11 index 78750eef1..e3ff45aa9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.11/docker-compose.yml index 7b805245f..6b127a9bc 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.11" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/.env b/linux/ecosystem/atlassian/jira/8/8.13.12/.env index b7ab6803d..aa345ab47 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.12/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/.env @@ -1,2 +1,3 @@ RELEASE=8.13.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile index 9b079b26b..33b578f05 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile.jdk11 index 7b2673852..693b83bb9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.12/docker-compose.yml index bdab3b467..d437a9a6d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.12" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/.env b/linux/ecosystem/atlassian/jira/8/8.13.13/.env index 0aa451e81..62843e72e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.13/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/.env @@ -1,2 +1,3 @@ RELEASE=8.13.13 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile index b9110a1f2..bf74c0176 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile.jdk11 index 80a8f784a..bad38ad57 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.13/docker-compose.yml index 1a54e87c8..e3f0182e7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.13" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.14/.env b/linux/ecosystem/atlassian/jira/8/8.13.14/.env index 239b68b8c..3d0d5715f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.14/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.14/.env @@ -1,2 +1,3 @@ RELEASE=8.13.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile index 8207c6e5e..81b958da4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile.jdk11 index 0533e568d..6aa4dcf97 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.14/docker-compose.yml index 92ebdc216..aff08797e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.14" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.15/.env b/linux/ecosystem/atlassian/jira/8/8.13.15/.env index fba7d38d9..3bb94b019 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.15/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.15/.env @@ -1,2 +1,3 @@ RELEASE=8.13.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile index de3fc6737..273146a18 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile.jdk11 index e98a2e5e6..14212521f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.15/docker-compose.yml index 172259daa..de5311575 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.15" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.16/.env b/linux/ecosystem/atlassian/jira/8/8.13.16/.env index d6de5c25c..117942308 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.16/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.16/.env @@ -1,2 +1,3 @@ RELEASE=8.13.16 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile index 15a49c569..46342fe5c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile.jdk11 index 69ec2af9a..1bf79a0b6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.16/docker-compose.yml index 9f0c185b4..5bc1cb7c2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.16" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.17/.env b/linux/ecosystem/atlassian/jira/8/8.13.17/.env index aade345b4..6578a6310 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.17/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.17/.env @@ -1,2 +1,3 @@ RELEASE=8.13.17 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile index fd7b5c448..d87920916 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile.jdk11 index e2053336b..c93c84c59 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.17/docker-compose.yml index 7d68957f5..15593216a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.17" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.18/.env b/linux/ecosystem/atlassian/jira/8/8.13.18/.env index 41717bf5d..9a2ccef91 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.18/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.18/.env @@ -1,2 +1,3 @@ RELEASE=8.13.18 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile index 4d191e255..a3994879f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile.jdk11 index d835f0773..1ea9e6a22 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.18/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.18/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.18/docker-compose.yml index 2d692bf17..9b16a8928 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.18" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.19/.env b/linux/ecosystem/atlassian/jira/8/8.13.19/.env index a7db33c7c..c12c26265 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.19/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.19/.env @@ -1,2 +1,3 @@ RELEASE=8.13.19 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile index 5f6a31934..371691844 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile.jdk11 index 3bf6d2c15..96c258b12 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.19/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.19/docker-compose.yml index 533c0c790..85bc4ff26 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.19" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.2/.env b/linux/ecosystem/atlassian/jira/8/8.13.2/.env index 07ab52573..fa87fe6dc 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.2/.env @@ -1,2 +1,3 @@ RELEASE=8.13.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile index 407b0a253..002299031 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile.jdk11 index 9bec0bfd0..9ab4fa6f1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml index df96335cf..a45e6161f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.20/.env b/linux/ecosystem/atlassian/jira/8/8.13.20/.env index 239541b63..8c5e7388e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.20/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.20/.env @@ -1,2 +1,3 @@ RELEASE=8.13.20 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile index d462439f5..71c414e70 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile.jdk11 index 028ba46b7..d12eeb5f8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.20/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.20/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.20/docker-compose.yml index a3b78db1a..68815c707 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.20/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.20" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.21/.env b/linux/ecosystem/atlassian/jira/8/8.13.21/.env index 69cc92506..da8ca4347 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.21/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.21/.env @@ -1,2 +1,3 @@ RELEASE=8.13.21 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile index 19e1cfc2e..6eecc70f5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile.jdk11 index e9e7e0a69..4bd162ca3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.21/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.21/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.21/docker-compose.yml index 8ace1917a..e1271b7ff 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.21/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.21" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.22/.env b/linux/ecosystem/atlassian/jira/8/8.13.22/.env index e5de359f0..b82815ea4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.22/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.22/.env @@ -1,2 +1,3 @@ RELEASE=8.13.22 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile index 0f56c7cc0..0fee95e19 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile.jdk11 index 70ff92277..52bd6a992 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.22/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.22/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.22/docker-compose.yml index 064c5f141..12ca07619 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.22/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.22" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.24/.env b/linux/ecosystem/atlassian/jira/8/8.13.24/.env index 394a78542..b390f881d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.24/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.24/.env @@ -1,2 +1,3 @@ RELEASE=8.13.24 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile index 234566cba..d5fee9daf 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.24 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile.jdk11 index af9a2bc2d..98ab0a2e6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.24/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.24 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.24/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.24/docker-compose.yml index 31a0e8092..ed11ae60f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.24/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.24/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.24" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.25/.env b/linux/ecosystem/atlassian/jira/8/8.13.25/.env index b14dc3dcb..94fdb1401 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.25/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.25/.env @@ -1,2 +1,3 @@ RELEASE=8.13.25 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile index 754b454ac..546768b1a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.25 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile.jdk11 index 0f9fbb6bc..9860b757a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.25/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.25 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.25/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.25/docker-compose.yml index 2a55661bf..c0bfe0457 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.25/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.25/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.25" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.26/.env b/linux/ecosystem/atlassian/jira/8/8.13.26/.env index d91f7c017..e719edd56 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.26/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.26/.env @@ -1,2 +1,3 @@ RELEASE=8.13.26 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile index 01d0c62be..07b52b2ff 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.26 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile.jdk11 index dfae7bbb7..0b1a6dd86 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.26/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.26 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.26/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.26/docker-compose.yml index a9882625f..46528cb00 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.26/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.26/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.26" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.27/.env b/linux/ecosystem/atlassian/jira/8/8.13.27/.env index 4d637daab..79626eb01 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.27/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.27/.env @@ -1,2 +1,3 @@ RELEASE=8.13.27 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile index 6fd815276..da71da8a2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.27 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile.jdk11 index d71d8d754..041a3095b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.27/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.27 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.27/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.27/docker-compose.yml index 495cc3a3c..ae8379967 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.27/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.27/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.27" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.3/.env b/linux/ecosystem/atlassian/jira/8/8.13.3/.env index 959b5126f..56b2925b1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.3/.env @@ -1,2 +1,3 @@ RELEASE=8.13.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile index 0778fe239..7afcde7cb 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile.jdk11 index dcda4cba0..cb4a0446b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml index e9176c688..1f73008ad 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.4/.env b/linux/ecosystem/atlassian/jira/8/8.13.4/.env index daa4ace42..74c92adc0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.4/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.4/.env @@ -1,2 +1,3 @@ RELEASE=8.13.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile index 71a3c4bea..15e675638 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile.jdk11 index 3ca58bcf4..ee3044146 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml index f5ff4e6f8..a4f8ec6a8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.4" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.5/.env b/linux/ecosystem/atlassian/jira/8/8.13.5/.env index a49594d3c..f1bcd92db 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.5/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.5/.env @@ -1,2 +1,3 @@ RELEASE=8.13.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile index 36c1c9d84..200ec6221 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile.jdk11 index 27a04f54d..c94e2b291 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml index 8e95fafd0..798a2c56e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.5" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.6/.env b/linux/ecosystem/atlassian/jira/8/8.13.6/.env index 9aecac7cc..bb551d01e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.6/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.6/.env @@ -1,2 +1,3 @@ RELEASE=8.13.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile index 1b441d561..525dcc7e9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile.jdk11 index cc678216f..5dfb73dae 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml index ead8ce02a..7cab8e4c4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.6" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.7/.env b/linux/ecosystem/atlassian/jira/8/8.13.7/.env index ec9468120..9c9ccffc0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.7/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.7/.env @@ -1,2 +1,3 @@ RELEASE=8.13.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile index e252ea70d..8b6f44a00 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile.jdk11 index 6f31441d4..4f961c85f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml index 5aa91bea8..03814b6fa 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.7" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.8/.env b/linux/ecosystem/atlassian/jira/8/8.13.8/.env index e3e77a3dd..187e99f0b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.8/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.8/.env @@ -1,2 +1,3 @@ RELEASE=8.13.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile index 2114b0a6b..56878606f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile.jdk11 index 37be0952c..8ec59048d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml index d650b5227..64334b789 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.8" diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/.env b/linux/ecosystem/atlassian/jira/8/8.13.9/.env index 8e0c56432..e7adc6040 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.9/.env +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/.env @@ -1,2 +1,3 @@ RELEASE=8.13.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile index 8f7603b86..46576b4f7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile.jdk11 index 3d4b9df27..81d3fc4f3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.13.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.9/docker-compose.yml index 2c0e44881..8e2f94c31 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.13.9" diff --git a/linux/ecosystem/atlassian/jira/8/8.14.0/.env b/linux/ecosystem/atlassian/jira/8/8.14.0/.env index 01d39a034..b9c0d629f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.14.0/.env @@ -1,2 +1,3 @@ RELEASE=8.14.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile index 56820735f..261354c0b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile.jdk11 index 5f576bfe6..b159bc2e2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.14.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml index d0481007d..853e6c822 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.14.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.14.1/.env b/linux/ecosystem/atlassian/jira/8/8.14.1/.env index 2713f44f9..9b1ec20f6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.14.1/.env @@ -1,2 +1,3 @@ RELEASE=8.14.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile index 3a3f00580..5f9d48c3d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile.jdk11 index a897d6116..38297730c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.14.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml index 5d7aa0f5b..4b34e01e7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.14.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.15.0/.env b/linux/ecosystem/atlassian/jira/8/8.15.0/.env index 5417f869e..46ecf51ff 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.15.0/.env @@ -1,2 +1,3 @@ RELEASE=8.15.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile index 2cdcc65b4..774472b7d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile.jdk11 index 2c40cf684..a99217081 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.15.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml index 8d503dc1a..081b4046e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.15.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.15.1/.env b/linux/ecosystem/atlassian/jira/8/8.15.1/.env index d678f354a..fc823a80f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.15.1/.env @@ -1,2 +1,3 @@ RELEASE=8.15.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile index 8f3514739..a2f205632 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile.jdk11 index d96e6fb42..7382d4090 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.15.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.15.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml index 191d52aba..5b020f44f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.15.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.16.0/.env b/linux/ecosystem/atlassian/jira/8/8.16.0/.env index 5cc9122d7..229ca2e4b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.16.0/.env @@ -1,2 +1,3 @@ RELEASE=8.16.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile index 4e1afa552..c79678309 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile.jdk11 index 844c6fc92..9407dc814 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.16.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml index 1398e24b0..77074d3da 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.16.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.16.1/.env b/linux/ecosystem/atlassian/jira/8/8.16.1/.env index 0714fe33c..cb315f082 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.16.1/.env @@ -1,2 +1,3 @@ RELEASE=8.16.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile index d0407b39a..3631817da 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile.jdk11 index efaf3fb57..78cee2767 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.16.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.16.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.16.1/docker-compose.yml index 479f0b349..bde09bc88 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.16.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.16.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.16.2/.env b/linux/ecosystem/atlassian/jira/8/8.16.2/.env index 4dd19e3c1..0168ab3a9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.16.2/.env @@ -1,2 +1,3 @@ RELEASE=8.16.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile index 36b84afc4..c25129653 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile.jdk11 index 1f23d8986..788d75a14 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.16.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.16.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml index 9762919bb..0836b2e36 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.16.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.17.0/.env b/linux/ecosystem/atlassian/jira/8/8.17.0/.env index 7519ac5b1..afb947b7b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.17.0/.env @@ -1,2 +1,3 @@ RELEASE=8.17.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile index 28700e611..c6347bd19 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile.jdk11 index 320a11d8b..4beaae6f4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.17.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml index 1d3bac8a4..c52781cac 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.17.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.17.1/.env b/linux/ecosystem/atlassian/jira/8/8.17.1/.env index 9673f5333..96bed8256 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.17.1/.env @@ -1,2 +1,3 @@ RELEASE=8.17.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile index 66a53445f..047225c61 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile.jdk11 index 110e47824..22c30dc4e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.17.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml index 5b6edd30e..fb436217b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.17.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/.env b/linux/ecosystem/atlassian/jira/8/8.18.1/.env index 410b98bc3..9763d1e10 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/.env @@ -1,2 +1,3 @@ RELEASE=8.18.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile index c115c6b2e..1951eff1a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.18.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile.jdk11 index f80147029..f2e68ea23 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.18.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.18.1/docker-compose.yml index 82728d580..a8e2996a1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.18.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/.env b/linux/ecosystem/atlassian/jira/8/8.18.2/.env index a103bd055..b2d6216f7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/.env @@ -1,2 +1,3 @@ RELEASE=8.18.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile index 59d8990c1..ae9d81b47 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.18.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile.jdk11 index 9c650d851..89b1cbb89 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.18.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.18.2/docker-compose.yml index d7eeb5241..80d9e988a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.18.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.18.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/.env b/linux/ecosystem/atlassian/jira/8/8.19.0/.env index 08e91f935..06fb4a93b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/.env @@ -1,2 +1,3 @@ RELEASE=8.19.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile index 5672eb6f0..b1f0a7bda 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile.jdk11 index 1bcaa3d73..30e0f7131 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.19.0/docker-compose.yml index 2e4f6fbc3..1baf7dbc0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.19.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/.env b/linux/ecosystem/atlassian/jira/8/8.19.1/.env index c93510d63..18812e70f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/.env @@ -1,2 +1,3 @@ RELEASE=8.19.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile index 284cec7cf..c0e6d6857 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile.jdk11 index 372284b07..3c23a0885 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.19.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.19.1/docker-compose.yml index af9d1f2bc..1690d4f62 100644 --- a/linux/ecosystem/atlassian/jira/8/8.19.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.19.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.2.0/.env b/linux/ecosystem/atlassian/jira/8/8.2.0/.env index a34dc4ea3..a5c3e2a57 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.2.0/.env @@ -1,2 +1,3 @@ RELEASE=8.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile index 79618ce1d..a7d2aec8a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile.jdk11 index de13d83af..e3edbb963 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.2.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml index a239062b5..abffa17c5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.2.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.2.1/.env b/linux/ecosystem/atlassian/jira/8/8.2.1/.env index d1106e42a..b6df117e3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.2.1/.env @@ -1,2 +1,3 @@ RELEASE=8.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile index 411292ffe..386481f16 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile.jdk11 index a048e6fd6..3259d2c87 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.2.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml index ab5c6a23c..6cef18b9a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.2.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.2.2/.env b/linux/ecosystem/atlassian/jira/8/8.2.2/.env index 8b963f935..00fba2ff4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.2.2/.env @@ -1,2 +1,3 @@ RELEASE=8.2.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile index 879bced41..c65c5dbde 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile.jdk11 index 401b75c20..558ce961b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.2.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml index fa80a3bd5..f3b9ce477 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.2.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.2.3/.env b/linux/ecosystem/atlassian/jira/8/8.2.3/.env index e1257c5e9..c267eadb8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.2.3/.env @@ -1,2 +1,3 @@ RELEASE=8.2.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile index 47145af54..25bc5e195 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile.jdk11 index 58b76e52e..01093d23b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.2.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml index 8e31f4984..c1a8ae73b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.2.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.2.4/.env b/linux/ecosystem/atlassian/jira/8/8.2.4/.env index 7f51d67af..8b2d59d88 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.4/.env +++ b/linux/ecosystem/atlassian/jira/8/8.2.4/.env @@ -1,2 +1,3 @@ RELEASE=8.2.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile index f2fc11a0f..b45e0f2aa 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile.jdk11 index 7dc2227aa..7fdfaa308 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.2.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml index 25a9d0f59..eceec625e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.2.4" diff --git a/linux/ecosystem/atlassian/jira/8/8.2.5/.env b/linux/ecosystem/atlassian/jira/8/8.2.5/.env index f20129aa6..561163e7b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.5/.env +++ b/linux/ecosystem/atlassian/jira/8/8.2.5/.env @@ -1,2 +1,3 @@ RELEASE=8.2.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile index 36258ec38..f1b58e6f4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile.jdk11 index 2acd08199..236f7f921 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.2.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml index 4030c3514..cfd17fc60 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.2.5" diff --git a/linux/ecosystem/atlassian/jira/8/8.2.6/.env b/linux/ecosystem/atlassian/jira/8/8.2.6/.env index 1b182ce59..12d21ecf7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.6/.env +++ b/linux/ecosystem/atlassian/jira/8/8.2.6/.env @@ -1,2 +1,3 @@ RELEASE=8.2.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile index afd8f6420..f6a4e4c7b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile.jdk11 index c50e8ab59..b49928dc4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.2.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.2.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml index 8821cc3a5..32162eb24 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.2.6" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/.env b/linux/ecosystem/atlassian/jira/8/8.20.0/.env index c3fefd8de..5de47e69a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/.env @@ -1,2 +1,3 @@ RELEASE=8.20.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile index 9e22e257a..b0ccc33d7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile.jdk11 index 5511bd158..91dad2e64 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.0/docker-compose.yml index 926056c8d..64b98cab3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.1/.env b/linux/ecosystem/atlassian/jira/8/8.20.1/.env index 1d243e7e4..65781d710 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.1/.env @@ -1,2 +1,3 @@ RELEASE=8.20.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile index 3bf12e4b1..257a0dce7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile.jdk11 index 29a053585..6db2edfa6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.1/docker-compose.yml index 6e1756531..cd5adfc58 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.10/.env b/linux/ecosystem/atlassian/jira/8/8.20.10/.env index f048c1a7c..10b45a6c0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.10/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.10/.env @@ -1,2 +1,3 @@ RELEASE=8.20.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile index 33b99cb84..a13ca76b6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile.jdk11 index c4dd358c5..36cd5f688 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.10/docker-compose.yml index 273b0ceaa..c7dd14795 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.10" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.11/.env b/linux/ecosystem/atlassian/jira/8/8.20.11/.env index 077e3c049..d00e797af 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.11/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.11/.env @@ -1,2 +1,3 @@ RELEASE=8.20.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile index bad0194b5..7667343ae 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile.jdk11 index 47708ac48..d3c75fda7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.11/docker-compose.yml index 5d6a761f9..bc4f6c04f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.11" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.12/.env b/linux/ecosystem/atlassian/jira/8/8.20.12/.env index 2d906102b..c850c111a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.12/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.12/.env @@ -1,2 +1,3 @@ RELEASE=8.20.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile index 34f38f03a..bfe314e09 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile.jdk11 index bd24f508b..27ea435cd 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.12/docker-compose.yml index 92ae5b991..bf3ec3b51 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.12" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.13/.env b/linux/ecosystem/atlassian/jira/8/8.20.13/.env index 24701fdb4..c0f3ec25a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.13/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.13/.env @@ -1,2 +1,3 @@ RELEASE=8.20.13 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile index 2cb057716..7254c21de 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile.jdk11 index 670c250bf..d53e485c3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.13/docker-compose.yml index 99014e373..6bc090914 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.13" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.14/.env b/linux/ecosystem/atlassian/jira/8/8.20.14/.env index 371b2781a..32d0da7da 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.14/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.14/.env @@ -1,2 +1,3 @@ RELEASE=8.20.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile index 49fffed18..c51e1b22a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile.jdk11 index 40a673675..3ff129df1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.14/docker-compose.yml index 4d11567ec..024a39f08 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.14" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.15/.env b/linux/ecosystem/atlassian/jira/8/8.20.15/.env index f5b50e8e5..ba17f27ac 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.15/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.15/.env @@ -1,2 +1,3 @@ RELEASE=8.20.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile index 0de7808ee..a5b73fd84 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile.jdk11 index 0db24d474..442074f38 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.15/docker-compose.yml index aa79f4ce3..70cd2ef1c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.15" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.16/.env b/linux/ecosystem/atlassian/jira/8/8.20.16/.env index 7eb1920f4..0fabc96cd 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.16/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.16/.env @@ -1,2 +1,3 @@ RELEASE=8.20.16 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile index 9f480959f..b5276aae2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile.jdk11 index 09051ef08..ca038cd66 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.16/docker-compose.yml index c8e74e050..aef65c8f9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.16" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.17/.env b/linux/ecosystem/atlassian/jira/8/8.20.17/.env index 76c1c15a1..de3f20e07 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.17/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.17/.env @@ -1,2 +1,3 @@ RELEASE=8.20.17 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile index 917d8de5d..c89e3fa10 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile.jdk11 index 14003d48e..33e0e0f42 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.17/docker-compose.yml index 98636abce..40a673e13 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.17" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.19/.env b/linux/ecosystem/atlassian/jira/8/8.20.19/.env index 8746a9e75..edc3e817c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.19/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.19/.env @@ -1,2 +1,3 @@ RELEASE=8.20.19 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile index ddd66872f..1c98b1ad4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile.jdk11 index 7cc24787e..9eddab040 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.19/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.19/docker-compose.yml index 2221628c0..56f57c64d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.19" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.2/.env b/linux/ecosystem/atlassian/jira/8/8.20.2/.env index 3cff8d158..3bed75e9c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.2/.env @@ -1,2 +1,3 @@ RELEASE=8.20.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile index 59aaf809e..2d3725ae2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile.jdk11 index ab39e3c92..6fa0b79c4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.2/docker-compose.yml index 8d6fc4735..bcd1fc840 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.20/.env b/linux/ecosystem/atlassian/jira/8/8.20.20/.env index 47fa720c4..8abf699d9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.20/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.20/.env @@ -1,2 +1,3 @@ RELEASE=8.20.20 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile index 063d7218e..96f1f6aeb 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile.jdk11 index 9f3b973b9..5b6c0b914 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.20/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.20/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.20/docker-compose.yml index d0b5e8fb2..e61871559 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.20/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.20" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.21/.env b/linux/ecosystem/atlassian/jira/8/8.20.21/.env index e5da1e649..b50bfa488 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.21/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.21/.env @@ -1,2 +1,3 @@ RELEASE=8.20.21 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile index 3dc98a9a8..b3812b4e3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile.jdk11 index 4d41e38fc..2b8f2a70a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.21/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.21/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.21/docker-compose.yml index ace14f00c..cf9935afd 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.21/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.21" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.22/.env b/linux/ecosystem/atlassian/jira/8/8.20.22/.env index 4e77776b4..8161d9bf6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.22/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.22/.env @@ -1,2 +1,3 @@ RELEASE=8.20.22 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile index 323843a75..b718022fe 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile.jdk11 index fec4d54d9..292bfac29 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.22/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.22/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.22/docker-compose.yml index 825126cd2..5f3a9bd85 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.22/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.22" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.23/.env b/linux/ecosystem/atlassian/jira/8/8.20.23/.env index 7fa4468bd..3ae9d719c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.23/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.23/.env @@ -1,2 +1,3 @@ RELEASE=8.20.23 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile index 951980644..40802615f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile.jdk11 index 23246a1ff..ac8d03224 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.23/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.23/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.23/docker-compose.yml index 09876abc0..fc320b136 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.23/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.23" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.24/.env b/linux/ecosystem/atlassian/jira/8/8.20.24/.env index 203beb0e3..3441f10eb 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.24/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.24/.env @@ -1,2 +1,3 @@ RELEASE=8.20.24 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile index 93e33334d..fe8a88230 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.24 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile.jdk11 index 7a5cf559b..c5ee060a3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.24/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.24 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.24/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.24/docker-compose.yml index a1e600f3e..8a08d7982 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.24/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.24/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.24" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.25/.env b/linux/ecosystem/atlassian/jira/8/8.20.25/.env index 759ac95d6..28cd87aca 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.25/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.25/.env @@ -1,2 +1,3 @@ RELEASE=8.20.25 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile index 47d2e7d4e..8bd1f90c6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.25 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile.jdk11 index 4b713da43..b59f720e0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.25/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.25 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.25/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.25/docker-compose.yml index c89dc3116..d1bfcf663 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.25/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.25/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.25" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.26/.env b/linux/ecosystem/atlassian/jira/8/8.20.26/.env index 8fbef48d2..6597aaa04 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.26/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.26/.env @@ -1,2 +1,3 @@ RELEASE=8.20.26 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile index 8657b9665..0b903f7f0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.26 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile.jdk11 index b9e3ca978..d02545cfe 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.26/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.26 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.26/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.26/docker-compose.yml index b37cdf7b7..7b3093639 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.26/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.26/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.26" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.27/.env b/linux/ecosystem/atlassian/jira/8/8.20.27/.env index 4137fcf74..8f8a7eff1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.27/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.27/.env @@ -1,2 +1,3 @@ RELEASE=8.20.27 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile index 808110366..640b05fcb 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.27 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile.jdk11 index 19b77f516..ae68bc3a3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.27/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.27 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.27/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.27/docker-compose.yml index c93c4efde..b42936003 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.27/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.27/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.27" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.28/.env b/linux/ecosystem/atlassian/jira/8/8.20.28/.env index 23a7bd990..3efc1bb26 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.28/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.28/.env @@ -1,2 +1,3 @@ RELEASE=8.20.28 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile index 041fac94a..dd2be937c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.28 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile.jdk11 index 5b58f89a2..c5d645ad1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.28/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.28 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.28/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.28/docker-compose.yml index b66728635..5f08bbd8e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.28/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.28/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.28" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.29/.env b/linux/ecosystem/atlassian/jira/8/8.20.29/.env index 77a96792b..1c85ef80c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.29/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.29/.env @@ -1,2 +1,3 @@ RELEASE=8.20.29 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile index f16cd97ad..e56a0cc29 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.29 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile.jdk11 index 1cbd9b4df..832f157de 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.29/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.29 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.29/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.29/docker-compose.yml index a1352c336..3adace616 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.29/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.29/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.29" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.3/.env b/linux/ecosystem/atlassian/jira/8/8.20.3/.env index e830084ad..af248d23f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.3/.env @@ -1,2 +1,3 @@ RELEASE=8.20.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile index 7790918ad..d938c517a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile.jdk11 index d86f8426f..9f5d9a087 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.3/docker-compose.yml index 4c64648f2..0d69c1e10 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.30/.env b/linux/ecosystem/atlassian/jira/8/8.20.30/.env index ea68f46bc..7f6cca119 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.30/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.30/.env @@ -1,2 +1,3 @@ RELEASE=8.20.30 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile index f0e9b4f5f..8d4086fdf 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.30 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile.jdk11 index 4028af30a..96e8d0961 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.30/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.30 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.30/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.30/docker-compose.yml index 0a9bae69f..b1e8863bb 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.30/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.30/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.30" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.4/.env b/linux/ecosystem/atlassian/jira/8/8.20.4/.env index 99a91995a..25cee39ef 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.4/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.4/.env @@ -1,2 +1,3 @@ RELEASE=8.20.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile index 7e6265b0a..a18b52b10 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile.jdk11 index 0b5262506..c355026f9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.4/docker-compose.yml index 66e829b62..3a01efa90 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.4" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.5/.env b/linux/ecosystem/atlassian/jira/8/8.20.5/.env index 43ac6154f..339f535a2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.5/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.5/.env @@ -1,2 +1,3 @@ RELEASE=8.20.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile index 5cbd5d76d..05feb9d5a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile.jdk11 index 840c382ed..579e65d4d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.5/docker-compose.yml index 1864757bb..f175e996f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.5" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.6/.env b/linux/ecosystem/atlassian/jira/8/8.20.6/.env index 5223a6367..e542b32c1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.6/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.6/.env @@ -1,2 +1,3 @@ RELEASE=8.20.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile index 692b02ac1..fa2cd06d7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile.jdk11 index b59892ffa..ba9a7a890 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.6/docker-compose.yml index 3590244dd..b9fb5a391 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.6" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.7/.env b/linux/ecosystem/atlassian/jira/8/8.20.7/.env index 4e44559da..90fac3433 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.7/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.7/.env @@ -1,2 +1,3 @@ RELEASE=8.20.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile index d84a6cc30..ff86bf0ad 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile.jdk11 index c95571363..2e420c494 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.7/docker-compose.yml index a238d5a95..3fbfc5c1c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.7" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.8/.env b/linux/ecosystem/atlassian/jira/8/8.20.8/.env index ba9c6a809..3fa28ca95 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.8/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.8/.env @@ -1,2 +1,3 @@ RELEASE=8.20.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile index 63f1e5431..78671dbd4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile.jdk11 index c79a8cc16..fcbae3383 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.8/docker-compose.yml index d10e0c0ca..4aca0ec6b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.8" diff --git a/linux/ecosystem/atlassian/jira/8/8.20.9/.env b/linux/ecosystem/atlassian/jira/8/8.20.9/.env index 4f8fa2cbf..a27cafabe 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.9/.env +++ b/linux/ecosystem/atlassian/jira/8/8.20.9/.env @@ -1,2 +1,3 @@ RELEASE=8.20.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile index 062ceceb4..045a44db3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile.jdk11 index 552878f4d..42b2b506d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.20.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.20.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.20.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.9/docker-compose.yml index 474e6c56f..5d1ae4425 100644 --- a/linux/ecosystem/atlassian/jira/8/8.20.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.20.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.20.9" diff --git a/linux/ecosystem/atlassian/jira/8/8.21.0/.env b/linux/ecosystem/atlassian/jira/8/8.21.0/.env index fbb1f1cdf..f47ed0138 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.21.0/.env @@ -1,2 +1,3 @@ RELEASE=8.21.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile index 0737b3e84..89d24c3b3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.21.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile.jdk11 index 08970250f..40225522d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.21.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.21.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.21.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.21.0/docker-compose.yml index 735670287..669684aac 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.21.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.21.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.21.1/.env b/linux/ecosystem/atlassian/jira/8/8.21.1/.env index 0076ee1bd..381c691bc 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.21.1/.env @@ -1,2 +1,3 @@ RELEASE=8.21.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile index 06cf59032..a106a46d3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.21.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile.jdk11 index d61fdff94..d97f1c246 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.21.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.21.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.21.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.21.1/docker-compose.yml index 97e0997fb..4c40acb0d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.21.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.21.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.21.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.22.0/.env b/linux/ecosystem/atlassian/jira/8/8.22.0/.env index 3f663d05d..42485ef93 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.22.0/.env @@ -1,2 +1,3 @@ RELEASE=8.22.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile index 2072a0e54..bbd6b0e55 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile.jdk11 index de3194e22..2c3e4199f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.22.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.22.0/docker-compose.yml index a4f541950..9f80b5cff 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.22.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.22.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.22.1/.env b/linux/ecosystem/atlassian/jira/8/8.22.1/.env index d5946fee1..8dfe000a0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.22.1/.env @@ -1,2 +1,3 @@ RELEASE=8.22.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile index 53351f2bc..e0962a985 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile.jdk11 index 4fceb0e4f..52a583751 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.22.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.22.1/docker-compose.yml index 7fa019a6d..60a5abfa8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.22.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.22.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.22.2/.env b/linux/ecosystem/atlassian/jira/8/8.22.2/.env index de3caa854..003e6bbb3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.22.2/.env @@ -1,2 +1,3 @@ RELEASE=8.22.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile index ae37a58eb..24caa8985 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile.jdk11 index 64692f0fa..3f9883b46 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.22.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.22.2/docker-compose.yml index 64e27f070..f54d6a93a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.22.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.22.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.22.3/.env b/linux/ecosystem/atlassian/jira/8/8.22.3/.env index 3e35389ae..579d873a1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.22.3/.env @@ -1,2 +1,3 @@ RELEASE=8.22.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile index b2b805f0f..4a92a9b95 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile.jdk11 index 492dbf44e..db9f81caf 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.22.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.22.3/docker-compose.yml index 25c0038af..0d2b17635 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.22.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.22.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.22.4/.env b/linux/ecosystem/atlassian/jira/8/8.22.4/.env index 2a759d14c..803b4b310 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.4/.env +++ b/linux/ecosystem/atlassian/jira/8/8.22.4/.env @@ -1,2 +1,3 @@ RELEASE=8.22.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile index 77aefde75..92795f1ea 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile.jdk11 index b511a5eb5..1c4c41fa4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.22.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.22.4/docker-compose.yml index 38fce32ba..676dbb9b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.22.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.22.4" diff --git a/linux/ecosystem/atlassian/jira/8/8.22.5/.env b/linux/ecosystem/atlassian/jira/8/8.22.5/.env index 02e7ad11f..81afeaf49 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.5/.env +++ b/linux/ecosystem/atlassian/jira/8/8.22.5/.env @@ -1,2 +1,3 @@ RELEASE=8.22.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile index d143c9b4c..c9f653f60 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile.jdk11 index 8f15d3db9..e98d8cfc4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.22.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.22.5/docker-compose.yml index ab3931d9b..bee815c6d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.22.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.22.5" diff --git a/linux/ecosystem/atlassian/jira/8/8.22.6/.env b/linux/ecosystem/atlassian/jira/8/8.22.6/.env index d056ddb81..97999cf7d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.6/.env +++ b/linux/ecosystem/atlassian/jira/8/8.22.6/.env @@ -1,2 +1,3 @@ RELEASE=8.22.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile index 8489f40c8..2bb3bd0d9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile.jdk11 index 14f595757..ca37a035e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.22.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.22.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.22.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.22.6/docker-compose.yml index 8338ac7ec..f2768326b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.22.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.22.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.22.6" diff --git a/linux/ecosystem/atlassian/jira/8/8.3.0/.env b/linux/ecosystem/atlassian/jira/8/8.3.0/.env index fcabf3691..e137c3205 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.3.0/.env @@ -1,2 +1,3 @@ RELEASE=8.3.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile index a6dce804c..c3c832919 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile.jdk11 index 731057636..7c2a444b9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.3.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml index 05c6866c6..155c59818 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.3.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.3.1/.env b/linux/ecosystem/atlassian/jira/8/8.3.1/.env index ea750df6c..18f618c2b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.3.1/.env @@ -1,2 +1,3 @@ RELEASE=8.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile index 5240f0446..f73bdd52a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile.jdk11 index a0701fcc0..176024bb9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.3.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml index 27d5f3f0f..a01f0fede 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.3.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.3.2/.env b/linux/ecosystem/atlassian/jira/8/8.3.2/.env index 07c993f3e..492fe02ea 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.3.2/.env @@ -1,2 +1,3 @@ RELEASE=8.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile index 52c7744be..5512c5cef 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile.jdk11 index 14e42d27d..a33d9cb3a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.3.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml index 3778b7b0b..7c7f87a5b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.3.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.3.3/.env b/linux/ecosystem/atlassian/jira/8/8.3.3/.env index d0866ad53..03b0c0944 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.3.3/.env @@ -1,2 +1,3 @@ RELEASE=8.3.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile index 63b8b1dbd..5a811424b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile.jdk11 index 3751a7c9e..780746e9c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.3.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml index 7eef91841..7f139d634 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.3.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.3.4/.env b/linux/ecosystem/atlassian/jira/8/8.3.4/.env index 4a254f51a..5ad4c50af 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.4/.env +++ b/linux/ecosystem/atlassian/jira/8/8.3.4/.env @@ -1,2 +1,3 @@ RELEASE=8.3.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile index 08e8d1957..d9d98a28f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile.jdk11 index 85a756643..fe7cd5f4d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.3.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml index dfc3e1a95..87b24f76b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.3.4" diff --git a/linux/ecosystem/atlassian/jira/8/8.3.5/.env b/linux/ecosystem/atlassian/jira/8/8.3.5/.env index de4cc3985..868d84db8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.5/.env +++ b/linux/ecosystem/atlassian/jira/8/8.3.5/.env @@ -1,2 +1,3 @@ RELEASE=8.3.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile index ea8cf920e..a5648409c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile.jdk11 index 3c5f4035b..912db8b7b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.3.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.3.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml index ee90d9280..3b35f68a5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.3.5" diff --git a/linux/ecosystem/atlassian/jira/8/8.4.0/.env b/linux/ecosystem/atlassian/jira/8/8.4.0/.env index b16a676bc..b007be013 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.4.0/.env @@ -1,2 +1,3 @@ RELEASE=8.4.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile index f9eaa451b..c83f34c70 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile.jdk11 index 6eda7de6a..8cc6366ca 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.4.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml index 013e63e2e..24a88bce6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.4.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.4.1/.env b/linux/ecosystem/atlassian/jira/8/8.4.1/.env index 2bb3119e5..15d552215 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.4.1/.env @@ -1,2 +1,3 @@ RELEASE=8.4.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile index 109328930..1fefabce7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile.jdk11 index 6aac06ca2..8df60a9a2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.4.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml index c13a8ffc8..9924f79bb 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.4.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.4.2/.env b/linux/ecosystem/atlassian/jira/8/8.4.2/.env index eb5848656..2b316987c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.4.2/.env @@ -1,2 +1,3 @@ RELEASE=8.4.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile index c0feedd03..674234e8b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile.jdk11 index 0c2d333ee..8b3f81766 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.4.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml index fc45adfdc..8b401138a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.4.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.4.3/.env b/linux/ecosystem/atlassian/jira/8/8.4.3/.env index 2db7303cc..5c962ff98 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.4.3/.env @@ -1,2 +1,3 @@ RELEASE=8.4.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile index 0095a4395..221d3f361 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile.jdk11 index 6ef3a4632..0b57d6ea5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.4.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml index 09f053776..e03a27d3e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.4.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.0/.env b/linux/ecosystem/atlassian/jira/8/8.5.0/.env index a3bd91c66..193bdbaa3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.0/.env @@ -1,2 +1,3 @@ RELEASE=8.5.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile index e5873dc2a..c3e4463f5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile.jdk11 index 4bb36bc4e..2acf210bf 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml index 86c5d086d..7d9954be6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.1/.env b/linux/ecosystem/atlassian/jira/8/8.5.1/.env index 0a6395b7e..d96a0d5b8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.1/.env @@ -1,2 +1,3 @@ RELEASE=8.5.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile index be83ef16d..d1099c670 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile.jdk11 index a8b608bec..26cb3005c 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml index 4553dbd0d..0434542ae 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.10/.env b/linux/ecosystem/atlassian/jira/8/8.5.10/.env index 6e19e7012..f531bfed4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.10/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.10/.env @@ -1,2 +1,3 @@ RELEASE=8.5.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile index 6df23cee0..37ac9cb88 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile.jdk11 index 8bfa7a321..6dd7fe066 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml index 30add3ad6..e89609212 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.10" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.11/.env b/linux/ecosystem/atlassian/jira/8/8.5.11/.env index 033c87180..aec909399 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.11/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.11/.env @@ -1,2 +1,3 @@ RELEASE=8.5.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile index ec43ecf7a..a024167b7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile.jdk11 index 709fde7c2..95b517b06 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml index 775617dc3..c1aa6d8fd 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.11" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.12/.env b/linux/ecosystem/atlassian/jira/8/8.5.12/.env index 025899134..9c7284d2e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.12/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.12/.env @@ -1,2 +1,3 @@ RELEASE=8.5.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile index d9e866f0e..adf61a5a9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile.jdk11 index 31ea516b9..cdbbea762 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml index 35c1b3f56..96a9d0c6d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.12" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.13/.env b/linux/ecosystem/atlassian/jira/8/8.5.13/.env index 15dfe5348..8856664bd 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.13/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.13/.env @@ -1,2 +1,3 @@ RELEASE=8.5.13 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile index 042c68629..61df40122 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile.jdk11 index f28e472ba..168742d7b 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml index c9abb4f9a..8c0399de6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.13" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.14/.env b/linux/ecosystem/atlassian/jira/8/8.5.14/.env index 522bfeca1..d08176624 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.14/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.14/.env @@ -1,2 +1,3 @@ RELEASE=8.5.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile index 55c54c25f..da1f787c4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile.jdk11 index 56977d81d..a51c73bfa 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml index a5ba6beb1..94a384501 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.14" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.15/.env b/linux/ecosystem/atlassian/jira/8/8.5.15/.env index 69796a265..5af0b9236 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.15/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.15/.env @@ -1,2 +1,3 @@ RELEASE=8.5.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile index 3ee065ca2..0e7e13d52 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile.jdk11 index 763c847e8..3610d4724 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml index bad440553..6c4627f51 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.15" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.16/.env b/linux/ecosystem/atlassian/jira/8/8.5.16/.env index 2386abbf2..8a1b1b2ed 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.16/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.16/.env @@ -1,2 +1,3 @@ RELEASE=8.5.16 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile index e56884cd3..faad0be08 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile.jdk11 index 3a2b54828..5b1554bf7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml index ccd25ecad..e1e33a293 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.16" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/.env b/linux/ecosystem/atlassian/jira/8/8.5.17/.env index c6f539f49..6b81ed055 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.17/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/.env @@ -1,2 +1,3 @@ RELEASE=8.5.17 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile index 1fabb68b8..68dee7c68 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile.jdk11 index 83266a764..aba883ff7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.17/docker-compose.yml index 53397e033..c9a618141 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.17" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/.env b/linux/ecosystem/atlassian/jira/8/8.5.18/.env index 7f1cf8e34..288bd2b58 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.18/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/.env @@ -1,2 +1,3 @@ RELEASE=8.5.18 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile index 0b4c62b8b..b13477734 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile.jdk11 index 1f4c5e1e6..8cf5b717d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.18/docker-compose.yml index 876e97a3d..226d2f9e6 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.18" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/.env b/linux/ecosystem/atlassian/jira/8/8.5.19/.env index af9202304..7533ac4b7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.19/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/.env @@ -1,2 +1,3 @@ RELEASE=8.5.19 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile index e5c8dd7be..e7481650d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile.jdk11 index bd60273ff..c10f21a67 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.19/docker-compose.yml index 5f283a47c..89a9be633 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.19" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.2/.env b/linux/ecosystem/atlassian/jira/8/8.5.2/.env index fd8570379..29d842847 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.2/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.2/.env @@ -1,2 +1,3 @@ RELEASE=8.5.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile index a7267d4d4..cfb2fe9fc 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile.jdk11 index d302165f8..761f8f4c4 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml index 5df442ea9..3f7d81519 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.2" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.3/.env b/linux/ecosystem/atlassian/jira/8/8.5.3/.env index 02233e82f..34d50bd5f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.3/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.3/.env @@ -1,2 +1,3 @@ RELEASE=8.5.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile index 53ba3c1e9..261a6a08d 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile.jdk11 index dae0f46a7..bb36b41cf 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml index 1cf376b3f..26ecfa347 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.3" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.4/.env b/linux/ecosystem/atlassian/jira/8/8.5.4/.env index 9d5c60601..37318f753 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.4/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.4/.env @@ -1,2 +1,3 @@ RELEASE=8.5.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile index a7e266ad8..1932dc180 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile.jdk11 index cc34dad62..6127af58a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml index 5efefb497..f26f210e7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.4" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.5/.env b/linux/ecosystem/atlassian/jira/8/8.5.5/.env index bcb4bd39d..b3fa5fa4e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.5/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.5/.env @@ -1,2 +1,3 @@ RELEASE=8.5.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile index b4337e8bf..569729f69 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile.jdk11 index c3c99b5b8..ea1b00553 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml index 016bda92d..1777adae8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.5" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.6/.env b/linux/ecosystem/atlassian/jira/8/8.5.6/.env index 4e25b77bc..ff0c325af 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.6/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.6/.env @@ -1,2 +1,3 @@ RELEASE=8.5.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile index 916ea5e35..c5ce61ee0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile.jdk11 index 2ea4cdeab..9a0986fbd 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml index 00e10e8aa..278f2418a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.6" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.7/.env b/linux/ecosystem/atlassian/jira/8/8.5.7/.env index bcdefdbde..364d4a9d8 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.7/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.7/.env @@ -1,2 +1,3 @@ RELEASE=8.5.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile index 649d820e5..62f33e190 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile.jdk11 index a18ae4b85..2cda7bddc 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml index e3fb8c544..3196a47af 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.7" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.8/.env b/linux/ecosystem/atlassian/jira/8/8.5.8/.env index fba5ba6e6..cdc75f7b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.8/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.8/.env @@ -1,2 +1,3 @@ RELEASE=8.5.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile index 7f14c0488..eec9a280e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile.jdk11 index b1752b562..568bb7ced 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml index 35cd3073a..ef3a3cc91 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.8" diff --git a/linux/ecosystem/atlassian/jira/8/8.5.9/.env b/linux/ecosystem/atlassian/jira/8/8.5.9/.env index 10b7c9baf..73d997f2f 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.9/.env +++ b/linux/ecosystem/atlassian/jira/8/8.5.9/.env @@ -1,2 +1,3 @@ RELEASE=8.5.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile index 940244b69..36f540b4e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile.jdk11 index 538c8d671..e370babf1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.5.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.5.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml index 8b3c4ece3..77a64dba9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.5.9" diff --git a/linux/ecosystem/atlassian/jira/8/8.6.0/.env b/linux/ecosystem/atlassian/jira/8/8.6.0/.env index ae2943d57..45009df18 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.6.0/.env @@ -1,2 +1,3 @@ RELEASE=8.6.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile index 90567969d..47a27c34e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile.jdk11 index 238d62ea6..64ef604ca 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.6.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml index d4a648ba0..b71615e92 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.6.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.6.1/.env b/linux/ecosystem/atlassian/jira/8/8.6.1/.env index 5c4a0b260..61e782fa3 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.6.1/.env @@ -1,2 +1,3 @@ RELEASE=8.6.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile index d13da1741..d040ee1ce 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile.jdk11 index 2ce1e053c..c4baec367 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.6.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.6.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml index 8bbb298ba..bc5fdda5a 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.6.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.7.0/.env b/linux/ecosystem/atlassian/jira/8/8.7.0/.env index 725c8504d..7a5e654dc 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.7.0/.env @@ -1,2 +1,3 @@ RELEASE=8.7.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile index 65bf80b5f..033b76560 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile.jdk11 index 6037d9fff..ec813f0c1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.7.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml index 2f2728b1b..4b89f9a53 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.7.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.7.1/.env b/linux/ecosystem/atlassian/jira/8/8.7.1/.env index d3dd585a2..c3931dcb7 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.7.1/.env @@ -1,2 +1,3 @@ RELEASE=8.7.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile index beb1257f1..e9039eeb0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile.jdk11 index e94a63eb7..85990c2b9 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.7.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml index 93110a2e5..3e56fc635 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.7.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.8.0/.env b/linux/ecosystem/atlassian/jira/8/8.8.0/.env index 9b959693e..96ee07db1 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.8.0/.env @@ -1,2 +1,3 @@ RELEASE=8.8.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile index 4eed6e616..10a1e8497 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile.jdk11 index ecc3ff040..817366581 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.8.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml index 54a29c635..05e3370b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.8.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.8.1/.env b/linux/ecosystem/atlassian/jira/8/8.8.1/.env index 055974241..d894b8bb2 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.8.1/.env @@ -1,2 +1,3 @@ RELEASE=8.8.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile index 178d94820..0ca80a876 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile.jdk11 index fc3e4059b..bb0d5d820 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.8.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml index 26cf2d1c3..44956ce37 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.8.1" diff --git a/linux/ecosystem/atlassian/jira/8/8.9.0/.env b/linux/ecosystem/atlassian/jira/8/8.9.0/.env index d32035ba1..401017457 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.0/.env +++ b/linux/ecosystem/atlassian/jira/8/8.9.0/.env @@ -1,2 +1,3 @@ RELEASE=8.9.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile index 0ac2cad14..4ccb75372 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile.jdk11 index 426910918..880be9efd 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.9.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml index 99f28ec7e..c433367ee 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.9.0" diff --git a/linux/ecosystem/atlassian/jira/8/8.9.1/.env b/linux/ecosystem/atlassian/jira/8/8.9.1/.env index 561df6aa2..f02951dd0 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.1/.env +++ b/linux/ecosystem/atlassian/jira/8/8.9.1/.env @@ -1,2 +1,3 @@ RELEASE=8.9.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile index 7ee16ad13..5ab99346e 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile.jdk11 index 8654e3684..78279fd85 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/8/8.9.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=8.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml index 3a6df7b7e..706b8e426 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:8.9.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.0.0/.env b/linux/ecosystem/atlassian/jira/9/9.0.0/.env index bb1b993ac..961aa126f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.0.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.0.0/.env @@ -1,2 +1,3 @@ RELEASE=9.0.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile index 8a3d94d54..b56247168 100644 --- a/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile.jdk11 index 892b20f3d..6641ca4fc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.0.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.0.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.0.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.0.0/docker-compose.yml index 59fb078f9..79876bafc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.0.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.1.0/.env b/linux/ecosystem/atlassian/jira/9/9.1.0/.env index 039873bb9..3972460db 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.1.0/.env @@ -1,2 +1,3 @@ RELEASE=9.1.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile index eeee2f405..7f9d5bbd7 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile.jdk11 index 208bb3cf7..8c2892fb9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.1.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.1.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.1.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.1.0/docker-compose.yml index e6bfcf468..85fc94edc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.1.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.1.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.1.1/.env b/linux/ecosystem/atlassian/jira/9/9.1.1/.env index 5a8f6ef97..129a1f85f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.1.1/.env @@ -1,2 +1,3 @@ RELEASE=9.1.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile index 1ab8b4d1d..a3dd5b07d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile.jdk11 index 4dd7fb106..2938e4def 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.1.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.1.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.1.1/docker-compose.yml index 8a244ecde..230f7e830 100644 --- a/linux/ecosystem/atlassian/jira/9/9.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.1.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.1.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.10.0/.env b/linux/ecosystem/atlassian/jira/9/9.10.0/.env index b88bb3637..51af5988f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.10.0/.env @@ -1,2 +1,3 @@ RELEASE=9.10.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile index e3bdbc929..78434df8d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk11 index 3c397e831..c9ec716ed 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk17 index 4e9412878..cb45df765 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.10.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.10.0/docker-compose.yml index 0b670a646..ae7762169 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.10.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.10.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.10.1/.env b/linux/ecosystem/atlassian/jira/9/9.10.1/.env index a59b4a11e..181db2274 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.10.1/.env @@ -1,2 +1,3 @@ RELEASE=9.10.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile index f8c9de9a7..0175644b3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk11 index ead4264c9..e9d5ed5bd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk17 index 3e3ecd0ea..229c77685 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.10.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.10.1/docker-compose.yml index e86b97406..e960a46b9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.10.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.10.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.10.2/.env b/linux/ecosystem/atlassian/jira/9/9.10.2/.env index 6080c8982..122bab2a6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.10.2/.env @@ -1,2 +1,3 @@ RELEASE=9.10.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile index 28250893c..b51a1f0d1 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk11 index f441028c9..ea2e503ac 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk17 index 8e0b727de..0ee0a6786 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.10.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.10.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.10.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.10.2/docker-compose.yml index 29fffb7b4..34d6fb341 100644 --- a/linux/ecosystem/atlassian/jira/9/9.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.10.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.10.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.11.0/.env b/linux/ecosystem/atlassian/jira/9/9.11.0/.env index 2a20f1a30..7e175da95 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.11.0/.env @@ -1,2 +1,3 @@ RELEASE=9.11.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile index 02a29e4c8..6dcb05507 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk11 index 1694b71e6..fad7b2a06 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk17 index 559e0f549..99b604c01 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.11.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.11.0/docker-compose.yml index 1399dc512..88902f7bd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.11.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.11.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.11.1/.env b/linux/ecosystem/atlassian/jira/9/9.11.1/.env index 2dd226ab3..d06762319 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.11.1/.env @@ -1,2 +1,3 @@ RELEASE=9.11.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile index c837e0450..e90cff935 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk11 index 4db634770..ec1b47da9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk17 index ba8f6c1a8..fecd1ca1d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.11.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.11.1/docker-compose.yml index 79109ec66..b1416ba54 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.11.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.11.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.11.2/.env b/linux/ecosystem/atlassian/jira/9/9.11.2/.env index 9bc6ff984..d6436087f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.11.2/.env @@ -1,2 +1,3 @@ RELEASE=9.11.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile index a81b7c103..f6c38dba0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk11 index d7ed61955..73ad57f5f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk17 index 57056b80b..8b0532e69 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.11.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.11.2/docker-compose.yml index 0ea283652..db9d9f302 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.11.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.11.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.11.3/.env b/linux/ecosystem/atlassian/jira/9/9.11.3/.env index b06cea4ce..12c22f06b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.3/.env +++ b/linux/ecosystem/atlassian/jira/9/9.11.3/.env @@ -1,2 +1,3 @@ RELEASE=9.11.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile index c8aa404c5..5ec544e95 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk11 index 093480024..6336e4f3c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk17 index af553ad2b..3ab1e9122 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.11.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.11.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.11.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.11.3/docker-compose.yml index d85c85c2e..0cf937248 100644 --- a/linux/ecosystem/atlassian/jira/9/9.11.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.11.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.11.3" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.0/.env b/linux/ecosystem/atlassian/jira/9/9.12.0/.env index 11bc3ea36..a9788826f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.0/.env @@ -1,2 +1,3 @@ RELEASE=9.12.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile index 0be443537..15c66bf4d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk11 index 8d585a40d..150c92315 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk17 index b5069cbc4..14a9936ef 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.0/docker-compose.yml index b3009b633..c7a21acf0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.1/.env b/linux/ecosystem/atlassian/jira/9/9.12.1/.env index df94f12d4..b587df852 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.1/.env @@ -1,2 +1,3 @@ RELEASE=9.12.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile index 2a49a292a..1191c8b08 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk11 index 413700716..95d845750 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk17 index 195e19b79..af80ecad6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.1/docker-compose.yml index 3dccb11aa..89a4c90cb 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.10/.env b/linux/ecosystem/atlassian/jira/9/9.12.10/.env index 95f8d0055..842858f8a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.10/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.10/.env @@ -1,2 +1,3 @@ RELEASE=9.12.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile index da05bf7ae..2270899af 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk11 index cf336e3e0..210e99107 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk17 index df8f608f8..066512479 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.10/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.10/docker-compose.yml index ec0e0db5c..6a745f440 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.10" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.11/.env b/linux/ecosystem/atlassian/jira/9/9.12.11/.env index fe84336ca..97708c9bb 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.11/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.11/.env @@ -1,2 +1,3 @@ RELEASE=9.12.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile index ce1d4b32c..c363ada43 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk11 index 99f7f6d59..64fcd0775 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk17 index 5d603add3..ba14165e8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.11/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.11/docker-compose.yml index c69a1c1d7..1069a3e65 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.11" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.12/.env b/linux/ecosystem/atlassian/jira/9/9.12.12/.env index 5e78b81f4..b116b102c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.12/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.12/.env @@ -1,2 +1,3 @@ RELEASE=9.12.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile index 22424cbbe..83263a448 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk11 index 90559ffd3..0471753cd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk17 index 4b15d1c76..a542c42ec 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.12/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.12/docker-compose.yml index db00611f6..64772dd6b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.12" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.13/.env b/linux/ecosystem/atlassian/jira/9/9.12.13/.env index cb1465bc5..4f475090d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.13/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.13/.env @@ -1,2 +1,3 @@ RELEASE=9.12.13 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile index 3f38c3e00..686b591b4 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk11 index a5435a534..c6acc9b59 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk17 index 97da41723..adff9c378 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.13/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.13 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.13/docker-compose.yml index b303a336e..132273c0f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.13" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.14/.env b/linux/ecosystem/atlassian/jira/9/9.12.14/.env index 222704c69..9a2c7cdd5 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.14/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.14/.env @@ -1,2 +1,3 @@ RELEASE=9.12.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile index 14d47f6cc..6c5849ca6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk11 index e5778ee89..6fede4664 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk17 index eac48ef85..a6f18c2a8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.14/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.14/docker-compose.yml index ae9a054f5..f92ec3ae0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.14" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.15/.env b/linux/ecosystem/atlassian/jira/9/9.12.15/.env index fd1aec7fa..97e462cce 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.15/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.15/.env @@ -1,2 +1,3 @@ RELEASE=9.12.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile index eb06be970..30e0a6acb 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk11 index 820fa0dad..7b0d33423 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk17 index ee4e9e6d9..9a538b6c9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.15/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.15/docker-compose.yml index 4d57cff1c..9cf568041 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.15" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.16/.env b/linux/ecosystem/atlassian/jira/9/9.12.16/.env index 6b18641ad..84ce08e9e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.16/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.16/.env @@ -1,2 +1,3 @@ RELEASE=9.12.16 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile index 66491412e..fbcd5491c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk11 index 3bc7f32a6..1c2634f6d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk17 index f8767e440..36bda3be4 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.16/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.16/docker-compose.yml index 9448823ba..2c8046f4f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.16" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.17/.env b/linux/ecosystem/atlassian/jira/9/9.12.17/.env index 15484cf58..bd1ee9ec2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.17/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.17/.env @@ -1,2 +1,3 @@ RELEASE=9.12.17 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile index 17d3de3d9..7ac82202b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk11 index 15d294ea9..5d8fedbd0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk17 index 3158374a4..d6f71da34 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.17/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.17/docker-compose.yml index 6134df1b8..f73b81d5e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.17" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.18/.env b/linux/ecosystem/atlassian/jira/9/9.12.18/.env new file mode 100644 index 000000000..32d54790a --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.18/.env @@ -0,0 +1,3 @@ +RELEASE=9.12.18 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile new file mode 100644 index 000000000..d5e5512b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.12.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/latest/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile.jdk11 similarity index 82% rename from linux/ecosystem/atlassian/jira/latest/Dockerfile.jdk11 rename to linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile.jdk11 index dab921c6d..0043f1818 100644 --- a/linux/ecosystem/atlassian/jira/latest/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile.jdk11 @@ -5,8 +5,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE=9.12.2 +ARG RELEASE=9.12.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,23 +30,28 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ - sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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/* -RUN updatedb - COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh CMD ["/entrypoint.sh", "-fg"] ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile.jdk17 new file mode 100644 index 000000000..19a309ed9 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.18/Dockerfile.jdk17 @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.12.18 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/9/9.12.18/Makefile b/linux/ecosystem/atlassian/jira/9/9.12.18/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.18/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/jira/9/9.12.18/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.18/docker-compose.yml new file mode 100644 index 000000000..74fc8fdf9 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.18/docker-compose.yml @@ -0,0 +1,19 @@ +services: + app: + image: "epicmorg/jira:9.12.18" + build: + context: . + app-jdk8: + image: "epicmorg/jira:9.12.18-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/jira:9.12.18-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + app-jdk17: + image: "epicmorg/jira:9.12.18-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.18/entrypoint.sh b/linux/ecosystem/atlassian/jira/9/9.12.18/entrypoint.sh new file mode 100755 index 000000000..d87fa3063 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.18/entrypoint.sh @@ -0,0 +1,113 @@ +#!/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:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + +function set_home { + echo "Setting up JIRA_HOME.." + + if [ -z "$JIRA_HOME" ]; then + echo "Variable JIRA_HOME is empty. Aborting" + exit 1 + fi + + echo "JIRA_HOME is: ${JIRA_HOME}" + + echo "Patchig jira-application.properties" + sed -i "s|^jira\.home *=.*|jira.home = ${JIRA_HOME}|" ${JIRA_INSTALL_DIR}/atlassian-jira/WEB-INF/classes/jira-application.properties + +} + +# Start Jira 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" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + set_home + # Now drop privileges + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" + else + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/startup.sh $@" + fi +else + set_home + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" + else + exec "$JIRA_INSTALL_DIR/bin/startup.sh" "$@" + fi +fi diff --git a/linux/ecosystem/atlassian/jira/9/9.12.19/.env b/linux/ecosystem/atlassian/jira/9/9.12.19/.env new file mode 100644 index 000000000..232ac722b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.19/.env @@ -0,0 +1,3 @@ +RELEASE=9.12.19 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile new file mode 100644 index 000000000..7aac0263c --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.12.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/latest/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile.jdk11 similarity index 82% rename from linux/ecosystem/atlassian/jira/latest/Dockerfile.jdk17 rename to linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile.jdk11 index dab921c6d..1c355e0e4 100644 --- a/linux/ecosystem/atlassian/jira/latest/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile.jdk11 @@ -5,8 +5,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE=9.12.2 +ARG RELEASE=9.12.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,23 +30,28 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ - sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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/* -RUN updatedb - COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh CMD ["/entrypoint.sh", "-fg"] ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile.jdk17 new file mode 100644 index 000000000..1278ae79b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.19/Dockerfile.jdk17 @@ -0,0 +1,57 @@ +FROM epicmorg/debian:bookworm-jdk17 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=9.12.19 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp +RUN mkdir -p ${JIRA_INSTALL_DIR} && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ + sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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 diff --git a/linux/ecosystem/atlassian/jira/9/9.12.19/Makefile b/linux/ecosystem/atlassian/jira/9/9.12.19/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.19/Makefile @@ -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 diff --git a/linux/ecosystem/atlassian/jira/9/9.12.19/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.19/docker-compose.yml new file mode 100644 index 000000000..65787bd79 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.19/docker-compose.yml @@ -0,0 +1,19 @@ +services: + app: + image: "epicmorg/jira:9.12.19" + build: + context: . + app-jdk8: + image: "epicmorg/jira:9.12.19-jdk8" + build: + context: . + app-jdk11: + image: "epicmorg/jira:9.12.19-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + app-jdk17: + image: "epicmorg/jira:9.12.19-jdk17" + build: + context: . + dockerfile: Dockerfile.jdk17 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.19/entrypoint.sh b/linux/ecosystem/atlassian/jira/9/9.12.19/entrypoint.sh new file mode 100755 index 000000000..d87fa3063 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/9/9.12.19/entrypoint.sh @@ -0,0 +1,113 @@ +#!/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:=} + +: ${JAVA_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 JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + +function set_home { + echo "Setting up JIRA_HOME.." + + if [ -z "$JIRA_HOME" ]; then + echo "Variable JIRA_HOME is empty. Aborting" + exit 1 + fi + + echo "JIRA_HOME is: ${JIRA_HOME}" + + echo "Patchig jira-application.properties" + sed -i "s|^jira\.home *=.*|jira.home = ${JIRA_HOME}|" ${JIRA_INSTALL_DIR}/atlassian-jira/WEB-INF/classes/jira-application.properties + +} + +# Start Jira 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" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + set_home + # Now drop privileges + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" + else + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/startup.sh $@" + fi +else + set_home + if [ -f "$JIRA_INSTALL_DIR/bin/start-jira.sh" ]; then + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" + else + exec "$JIRA_INSTALL_DIR/bin/startup.sh" "$@" + fi +fi diff --git a/linux/ecosystem/atlassian/jira/9/9.12.2/.env b/linux/ecosystem/atlassian/jira/9/9.12.2/.env index ba7f96020..998cc1012 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.2/.env @@ -1,2 +1,3 @@ RELEASE=9.12.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile index 62a473001..84fd987ae 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk11 index 6b4e70bcd..2538db485 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk17 index 5432013cc..5e0309c0a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.2/docker-compose.yml index 813260b36..16cd6cd5c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.3/.env b/linux/ecosystem/atlassian/jira/9/9.12.3/.env index e42259dfd..656c3c303 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.3/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.3/.env @@ -1,2 +1,3 @@ RELEASE=9.12.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile index ad2468fba..f317338ca 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk11 index 57b407687..1e297b3c0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk17 index ff2ad06f8..553cd1eb2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.3/docker-compose.yml index f58deb711..0649a604f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.3" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.4/.env b/linux/ecosystem/atlassian/jira/9/9.12.4/.env index 973da1fd8..77c0f4e8b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.4/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.4/.env @@ -1,2 +1,3 @@ RELEASE=9.12.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile index b647b222d..5d0c59c09 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk11 index 17c9dfc57..7c7d5368c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk17 index 3c4a9ca7f..f804fd876 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.4/docker-compose.yml index ce9c2a621..e9327142e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.4" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.5/.env b/linux/ecosystem/atlassian/jira/9/9.12.5/.env index 44cb77847..ddd937972 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.5/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.5/.env @@ -1,2 +1,3 @@ RELEASE=9.12.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile index 0c241e85d..330be6bac 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk11 index 3140ff419..b67b0cf13 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk17 index a32d6783d..7f4afbf4f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.5/docker-compose.yml index b343e7509..2c4e7d0ee 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.5" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.6/.env b/linux/ecosystem/atlassian/jira/9/9.12.6/.env index a485dec7b..4392edd3c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.6/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.6/.env @@ -1,2 +1,3 @@ RELEASE=9.12.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile index 563178c74..480befc5f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk11 index 1721697ae..1a01dca2e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk17 index eb63883a3..fcd3c21a5 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.6/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.6/docker-compose.yml index cb86e8779..411b2f73c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.6" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.7/.env b/linux/ecosystem/atlassian/jira/9/9.12.7/.env index 3ceecdaac..54e9d3305 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.7/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.7/.env @@ -1,2 +1,3 @@ RELEASE=9.12.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile index cc2dd4eeb..9666550ed 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk11 index 2b4aa3c29..8af07ead0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk17 index 9bbfe5a3a..f7a3cd6f9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.7/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.7/docker-compose.yml index 955cc13d7..8a831054a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.7" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.8/.env b/linux/ecosystem/atlassian/jira/9/9.12.8/.env index 7c4609513..f6c46b4f8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.8/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.8/.env @@ -1,2 +1,3 @@ RELEASE=9.12.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile index 61d165e3b..afb950c38 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk11 index 6caff4f1a..d40a27f70 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk17 index 134786052..d91c1b1ab 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.8/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.8/docker-compose.yml index e129b5d54..6230a4ebe 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.8" diff --git a/linux/ecosystem/atlassian/jira/9/9.12.9/.env b/linux/ecosystem/atlassian/jira/9/9.12.9/.env index 12bcb2f98..9f5f8aabf 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.9/.env +++ b/linux/ecosystem/atlassian/jira/9/9.12.9/.env @@ -1,2 +1,3 @@ RELEASE=9.12.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile index 62706fa25..415701702 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk11 index 4eab84b98..3c24e5f5f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk17 index 0cf2165c5..5ce226a74 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.12.9/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.12.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.12.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.12.9/docker-compose.yml index f28534e72..f854fe4f3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.12.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.12.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.12.9" diff --git a/linux/ecosystem/atlassian/jira/9/9.13.0/.env b/linux/ecosystem/atlassian/jira/9/9.13.0/.env index a4187b518..7751ce8fb 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.13.0/.env @@ -1,2 +1,3 @@ RELEASE=9.13.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile index 51e12a2f3..49a6bce6b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk11 index 8ed93851a..2780a5e0a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk17 index 5592ed0f8..27913f09c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.13.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.13.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.13.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.13.0/docker-compose.yml index cd1f58bab..a69d7a410 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.13.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.13.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.13.1/.env b/linux/ecosystem/atlassian/jira/9/9.13.1/.env index 159c9f284..a52b64331 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.13.1/.env @@ -1,2 +1,3 @@ RELEASE=9.13.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile index 8c11d0845..93e76895b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk11 index ee2b395ff..b914396cc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk17 index 1d0a415b2..33f091fc6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.13.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.13.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.13.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.13.1/docker-compose.yml index ec3815ee7..74ea88e55 100644 --- a/linux/ecosystem/atlassian/jira/9/9.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.13.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.13.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.14.0/.env b/linux/ecosystem/atlassian/jira/9/9.14.0/.env index 301bc8bd6..9857e9be0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.14.0/.env @@ -1,2 +1,3 @@ RELEASE=9.14.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile index 79765d4a6..6c43e6fab 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk11 index 3ae2ea1ba..1ffff17f4 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk17 index b09db5c19..24f43c481 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.14.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.14.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.14.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.14.0/docker-compose.yml index d58df91a6..a3b8f0b35 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.14.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.14.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.14.1/.env b/linux/ecosystem/atlassian/jira/9/9.14.1/.env index 9ca6ba8bf..811d208b8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.14.1/.env @@ -1,2 +1,3 @@ RELEASE=9.14.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile index f6f0fdf4d..1a58d3b06 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk11 index 6e73130ac..1b803fe2f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk17 index 0e3d8b339..f0eb215aa 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.14.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.14.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.14.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.14.1/docker-compose.yml index 34ea52318..712b0f293 100644 --- a/linux/ecosystem/atlassian/jira/9/9.14.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.14.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.14.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.15.2/.env b/linux/ecosystem/atlassian/jira/9/9.15.2/.env index 005ade3c7..1045157ef 100644 --- a/linux/ecosystem/atlassian/jira/9/9.15.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.15.2/.env @@ -1,2 +1,3 @@ RELEASE=9.15.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile index 288a9cdde..c8b4ffe7c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk11 index 326034f9e..01778db00 100644 --- a/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk17 index 6906d7550..0a96fd3ff 100644 --- a/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.15.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.15.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.15.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.15.2/docker-compose.yml index 0f7603c8d..cdfea1973 100644 --- a/linux/ecosystem/atlassian/jira/9/9.15.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.15.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.15.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.16.0/.env b/linux/ecosystem/atlassian/jira/9/9.16.0/.env index 8f6552416..25ed84e3f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.16.0/.env @@ -1,2 +1,3 @@ RELEASE=9.16.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile index 330a6ee8d..983d6f2de 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk11 index 23132168a..7ff5c1ad3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk17 index ae4f1ef02..9b31e302d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.16.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.16.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.16.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.16.0/docker-compose.yml index d217c8fc4..4e0ad79ab 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.16.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.16.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.16.1/.env b/linux/ecosystem/atlassian/jira/9/9.16.1/.env index 4b6265c97..bff8b1ea1 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.16.1/.env @@ -1,2 +1,3 @@ RELEASE=9.16.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile index 8e508c935..3632e51e0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk11 index 5f571264e..078ec6a17 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk17 index fcc6db318..9200e1e6a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.16.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.16.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.16.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.16.1/docker-compose.yml index 0823f7c05..9e92c13fd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.16.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.16.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.16.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.17.0/.env b/linux/ecosystem/atlassian/jira/9/9.17.0/.env index 767776d70..4dca7de97 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.17.0/.env @@ -1,2 +1,3 @@ RELEASE=9.17.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile index f23896354..0ac7beb40 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk11 index 5395591ff..b1f794710 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk17 index 5d47e885c..08d3bd751 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.17.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.17.0/docker-compose.yml index 415fdbe0e..fa13c20f7 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.17.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.17.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.17.1/.env b/linux/ecosystem/atlassian/jira/9/9.17.1/.env index 5cbd19dff..dbd7786a6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.17.1/.env @@ -1,2 +1,3 @@ RELEASE=9.17.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile index 324552df9..8705d1802 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk11 index 62ad8178b..a4c2a2a4d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk17 index 1fe154e64..678d36778 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.17.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.17.1/docker-compose.yml index 550cf9ff4..1452c42df 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.17.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.17.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.17.2/.env b/linux/ecosystem/atlassian/jira/9/9.17.2/.env index 88a574547..e84cca7e8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.17.2/.env @@ -1,2 +1,3 @@ RELEASE=9.17.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile index 1b751b15b..e9e019fbc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk11 index 33d6549de..b49b45434 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk17 index 34f2d67e9..071d76b00 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.17.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.17.2/docker-compose.yml index bd775c980..bbbcd1423 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.17.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.17.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.17.3/.env b/linux/ecosystem/atlassian/jira/9/9.17.3/.env index a26e96bfe..6ef0c610d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.3/.env +++ b/linux/ecosystem/atlassian/jira/9/9.17.3/.env @@ -1,2 +1,3 @@ RELEASE=9.17.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile index 3b1dfa2b4..731a96111 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk11 index 21a18761e..eea2d2e15 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk17 index 6a38b433f..07ecdf910 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.17.3/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.17.3/docker-compose.yml index 6726a3c36..feda32b94 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.17.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.17.3" diff --git a/linux/ecosystem/atlassian/jira/9/9.17.4/.env b/linux/ecosystem/atlassian/jira/9/9.17.4/.env index 50228aaad..44366063c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.4/.env +++ b/linux/ecosystem/atlassian/jira/9/9.17.4/.env @@ -1,2 +1,3 @@ RELEASE=9.17.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile index c474f2d7c..fd2dd5d42 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk11 index 878484455..11c939c77 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk17 index 97e80762c..6cbfa4d1a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.17.4/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.17.4/docker-compose.yml index 43706cfd8..604808f25 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.17.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.17.4" diff --git a/linux/ecosystem/atlassian/jira/9/9.17.5/.env b/linux/ecosystem/atlassian/jira/9/9.17.5/.env index f95d520f8..288c56720 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.5/.env +++ b/linux/ecosystem/atlassian/jira/9/9.17.5/.env @@ -1,2 +1,3 @@ RELEASE=9.17.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile index 975385a7f..90ed8c32e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk11 index 289be63a0..94e1e9d2d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk17 index 81a0ada6b..4980b4131 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.17.5/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.17.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.17.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.17.5/docker-compose.yml index b0b75e5bf..cff5e9de2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.17.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.17.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.17.5" diff --git a/linux/ecosystem/atlassian/jira/9/9.2.0/.env b/linux/ecosystem/atlassian/jira/9/9.2.0/.env index 2826907d5..44db357cd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.2.0/.env @@ -1,2 +1,3 @@ RELEASE=9.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile index 8acf40f12..b6e9876c3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile.jdk11 index 363ee0250..944340507 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.2.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.2.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.2.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.2.0/docker-compose.yml index ebcbb39e6..2698c0af2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.2.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.2.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.2.1/.env b/linux/ecosystem/atlassian/jira/9/9.2.1/.env index 2e4544b21..7ec0ac7d3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.2.1/.env @@ -1,2 +1,3 @@ RELEASE=9.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile index 3e12d097d..b7112d1a4 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile.jdk11 index fddb509cd..d5acc7db7 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.2.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.2.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.2.1/docker-compose.yml index ac0fbe8d7..b0d26feb3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.2.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.2.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.3.0/.env b/linux/ecosystem/atlassian/jira/9/9.3.0/.env index 33e9dc88e..6f0054c62 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.3.0/.env @@ -1,2 +1,3 @@ RELEASE=9.3.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile index eb710ce1e..d6dcca762 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile.jdk11 index 39935c63e..002cc2447 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.3.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.3.0/docker-compose.yml index 6f4bd37f5..72251b687 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.3.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.3.1/.env b/linux/ecosystem/atlassian/jira/9/9.3.1/.env index a33465acb..69521a2cf 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.3.1/.env @@ -1,2 +1,3 @@ RELEASE=9.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile index e607f84c5..7169fcd69 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile.jdk11 index bb138ad0c..a43257791 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.3.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.3.1/docker-compose.yml index da35cb8c9..46e50c7bc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.3.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.3.2/.env b/linux/ecosystem/atlassian/jira/9/9.3.2/.env index 9e6c0c26c..425debd84 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.3.2/.env @@ -1,2 +1,3 @@ RELEASE=9.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile index bbcfe8570..b290c5541 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile.jdk11 index 1b62c3157..6b98c7a27 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.3.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.3.2/docker-compose.yml index 190bb9eee..0105ba1f1 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.3.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.3.3/.env b/linux/ecosystem/atlassian/jira/9/9.3.3/.env index d42ab105e..eb1c45f5c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.3/.env +++ b/linux/ecosystem/atlassian/jira/9/9.3.3/.env @@ -1,2 +1,3 @@ RELEASE=9.3.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile index 7b034a9c1..a1eb2f5ad 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile.jdk11 index c4568a964..e74fd74fa 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.3.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.3.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.3.3/docker-compose.yml index 754eae965..53d579aeb 100644 --- a/linux/ecosystem/atlassian/jira/9/9.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.3.3" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.0/.env b/linux/ecosystem/atlassian/jira/9/9.4.0/.env index f7c43fbc7..b9b2f81b2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.0/.env @@ -1,2 +1,3 @@ RELEASE=9.4.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile index 885a3b774..2bf670ced 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile.jdk11 index c5db22e6e..3c61f1f46 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.0/docker-compose.yml index fc6912970..edafcc2bf 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.1/.env b/linux/ecosystem/atlassian/jira/9/9.4.1/.env index c249ffd86..b1101333d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.1/.env @@ -1,2 +1,3 @@ RELEASE=9.4.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile index 839eabae2..9ceb4e8c0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile.jdk11 index 7756bc2a5..251ae1bc9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.1/docker-compose.yml index 8dfbe36a6..07e66dbc3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.10/.env b/linux/ecosystem/atlassian/jira/9/9.4.10/.env index 3504ae337..b35fa0d89 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.10/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.10/.env @@ -1,2 +1,3 @@ RELEASE=9.4.10 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile index 847fd1345..af2db58fc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile.jdk11 index ec5ca7138..d503e56c7 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.10/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.10 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.10/docker-compose.yml index e9e524423..5b145339a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.10" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.11/.env b/linux/ecosystem/atlassian/jira/9/9.4.11/.env index c67afe0ad..a2577132d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.11/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.11/.env @@ -1,2 +1,3 @@ RELEASE=9.4.11 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile index 56be4eb06..c85dc65ba 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile.jdk11 index 27ba87b4f..f19cc3e80 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.11/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.11 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.11/docker-compose.yml index 5d404372c..093905b8f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.11" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.12/.env b/linux/ecosystem/atlassian/jira/9/9.4.12/.env index 641fbdbd1..68450ac5d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.12/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.12/.env @@ -1,2 +1,3 @@ RELEASE=9.4.12 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile index 33a63b846..a0c1a4e0e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile.jdk11 index 68da4cacd..e3b51b8aa 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.12/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.12 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.12/docker-compose.yml index 938c7758d..25660265b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.12" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.14/.env b/linux/ecosystem/atlassian/jira/9/9.4.14/.env index 4bb30ac38..9ab3c1ea6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.14/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.14/.env @@ -1,2 +1,3 @@ RELEASE=9.4.14 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile index 46d71d483..7f557697a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile.jdk11 index 65656ef16..756469119 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.14/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.14 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.14/docker-compose.yml index 6e7860580..3efac22b6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.14" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.15/.env b/linux/ecosystem/atlassian/jira/9/9.4.15/.env index 7cdd69a52..974b62534 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.15/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.15/.env @@ -1,2 +1,3 @@ RELEASE=9.4.15 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile index 41927d43c..19dcb114d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile.jdk11 index b174d169d..6407f2c0c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.15/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.15 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.15/docker-compose.yml index d81339e10..11dc4340a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.15" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.16/.env b/linux/ecosystem/atlassian/jira/9/9.4.16/.env index becfa669f..d76781d81 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.16/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.16/.env @@ -1,2 +1,3 @@ RELEASE=9.4.16 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile index 1c82c23e4..ce312ed89 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile.jdk11 index 0ee387815..ed005d10f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.16/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.16 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.16/docker-compose.yml index 1438d2931..3a9dec251 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.16" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.17/.env b/linux/ecosystem/atlassian/jira/9/9.4.17/.env index ad1d9637a..863a0caf2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.17/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.17/.env @@ -1,2 +1,3 @@ RELEASE=9.4.17 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile index 8adb03190..dd370b8d6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile.jdk11 index 86c101043..82113fc68 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.17/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.17 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.17/docker-compose.yml index 7fd414ed5..5caf5dfd3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.17" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.18/.env b/linux/ecosystem/atlassian/jira/9/9.4.18/.env index bec995861..4367e5a17 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.18/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.18/.env @@ -1,2 +1,3 @@ RELEASE=9.4.18 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile index c3e637710..14df4abf0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile.jdk11 index ec9612fb3..f109935ed 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.18/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.18 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.18/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.18/docker-compose.yml index abc8a87b2..1a8923af5 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.18" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.19/.env b/linux/ecosystem/atlassian/jira/9/9.4.19/.env index 8883aceae..eb9190e88 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.19/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.19/.env @@ -1,2 +1,3 @@ RELEASE=9.4.19 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile index 1284827a4..e31e7d3bc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile.jdk11 index f325ff243..49f7a5f87 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.19/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.19 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.19/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.19/docker-compose.yml index 8ba1c5e88..ebd20f39b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.19/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.19" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.2/.env b/linux/ecosystem/atlassian/jira/9/9.4.2/.env index 6fabc74a0..585cddbd2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.2/.env @@ -1,2 +1,3 @@ RELEASE=9.4.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile index 93720c80b..d205654a1 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile.jdk11 index 135457631..0851850ed 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.2/docker-compose.yml index 8ef4df4f8..5fce4a41d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.20/.env b/linux/ecosystem/atlassian/jira/9/9.4.20/.env index 7c9465d7c..0d655c997 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.20/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.20/.env @@ -1,2 +1,3 @@ RELEASE=9.4.20 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile index d3ba3920e..0d96ae46a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile.jdk11 index bffb511be..85baed57f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.20/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.20 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.20/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.20/docker-compose.yml index 2d3e1455d..ccb45bb93 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.20/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.20" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.21/.env b/linux/ecosystem/atlassian/jira/9/9.4.21/.env index b4115f3b1..819674967 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.21/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.21/.env @@ -1,2 +1,3 @@ RELEASE=9.4.21 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile index 929ae4ce9..55acb6fb3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile.jdk11 index f862b33e0..4614ea53a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.21/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.21 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.21/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.21/docker-compose.yml index c6d5af1ea..bc7d7e3f5 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.21/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.21" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.22/.env b/linux/ecosystem/atlassian/jira/9/9.4.22/.env index 9b1063725..ad26bf3b9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.22/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.22/.env @@ -1,2 +1,3 @@ RELEASE=9.4.22 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile index 81295fb0c..221670eff 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile.jdk11 index c8e02fc3a..30022c0d2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.22/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.22 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.22/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.22/docker-compose.yml index 40af6d609..fc4c927e2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.22/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.22" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.23/.env b/linux/ecosystem/atlassian/jira/9/9.4.23/.env index bff6fd9a0..743927597 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.23/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.23/.env @@ -1,2 +1,3 @@ RELEASE=9.4.23 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile index 7a8f7ae9f..3b88e9dd4 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile.jdk11 index 8201b76e9..9eb0f9ecd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.23/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.23 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.23/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.23/docker-compose.yml index 67c3f0ede..9165fa018 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.23/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.23" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.24/.env b/linux/ecosystem/atlassian/jira/9/9.4.24/.env index 2e8139c46..bb85f34d0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.24/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.24/.env @@ -1,2 +1,3 @@ RELEASE=9.4.24 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile index b20d5f6e7..3e1f3262d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.24 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile.jdk11 index 3be81c841..c54b99057 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.24/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.24 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.24/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.24/docker-compose.yml index 07a3cfa81..f2376a25e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.24/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.24/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.24" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.25/.env b/linux/ecosystem/atlassian/jira/9/9.4.25/.env index 939d386dc..4fd85bdb8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.25/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.25/.env @@ -1,2 +1,3 @@ RELEASE=9.4.25 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile index d78479bd1..0148fa89b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.25 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile.jdk11 index 76bfabc2f..4d9ca4be7 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.25/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.25 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.25/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.25/docker-compose.yml index 9c59f1674..8e6c44112 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.25/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.25/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.25" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.26/.env b/linux/ecosystem/atlassian/jira/9/9.4.26/.env index 92d58a88e..d0ee9b292 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.26/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.26/.env @@ -1,2 +1,3 @@ RELEASE=9.4.26 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile index d85d3bd23..ae81f07cd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.26 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile.jdk11 index 5f81e3da6..27c0c9c84 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.26/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.26 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.26/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.26/docker-compose.yml index 3ec6f5f9b..91f8506ae 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.26/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.26/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.26" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.27/.env b/linux/ecosystem/atlassian/jira/9/9.4.27/.env index f179803a2..06a666680 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.27/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.27/.env @@ -1,2 +1,3 @@ RELEASE=9.4.27 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile index 2e9713946..9d4d4b18d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.27 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile.jdk11 index 338a426c1..6b78a0d10 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.27/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.27 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.27/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.27/docker-compose.yml index 28ca7d351..68baf56c0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.27/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.27/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.27" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.28/.env b/linux/ecosystem/atlassian/jira/9/9.4.28/.env index a1a417f78..702cc33f1 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.28/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.28/.env @@ -1,2 +1,3 @@ RELEASE=9.4.28 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile index e4d6562f1..8bbc561fc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.28 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile.jdk11 index 6b4d56994..9be11f05b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.28/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.28 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.28/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.28/docker-compose.yml index 320badcf0..ff341034b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.28/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.28/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.28" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.29/.env b/linux/ecosystem/atlassian/jira/9/9.4.29/.env index 055c21e14..ee5426ec8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.29/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.29/.env @@ -1,2 +1,3 @@ RELEASE=9.4.29 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile index 4ff00b81a..970c66168 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.29 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile.jdk11 index 883fcda6f..88caf45d2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.29/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.29 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.29/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.29/docker-compose.yml index aec3b1260..4f5110046 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.29/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.29/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.29" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.3/.env b/linux/ecosystem/atlassian/jira/9/9.4.3/.env index 80f04c90c..ebfc3f7e0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.3/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.3/.env @@ -1,2 +1,3 @@ RELEASE=9.4.3 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile index 29170b2cb..63cf674f9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile.jdk11 index 26828a84d..43476a85e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.3/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.3 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.3/docker-compose.yml index 90b0640c1..74c5a237d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.3" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.30/.env b/linux/ecosystem/atlassian/jira/9/9.4.30/.env index 5b4847258..ca9bfeaf3 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.30/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.30/.env @@ -1,2 +1,3 @@ RELEASE=9.4.30 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile index 9e3ff67a1..a7c7b9573 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.30 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile.jdk11 index 919b6ed79..a77854793 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.30/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.30 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.30/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.30/docker-compose.yml index b63d4b89d..8a4439f1b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.30/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.30/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.30" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.4/.env b/linux/ecosystem/atlassian/jira/9/9.4.4/.env index a89aba135..d88d8cd1e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.4/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.4/.env @@ -1,2 +1,3 @@ RELEASE=9.4.4 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile index 11c19146a..9ab8ff388 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile.jdk11 index 40ae5a6a4..2d21b633a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.4/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.4 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.4/docker-compose.yml index 80a48ea55..0e73b83ca 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.4" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.5/.env b/linux/ecosystem/atlassian/jira/9/9.4.5/.env index 6d4a3300c..bc987f845 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.5/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.5/.env @@ -1,2 +1,3 @@ RELEASE=9.4.5 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile index 6059155af..27b98ec76 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile.jdk11 index b36793ca7..03ba87f66 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.5/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.5 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.5/docker-compose.yml index 05cb9255f..0ed5f7758 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.5" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.6/.env b/linux/ecosystem/atlassian/jira/9/9.4.6/.env index 35cc812ea..9795b56aa 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.6/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.6/.env @@ -1,2 +1,3 @@ RELEASE=9.4.6 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile index 41a6714f8..26e6f49be 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile.jdk11 index 800d08ff2..27a4c9617 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.6/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.6 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.6/docker-compose.yml index b58c85380..90a9b905a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.6" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.7/.env b/linux/ecosystem/atlassian/jira/9/9.4.7/.env index 015c66fc8..39188a730 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.7/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.7/.env @@ -1,2 +1,3 @@ RELEASE=9.4.7 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile index 0fc938a15..2a98c8162 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile.jdk11 index e9b677f6a..e7f48380a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.7/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.7 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.7/docker-compose.yml index dd59c4731..37cc08aea 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.7" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.8/.env b/linux/ecosystem/atlassian/jira/9/9.4.8/.env index 87c919be0..504c3c1c4 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.8/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.8/.env @@ -1,2 +1,3 @@ RELEASE=9.4.8 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile index 6d8d0b2b3..d08a8b79b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile.jdk11 index 5b84e2099..b90250118 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.8/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.8 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.8/docker-compose.yml index a4f755ace..a04d8378b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.8" diff --git a/linux/ecosystem/atlassian/jira/9/9.4.9/.env b/linux/ecosystem/atlassian/jira/9/9.4.9/.env index fa2e108e9..5b1b84d2d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.9/.env +++ b/linux/ecosystem/atlassian/jira/9/9.4.9/.env @@ -1,2 +1,3 @@ RELEASE=9.4.9 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile index 0debf9ce2..dee09a979 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile.jdk11 index efb153533..d0d554ff5 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.4.9/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.4.9 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.4.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.4.9/docker-compose.yml index 48e8f446f..0651a28f9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.4.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.4.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.4.9" diff --git a/linux/ecosystem/atlassian/jira/9/9.5.0/.env b/linux/ecosystem/atlassian/jira/9/9.5.0/.env index 7570f12b3..8b7c88c1d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.5.0/.env @@ -1,2 +1,3 @@ RELEASE=9.5.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile index 605579cca..90986b5cd 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk11 index 54d082ef9..30f9dbc79 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk17 index f230b82e2..d7b6ef7f8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.5.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.5.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.5.0/docker-compose.yml index 1e5448930..ebc410920 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.5.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.5.1/.env b/linux/ecosystem/atlassian/jira/9/9.5.1/.env index ab5fec4b6..f7e69b1fc 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.5.1/.env @@ -1,2 +1,3 @@ RELEASE=9.5.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile index aea80059c..8be889689 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk11 index cc9e7cc48..1bc74d14f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk17 index b46e223a8..e31ba6854 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.5.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.5.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.5.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.5.1/docker-compose.yml index 68dd866fc..78935bb82 100644 --- a/linux/ecosystem/atlassian/jira/9/9.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.5.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.6.0/.env b/linux/ecosystem/atlassian/jira/9/9.6.0/.env index c363196d0..435b3f51f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.6.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.6.0/.env @@ -1,2 +1,3 @@ RELEASE=9.6.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile index 4cdeb1bd6..3aa55cf1c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk11 index 0bd275055..c565b9fd7 100644 --- a/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk17 index d3f96ffc9..3385910a8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.6.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.6.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.6.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.6.0/docker-compose.yml index 62c822337..358222656 100644 --- a/linux/ecosystem/atlassian/jira/9/9.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.6.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.7.0/.env b/linux/ecosystem/atlassian/jira/9/9.7.0/.env index 6c9be818f..60ce158ce 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.7.0/.env @@ -1,2 +1,3 @@ RELEASE=9.7.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile index a8195773a..8e65342af 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk11 index bd7b33a8a..18cb32070 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk17 index a36ebc3d0..6191bcc41 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.7.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.7.0/docker-compose.yml index 15f2adc22..dfdae1c90 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.7.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.7.1/.env b/linux/ecosystem/atlassian/jira/9/9.7.1/.env index 4724a1fa9..40f1e97ec 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.7.1/.env @@ -1,2 +1,3 @@ RELEASE=9.7.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile index 6269632f0..5fb7a16b1 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk11 index a284e3785..e5da04087 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk17 index 9b6cd6d8c..7d857e1de 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.7.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.7.1/docker-compose.yml index 39b97cb92..f480a256c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.7.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.7.2/.env b/linux/ecosystem/atlassian/jira/9/9.7.2/.env index bf6e3fd43..8791d96d0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.7.2/.env @@ -1,2 +1,3 @@ RELEASE=9.7.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile index ac196df27..3f46479f2 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk11 index 286189e1f..34295df22 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk17 index ccf7d3b4e..ed3e538b7 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.7.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.7.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.7.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.7.2/docker-compose.yml index 8f8230701..41a3a3709 100644 --- a/linux/ecosystem/atlassian/jira/9/9.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.7.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.8.0/.env b/linux/ecosystem/atlassian/jira/9/9.8.0/.env index 48bc07f30..c3cd8bab0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.8.0/.env @@ -1,2 +1,3 @@ RELEASE=9.8.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile index 27de76c59..24e2328b6 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk11 index 28cdbfa6c..6e47bfbb0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk17 index f31f3c8fa..70fa1f852 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.8.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.8.0/docker-compose.yml index 31d5a06bd..556c70b9e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.8.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.8.1/.env b/linux/ecosystem/atlassian/jira/9/9.8.1/.env index cad83b5c4..d47934e57 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.8.1/.env @@ -1,2 +1,3 @@ RELEASE=9.8.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile index 326b1d85d..b11ed359a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk11 index 924a4b4f8..7eaf05337 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk17 index f290ce571..3929d0b7d 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.8.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.8.1/docker-compose.yml index 1a309a21d..b944bc49c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.8.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.8.2/.env b/linux/ecosystem/atlassian/jira/9/9.8.2/.env index 955de7dc4..e1536f2f8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.8.2/.env @@ -1,2 +1,3 @@ RELEASE=9.8.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile index 07d4a0f4c..31bf62e02 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk11 index 3b3467608..ce1db1134 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk17 index 27684b7bd..ed7d49feb 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.8.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.8.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.8.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.8.2/docker-compose.yml index 6819c201d..3f1516129 100644 --- a/linux/ecosystem/atlassian/jira/9/9.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.8.2" diff --git a/linux/ecosystem/atlassian/jira/9/9.9.0/.env b/linux/ecosystem/atlassian/jira/9/9.9.0/.env index 6a784feda..16d65881b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.0/.env +++ b/linux/ecosystem/atlassian/jira/9/9.9.0/.env @@ -1,2 +1,3 @@ RELEASE=9.9.0 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile index 1bdcec008..391e4df0a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk11 index 17af5b2b9..7bd0fc64a 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk17 index f5de1d802..d60903e2e 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.9.0/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.9.0/docker-compose.yml index 0ef1a21ab..216e46236 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.9.0" diff --git a/linux/ecosystem/atlassian/jira/9/9.9.1/.env b/linux/ecosystem/atlassian/jira/9/9.9.1/.env index 55e9a39b0..3c0e7b536 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.1/.env +++ b/linux/ecosystem/atlassian/jira/9/9.9.1/.env @@ -1,2 +1,3 @@ RELEASE=9.9.1 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile index ced15073a..2664fe6ce 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk11 index a419ed0c5..126ba91a9 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk17 index fac2db100..1ea99f84b 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.9.1/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.1 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.9.1/docker-compose.yml index 3749d32ca..7a4afc19f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.9.1" diff --git a/linux/ecosystem/atlassian/jira/9/9.9.2/.env b/linux/ecosystem/atlassian/jira/9/9.9.2/.env index 4b9a56532..2daebfdc0 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.2/.env +++ b/linux/ecosystem/atlassian/jira/9/9.9.2/.env @@ -1,2 +1,3 @@ RELEASE=9.9.2 -DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz \ No newline at end of file diff --git a/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile b/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile index 0b0d51f39..98d54873f 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk11 index 31556b4e6..42ce83da1 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk11 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk17 b/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk17 index 9a91d795e..6baa20bd8 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk17 +++ b/linux/ecosystem/atlassian/jira/9/9.9.2/Dockerfile.jdk17 @@ -7,6 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## ARG RELEASE=9.9.2 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,7 +30,7 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ diff --git a/linux/ecosystem/atlassian/jira/9/9.9.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/9/9.9.2/docker-compose.yml index 92d36ef83..0c4c5fb7c 100644 --- a/linux/ecosystem/atlassian/jira/9/9.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/9/9.9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/jira:9.9.2" diff --git a/linux/ecosystem/atlassian/jira/latest/.env b/linux/ecosystem/atlassian/jira/latest/.env index 7cf8fb455..08bead7a2 100644 --- a/linux/ecosystem/atlassian/jira/latest/.env +++ b/linux/ecosystem/atlassian/jira/latest/.env @@ -1,2 +1,3 @@ RELEASE=9.12.2 DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz diff --git a/linux/ecosystem/atlassian/jira/latest/Dockerfile b/linux/ecosystem/atlassian/jira/latest/Dockerfile index c36cbcca1..73f19757d 100644 --- a/linux/ecosystem/atlassian/jira/latest/Dockerfile +++ b/linux/ecosystem/atlassian/jira/latest/Dockerfile @@ -1,12 +1,13 @@ -FROM epicmorg/debian:bookworm-jdk8 +FROM epicmorg/debian:bookworm-jdk17 LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE=9.12.2 +ARG RELEASE=10.5.0 ARG DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-${RELEASE}.tar.gz +ARG TEMP_ARCHIVE=/tmp/atlassian-jira-software-${RELEASE}.tar.gz ################################################################## # Setup @@ -29,23 +30,28 @@ EXPOSE 8080 ################################################################## ADD ${DOWNLOAD_URL} /tmp RUN mkdir -p ${JIRA_INSTALL_DIR} && \ - tar -xvzf /tmp/atlassian-jira-software-${RELEASE}.tar.gz --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ + tar -xvzf ${TEMP_ARCHIVE} --strip-components=1 --directory "${JIRA_INSTALL_DIR}" && \ chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && \ sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && \ - sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ - update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml + +################################################################## +# 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/* -RUN updatedb - COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh CMD ["/entrypoint.sh", "-fg"] ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN updatedb diff --git a/linux/ecosystem/atlassian/jira/latest/docker-compose.yml b/linux/ecosystem/atlassian/jira/latest/docker-compose.yml index ea5a73b7d..d9f8ef750 100644 --- a/linux/ecosystem/atlassian/jira/latest/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/latest/docker-compose.yml @@ -1,16 +1,9 @@ -#version: '3' services: app: image: "epicmorg/jira:latest" build: context: . - app-jdk11: - image: "epicmorg/jira:latest-jdk11" - build: - context: . - dockerfile: Dockerfile.jdk11 app-jdk17: image: "epicmorg/jira:latest-jdk17" build: context: . - dockerfile: Dockerfile.jdk11 diff --git a/linux/ecosystem/cassandra/3.11/docker-compose.yml b/linux/ecosystem/cassandra/3.11/docker-compose.yml index 18c4d3ffe..c1f3b9cc2 100644 --- a/linux/ecosystem/cassandra/3.11/docker-compose.yml +++ b/linux/ecosystem/cassandra/3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/cassandra:3.11" diff --git a/linux/ecosystem/electron-release-server/docker-compose.yml b/linux/ecosystem/electron-release-server/docker-compose.yml index 474be4224..b49f83677 100644 --- a/linux/ecosystem/electron-release-server/docker-compose.yml +++ b/linux/ecosystem/electron-release-server/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/electron-release-server:latest" diff --git a/linux/ecosystem/electron-release-server/docker-compose.yml.example b/linux/ecosystem/electron-release-server/docker-compose.yml.example index c28e81905..35b6829f7 100644 --- a/linux/ecosystem/electron-release-server/docker-compose.yml.example +++ b/linux/ecosystem/electron-release-server/docker-compose.yml.example @@ -1,4 +1,3 @@ -version: '2' services: web: build: . diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml index 53ff61181..35cfba7c5 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-develop" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/docker-compose.yml index 131f77024..e5f76ad9b 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/docker-compose.yml index 15383da75..2642ea047 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/docker-compose.yml index 3b54ccce1..96a64817e 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/docker-compose.yml index 20dbda137..9184e47e6 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/docker-compose.yml index dbd70def0..b03933c1d 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/docker-compose.yml index 1fb538149..88691ed40 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/docker-compose.yml index 19d65359f..90c16943a 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/docker-compose.yml index 89347580e..215c6fa2f 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/main/docker-compose.yml index 745633258..90312999f 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/docker-compose.yml index b33c1d00a..cc96ad497 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/docker-compose.yml index bb60ab593..a05059986 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/docker-compose.yml index 42ef351ee..566037b1f 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/docker-compose.yml index fe8fe2de0..d122a6350 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/docker-compose.yml index f188e4528..0577e0334 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/docker-compose.yml index e6c3c346b..cdee73513 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/docker-compose.yml index 29ea249e4..fd37f3e9a 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/docker-compose.yml index 296bdf9d0..3be5ea6a4 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/docker-compose.yml index b76df69cc..bbee75b42 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/docker-compose.yml index 1c66c0df0..c06b30e34 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:squeeze-slim" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml index 10b8562b8..3dba82de8 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-develop" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/docker-compose.yml index 8fa3582cf..a9a3dbc94 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/docker-compose.yml index 0e6ba048f..baf7fd398 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/docker-compose.yml index e74135510..0532fe3a0 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/docker-compose.yml index ad7060a3c..0c5c9fb41 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/docker-compose.yml index c24c6fb44..3f62b1f74 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/docker-compose.yml index 2c712898e..5f5e2fa0e 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/docker-compose.yml index ef3fcd7b3..61daae9ea 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/docker-compose.yml index 370cc141f..d1274a72a 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/main/docker-compose.yml index 50dfa9f83..01890e150 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/docker-compose.yml index e79aaacf2..8a2cded81 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/docker-compose.yml index 6fe3f3e50..2a263ad7a 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/docker-compose.yml index 6f2f0dd36..808a76723 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/docker-compose.yml index c99047ec0..4fa1d1d4d 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/docker-compose.yml index f4ef7d50d..359846a3b 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/docker-compose.yml index 8491018bc..bbc7f5f9c 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/docker-compose.yml index 4e6bdc98e..3671aa82b 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/docker-compose.yml index e30c292e7..c92caf5b9 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/docker-compose.yml index 241003367..4dead1dbd 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/docker-compose.yml index 7a0f54287..bb7a04a8c 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:wheezy-slim" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/develop/docker-compose.yml index c5229ddf2..05346f3ec 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-develop" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/docker-compose.yml index 2b6125be6..ca09145bd 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/docker-compose.yml index 221f08634..70c389db3 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/docker-compose.yml index 7df8b1879..09b27bbdf 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/docker-compose.yml index ac6b20f0d..2e1246e83 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/docker-compose.yml index 049b34515..ecdfd7d61 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/docker-compose.yml index efc135a12..ee012c0d0 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk20" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/docker-compose.yml index 9b60ca96b..1f896c598 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk21" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/docker-compose.yml index 0de172eaf..dfbd1cfde 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk22" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/docker-compose.yml index 77da2547a..8b732c368 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/docker-compose.yml index e152198a0..3fa3445ba 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/docker-compose.yml index 11ba01089..ea01b0758 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/main/docker-compose.yml index a9665e162..8751396e3 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/docker-compose.yml index f2192c863..19261abe0 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/docker-compose.yml index c935d812d..136a52cc1 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/docker-compose.yml index eefb1b9be..22ba80e97 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/docker-compose.yml index 6704e8f74..94b14d065 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs12" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/docker-compose.yml index 17aec5db8..5545977fd 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs13" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/docker-compose.yml index bd85d3ce3..1ab5d3707 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs14" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/docker-compose.yml index 5e31cb165..adbdcd348 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs15" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/docker-compose.yml index 9b90912a0..a641dfced 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs16" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/docker-compose.yml index dce01198c..66244f99e 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs17" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/docker-compose.yml index aae312785..599654779 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/docker-compose.yml index 6cc0874cf..6a50493ff 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/docker-compose.yml index e0feed6fd..a813427c8 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/docker-compose.yml index bffd6a4bb..62cfdcbc0 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/docker-compose.yml index b9bd874d3..a02e01fde 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/docker-compose.yml index f8d6cfb00..5396630bb 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/slim/docker-compose.yml index 4525f9603..86f0173b8 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:jessie-slim" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/develop/docker-compose.yml index 3d4b36df6..b090f80e0 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-develop" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/docker-compose.yml index 2fdad933a..076137e0d 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/docker-compose.yml index 3b6bdac2b..f83880180 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/docker-compose.yml index f3bc967d2..c458f0daf 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/docker-compose.yml index ec2bc7199..0727c7b00 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/docker-compose.yml index e605ae16f..38e062b26 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/docker-compose.yml index 0e2f1939a..6383b9044 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk20" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/docker-compose.yml index 1fbda5e48..f72e69bfb 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk21" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/docker-compose.yml index 01615fee3..59fc67d2a 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk22" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/docker-compose.yml index 0b0ed7c6a..ff363ba72 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/docker-compose.yml index d9df0bb9b..2b887cb11 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/docker-compose.yml index 40a23214b..82c8359ab 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml index fe13383b0..6e6a99ec3 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/docker-compose.yml index 5ec44aae3..11d9e8a23 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/docker-compose.yml index ac791b5e3..2a0c0fc72 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/docker-compose.yml index ef2d5fea1..29f7a2136 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/docker-compose.yml index ec3f38255..a2022fa0e 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs12" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/docker-compose.yml index 2d503df8e..5d02a6489 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs13" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/docker-compose.yml index cf3669da2..4505a6332 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs14" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/docker-compose.yml index 243bbe0b7..de3e73a8e 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs15" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/docker-compose.yml index 0458e7809..483228507 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs16" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/docker-compose.yml index d3b857277..aa16024f6 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs17" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/docker-compose.yml index 25ac54bf4..ba47d96f0 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/docker-compose.yml index 9774a65ba..1dddfb29c 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/docker-compose.yml index 435a1b39b..e56922fa3 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/docker-compose.yml index edb548723..ef0b03cff 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/docker-compose.yml index 3ea0525e8..e0684dd43 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/docker-compose.yml index 80205b74c..65fd2d54d 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml index 872109b42..a630eb8d6 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:stretch-slim" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/develop/docker-compose.yml index c693b1ba5..a7c0099d4 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-develop" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/docker-compose.yml index 8f19efeea..0a5133384 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/docker-compose.yml index cef33db5c..9ec1e586d 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/docker-compose.yml index 4fa1e662d..c135cf3e6 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/docker-compose.yml index feee0e506..18399a867 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/docker-compose.yml index 812607d1c..4ceafc2de 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/docker-compose.yml index e52a9a866..7c863bf42 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk20" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/docker-compose.yml index 595c961c3..b406dcbc8 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk21" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/docker-compose.yml index 2352a9ef2..46f1234f7 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk22" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/docker-compose.yml index 4f4130cdf..4cb84e7a8 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/docker-compose.yml index 945c6e0dc..cacf01288 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/docker-compose.yml index 54067e1a5..b435de59a 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/main/docker-compose.yml index 3e032862e..a50e10e7f 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/docker-compose.yml index f0b942b34..40563a115 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs-current" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/docker-compose.yml index 20e699932..1ab748787 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs-lts" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/docker-compose.yml index fdac67477..2e6a85afc 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/docker-compose.yml index 635680401..31b6a358d 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/docker-compose.yml index f2ed9af32..2f5ac03b2 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/docker-compose.yml index 371448647..e65392d02 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs12" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/docker-compose.yml index 4184b40b1..417fe8fe7 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs13" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/docker-compose.yml index 2379b3cdc..e886e62ec 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs14" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/docker-compose.yml index cdfbf6779..a104ee9a4 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs15" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/docker-compose.yml index 9726f0bae..929a6db61 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs16" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/docker-compose.yml index 8bfbcfd80..c8c50b252 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs17" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/docker-compose.yml index 5854149c4..8288b0bbb 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs18" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/docker-compose.yml index 01c7a6fc2..f0a856438 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs19" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/docker-compose.yml index 5bb169f69..c20ad44f7 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs20" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/docker-compose.yml index ecf251ce0..536e1fc65 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs21" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/docker-compose.yml index d2531ae2e..0e0a73b68 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs22" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/docker-compose.yml index 0cecafdc6..f5403b1f3 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/docker-compose.yml index 32c126ac1..d096e8216 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/docker-compose.yml index 0f03a7916..4a2f391a1 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/docker-compose.yml index 9bd67b4b2..d99e12b8d 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/docker-compose.yml index 921ed0cdb..d11b3214e 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/docker-compose.yml index 0cd386be8..5cfe0919a 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/10-buster/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/slim/docker-compose.yml index 9cdf9da89..bf471ced7 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:buster-slim" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/develop/docker-compose.yml index d0b716b22..cc77f8421 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-develop" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml index 0e369b29b..a978723f7 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-dotnet5" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml index e417c5fcd..f4c329ff6 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-dotnet6" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml index 08cd6cc08..428e4f0a0 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-dotnet7" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml index b3cd47351..b311e807d 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-dotnet8" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml index 3bbef14fe..51f969065 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-dotnet9" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml index 238e25926..d1f4c0a0b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-dotnet-lts" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml index c04e14cb6..bc3465852 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-dotnet-sts" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/docker-compose.yml index 0a859ed41..dbdac0176 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk16/docker-compose.yml index a5b58cb28..8c5ae5985 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk17/docker-compose.yml index 7e7c2df28..a621c0590 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk18/docker-compose.yml index 3fb921a10..7f75b5fed 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk19/docker-compose.yml index bf228c4c4..476b82477 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk20/docker-compose.yml index 5394b6935..43ccf9534 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk20" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/docker-compose.yml index a9bfddc9a..dafb7fc92 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk21" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/docker-compose.yml index 9eb764f5b..6f87597a6 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk22" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk23/docker-compose.yml index 27ff1b542..7536bfa33 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk23" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk6/docker-compose.yml index 5615308d8..40d36000f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk7/docker-compose.yml index e30862723..8c8781381 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/docker-compose.yml index b871d44b3..e803931d5 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/main/docker-compose.yml index ba0e93a58..2a3427849 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml index 4414646b0..457a90c1b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs-current" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml index 7fb2defe4..326fc8ad4 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs-lts" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml index 32aaf301f..23390d971 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml index be088895a..9a1336fda 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml index e1babd83c..b89ab01cd 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml index 4627ca9b4..456844807 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs12" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml index 4fa330778..32c40a73d 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs13" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml index 3fc2f04b8..0f9ace14f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs14" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml index 8d2e96661..9294350fa 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs15" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml index d6576d9ab..a7f222e19 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs16" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml index ff6064463..d85a416d9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs17" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml index fef1d86d6..9ff2d73e9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs18" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml index cb9d381d7..f257d5943 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs19" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml index 1ba2cbef5..4746019b5 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs20" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml index 1449c6c61..079044359 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs21" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml index d0105a3dc..a19cb0a7d 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs22" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node23/docker-compose.yml index 91f9cdf47..a79ec590f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs23" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml index 17a1ee740..7f26dd098 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml index e2f7e578b..ffca25de6 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml index 1814d3e24..3e3da5344 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml index 4640d0f1a..cfec11f83 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml index 6660ca220..27ac3feba 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml index fefb21340..f19f014c2 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.6/docker-compose.yml index 0d2280d4b..17e10a7bd 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-2.6" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.7/docker-compose.yml index 580b04d9b..10bbf60aa 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-2.7" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.0/docker-compose.yml index 25061d472..b8829bc07 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.0" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.1/docker-compose.yml index 26712f4f3..9ae3d3254 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.1" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.10/docker-compose.yml index f8f5cf34f..7add013e4 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.10" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.11/docker-compose.yml index 54a83c16f..40302b957 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.11" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.12/docker-compose.yml index 1747fc34b..57e4ab2b5 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.12" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.13/docker-compose.yml index ed57d7d6b..8b87c27e2 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.13" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.2/docker-compose.yml index a8adad99f..403c050a3 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.2" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.3/docker-compose.yml index 7669b0c26..fcfefbc56 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.3" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.4/docker-compose.yml index 49339a754..b4b540cc4 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.4" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.5/docker-compose.yml index c34bb1b68..55ce09a18 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.5" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.6/docker-compose.yml index 178059def..304946543 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.6" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.7/docker-compose.yml index a07a91aef..698fd5026 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.7" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.8/docker-compose.yml index 1fb4f414f..86f856ed1 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.8" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.9/docker-compose.yml index e7f59cb9a..ec9d50594 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/python/3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-python-3.9" diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/docker-compose.yml index 2b5064e2d..c6f36ec16 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bullseye-slim" diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.10/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/Dockerfile similarity index 98% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.10/Dockerfile rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/Dockerfile index fa79ebabb..5aa47db88 100644 --- a/linux/ecosystem/gitlab/runner/amxx-sdk/1.10/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/gitlab-runner:latest +FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/Makefile @@ -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 diff --git a/linux/ecosystem/gitlab/runner/php7.4/README.md b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/php7.4/README.md rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/README.md diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/docker-compose.yml similarity index 51% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.10/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/docker-compose.yml index 15bb4b364..631a7b2ec 100644 --- a/linux/ecosystem/gitlab/runner/amxx-sdk/1.10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/docker-compose.yml @@ -1,6 +1,9 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:amxx-sdk-rc" build: context: . + app-19: + image: "epicmorg/gitlab-runner:amxx-sdk-1.10" + build: + context: . diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.10/inc.tar b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/inc.tar similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.10/inc.tar rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.10/inc.tar diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.9/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/Dockerfile similarity index 98% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.9/Dockerfile rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/Dockerfile index 7e466e756..9840b9ede 100644 --- a/linux/ecosystem/gitlab/runner/amxx-sdk/1.9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/gitlab-runner:latest +FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/Makefile @@ -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 diff --git a/linux/ecosystem/gitlab/runner/php8.0/README.md b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.0/README.md rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/README.md diff --git a/linux/ecosystem/gitlab/runner/amxx-sdk/1.9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/docker-compose.yml similarity index 51% rename from linux/ecosystem/gitlab/runner/amxx-sdk/1.9/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/docker-compose.yml index ba1c2de4f..3cb8ef219 100644 --- a/linux/ecosystem/gitlab/runner/amxx-sdk/1.9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/docker-compose.yml @@ -1,6 +1,9 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:amxx-sdk" build: context: . + app-19: + image: "epicmorg/gitlab-runner:amxx-sdk-1.9" + build: + context: . \ No newline at end of file diff --git a/linux/ecosystem/teamcity/agent/amxx-sdk/1.9/inc.tar b/linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/inc.tar similarity index 100% rename from linux/ecosystem/teamcity/agent/amxx-sdk/1.9/inc.tar rename to linux/ecosystem/epicmorg/debian/12-bookworm/amxx-sdk/1.9/inc.tar diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/Dockerfile similarity index 81% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk8/Dockerfile rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/Dockerfile index cd10b6ec4..18bfd3865 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/Dockerfile @@ -1,92 +1,7 @@ -FROM epicmorg/gitlab-runner:latest +FROM epicmorg/debian:bookworm-develop-jdk11 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u432 -ARG K_JDK_VERSION=8u432 -ARG K_JDK_BUILD_VERSION=b06 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz - -ENV JAVA_HOME=/usr/local/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} -ENV PATH=$PATH:${JAVA_HOME}/bin - -################################################################## -# installing java8 -################################################################## -ADD ${K_JDK_URL} /tmp -RUN tar -xvzf ${K_JDK_TEMP} --directory /usr/local && \ - java -version - -################################################################## -# Additional settings -################################################################## -ENV MAVEN_VERSION=3.9.9 -ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip -ENV MAVEN_ROOT=${EMG_LOCAL_BASE_DIR}/maven/${MAVEN_VERSION} -ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} -ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip - -ENV GRADLE_VERSION=8.13 -ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip -ENV GRADLE_ROOT=${EMG_LOCAL_BASE_DIR}/gradle/${GRADLE_VERSION} -ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} -ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip - -ENV KTC_VERSION=2.1.10 -ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip -ENV KTC_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KTC_VERSION} -ENV KTC_PATH=${KTC_ROOT}/kotlinc -ENV KTC_BIN=${KTC_PATH}/bin - -ENV KNPL_VERSION=${KTC_VERSION} -ENV KNPL_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KNPL_VERSION}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz -ARG KNPL_TEMP=/tmp/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz -ENV KNPL_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KNPL_VERSION} -ENV KNPL_PATH=${KNPL_ROOT}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION} -ENV KNPL_BIN=${KNPL_PATH}/bin - -RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${KNPL_PATH} ${GRADLE_PATH} -ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}:${KNPL_BIN} - -################################################################## -# Maven -################################################################## -ENV MAVEN_HOME=${MAVEN_ROOT} -ENV M2_HOME=${MAVEN_ROOT} - -ADD ${MAVEN_LINK} /tmp -RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} -RUN chmod +x -R ${MAVEN_BIN} -RUN mvn -v - -################################################################## -# GRADLE -################################################################## -ADD ${GRADLE_LINK} /tmp -RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} -RUN chmod +x -R ${GRADLE_BIN} -RUN gradle -v - -################################################################## -# kotlin-compiler -################################################################## -ADD ${KTC_LINK} /tmp -RUN 7zz x ${KTC_TEMP} -o${KTC_ROOT} -RUN chmod +x -R ${KTC_BIN} -RUN kotlin -version - -################################################################## -# kotlin-native-prebuilt-linux -################################################################## -ADD ${KNPL_LINK} /tmp -RUN tar -xvzf ${KNPL_TEMP} --directory ${KTC_ROOT} -RUN chmod +x -R ${KNPL_BIN} - ################################################################## # Android SDK ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/Makefile @@ -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 diff --git a/linux/ecosystem/gitlab/runner/php8.1/README.md b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.1/README.md rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/README.md diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/docker-compose.yml new file mode 100644 index 000000000..b98ade545 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/docker-compose.yml @@ -0,0 +1,5 @@ +services: + app: + image: "epicmorg/debian:bookworm-android-sdk-jdk8" + build: + context: . diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/sdkman.sh b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/sdkman.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk11/sdkman.sh rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk11/sdkman.sh diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/Dockerfile similarity index 81% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/Dockerfile index fa53c9163..c4ac82174 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/Dockerfile @@ -1,92 +1,7 @@ -FROM epicmorg/gitlab-runner:latest +FROM epicmorg/debian:bookworm-develop-jdk17 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.26 -ARG K_JDK_VERSION=11.0.26 -ARG K_JDK_BUILD_VERSION=4 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz - -ENV JAVA_HOME=/usr/local/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} -ENV PATH=$PATH:${JAVA_HOME}/bin - -################################################################## -# installing java11 -################################################################## -ADD ${K_JDK_URL} /tmp -RUN tar -xvzf ${K_JDK_TEMP} --directory /usr/local && \ - java -version - -################################################################## -# Additional settings -################################################################## -ENV MAVEN_VERSION=3.9.9 -ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip -ENV MAVEN_ROOT=${EMG_LOCAL_BASE_DIR}/maven/${MAVEN_VERSION} -ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} -ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip - -ENV GRADLE_VERSION=8.13 -ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip -ENV GRADLE_ROOT=${EMG_LOCAL_BASE_DIR}/gradle/${GRADLE_VERSION} -ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} -ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip - -ENV KTC_VERSION=2.1.10 -ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip -ENV KTC_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KTC_VERSION} -ENV KTC_PATH=${KTC_ROOT}/kotlinc -ENV KTC_BIN=${KTC_PATH}/bin - -ENV KNPL_VERSION=${KTC_VERSION} -ENV KNPL_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KNPL_VERSION}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz -ARG KNPL_TEMP=/tmp/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz -ENV KNPL_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KNPL_VERSION} -ENV KNPL_PATH=${KNPL_ROOT}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION} -ENV KNPL_BIN=${KNPL_PATH}/bin - -RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${KNPL_PATH} ${GRADLE_PATH} -ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}:${KNPL_BIN} - -################################################################## -# Maven -################################################################## -ENV MAVEN_HOME=${MAVEN_ROOT} -ENV M2_HOME=${MAVEN_ROOT} - -ADD ${MAVEN_LINK} /tmp -RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} -RUN chmod +x -R ${MAVEN_BIN} -RUN mvn -v - -################################################################## -# GRADLE -################################################################## -ADD ${GRADLE_LINK} /tmp -RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} -RUN chmod +x -R ${GRADLE_BIN} -RUN gradle -v - -################################################################## -# kotlin-compiler -################################################################## -ADD ${KTC_LINK} /tmp -RUN 7zz x ${KTC_TEMP} -o${KTC_ROOT} -RUN chmod +x -R ${KTC_BIN} -RUN kotlin -version - -################################################################## -# kotlin-native-prebuilt-linux -################################################################## -ADD ${KNPL_LINK} /tmp -RUN tar -xvzf ${KNPL_TEMP} --directory ${KTC_ROOT} -RUN chmod +x -R ${KNPL_BIN} - ################################################################## # Android SDK ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/Makefile @@ -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 diff --git a/linux/ecosystem/gitlab/runner/php8.2/README.md b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.2/README.md rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/README.md diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/docker-compose.yml new file mode 100644 index 000000000..4b95a06e0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/docker-compose.yml @@ -0,0 +1,10 @@ +services: + app: + image: "epicmorg/debian:bookworm-android-sdk" + build: + context: . + + app-jdk17: + image: "epicmorg/debian:bookworm-android-sdk-jdk17" + build: + context: . diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/sdkman.sh b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/sdkman.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk17/sdkman.sh rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk17/sdkman.sh diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/Dockerfile similarity index 81% rename from linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/Dockerfile index 8b7dc32a0..33b0c5380 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/Dockerfile @@ -1,92 +1,7 @@ -FROM epicmorg/gitlab-runner:latest +FROM epicmorg/debian:bookworm-develop-jdk8 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=17 -ARG K_JDK_FULL_VERSION=jdk-17.0.13 -ARG K_JDK_VERSION=17.0.13 -ARG K_JDK_BUILD_VERSION=11 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz - -ENV JAVA_HOME=/usr/local/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} -ENV PATH=$PATH:${JAVA_HOME}/bin - -################################################################## -# installing java17 -################################################################## -ADD ${K_JDK_URL} /tmp -RUN tar -xvzf ${K_JDK_TEMP} --directory /usr/local && \ - java -version - -################################################################## -# Additional settings -################################################################## -ENV MAVEN_VERSION=3.9.9 -ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip -ENV MAVEN_ROOT=${EMG_LOCAL_BASE_DIR}/maven/${MAVEN_VERSION} -ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} -ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip - -ENV GRADLE_VERSION=8.13 -ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip -ENV GRADLE_ROOT=${EMG_LOCAL_BASE_DIR}/gradle/${GRADLE_VERSION} -ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} -ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip - -ENV KTC_VERSION=2.1.10 -ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip -ENV KTC_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KTC_VERSION} -ENV KTC_PATH=${KTC_ROOT}/kotlinc -ENV KTC_BIN=${KTC_PATH}/bin - -ENV KNPL_VERSION=${KTC_VERSION} -ENV KNPL_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KNPL_VERSION}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz -ARG KNPL_TEMP=/tmp/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz -ENV KNPL_ROOT=${EMG_LOCAL_BASE_DIR}/kotlin/${KNPL_VERSION} -ENV KNPL_PATH=${KNPL_ROOT}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION} -ENV KNPL_BIN=${KNPL_PATH}/bin - -RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${KNPL_PATH} ${GRADLE_PATH} -ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}:${KNPL_BIN} - -################################################################## -# Maven -################################################################## -ENV MAVEN_HOME=${MAVEN_ROOT} -ENV M2_HOME=${MAVEN_ROOT} - -ADD ${MAVEN_LINK} /tmp -RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} -RUN chmod +x -R ${MAVEN_BIN} -RUN mvn -v - -################################################################## -# GRADLE -################################################################## -ADD ${GRADLE_LINK} /tmp -RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} -RUN chmod +x -R ${GRADLE_BIN} -RUN gradle -v - -################################################################## -# kotlin-compiler -################################################################## -ADD ${KTC_LINK} /tmp -RUN 7zz x ${KTC_TEMP} -o${KTC_ROOT} -RUN chmod +x -R ${KTC_BIN} -RUN kotlin -version - -################################################################## -# kotlin-native-prebuilt-linux -################################################################## -ADD ${KNPL_LINK} /tmp -RUN tar -xvzf ${KNPL_TEMP} --directory ${KTC_ROOT} -RUN chmod +x -R ${KNPL_BIN} - ################################################################## # Android SDK ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/Makefile new file mode 100644 index 000000000..b5e50619b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/Makefile @@ -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 diff --git a/linux/ecosystem/gitlab/runner/php8.3/README.md b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/README.md similarity index 100% rename from linux/ecosystem/gitlab/runner/php8.3/README.md rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/README.md diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/docker-compose.yml new file mode 100644 index 000000000..b98ade545 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/docker-compose.yml @@ -0,0 +1,5 @@ +services: + app: + image: "epicmorg/debian:bookworm-android-sdk-jdk8" + build: + context: . diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk8/sdkman.sh b/linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/sdkman.sh similarity index 100% rename from linux/ecosystem/teamcity/agent/android-sdk/jdk8/sdkman.sh rename to linux/ecosystem/epicmorg/debian/12-bookworm/android-sdk/jdk8/sdkman.sh diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/develop/docker-compose.yml index b4641f8cb..3b949034f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-develop" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/docker-compose.yml index a9ee52205..ec969dbaa 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-dotnet5" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/docker-compose.yml index 8b7917942..aa607fec7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-dotnet6" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/docker-compose.yml index 583fe5225..a95b0ad82 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-dotnet7" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/docker-compose.yml index 38544bf4c..2226ffa84 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-dotnet8" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/docker-compose.yml index 1600392c5..bc156b8ae 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-dotnet9" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/docker-compose.yml index 8ec53ebe4..0069acbe6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-dotnet-lts" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/docker-compose.yml index 9b08d4313..eab5f6a50 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-dotnet-sts" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/docker-compose.yml index 3a795776c..0d739f5da 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk16/docker-compose.yml index e7f607b7c..c3e87e766 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk17/docker-compose.yml index e887c5b50..24f4d0746 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk18/docker-compose.yml index 154c86dbd..9dd020939 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk19/docker-compose.yml index e24edb9db..70a9abd5a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk20/docker-compose.yml index bb04222a2..63b014dc7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk20" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/docker-compose.yml index 7db9ae2c4..1c9fa280b 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk21" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/docker-compose.yml index 434964991..d273badb6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk22" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk23/docker-compose.yml index 4afbf69e9..e0de41a56 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk23" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk6/docker-compose.yml index 9e68fa9ff..b990825ce 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk7/docker-compose.yml index 3d663d794..bd1546826 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/docker-compose.yml index 0bda6ce69..a36549c71 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/main/docker-compose.yml index 3ded23662..d16af8ec7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/docker-compose.yml index d72624519..0b115ab36 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs-current" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml index eb1d25f82..60d25bf6a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs-lts" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node0.12/docker-compose.yml index bf6a592f7..ff602a729 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/docker-compose.yml index 0663d553a..99b2d3027 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/docker-compose.yml index f155001bf..700e9c4e6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/docker-compose.yml index 9b78d08ec..1ce6ebcf1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs12" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/docker-compose.yml index 566ea7593..e81466d7d 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs13" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/docker-compose.yml index 3739847a4..1a8cb4422 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs14" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/docker-compose.yml index bf7bb6aa0..f20172760 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs15" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/docker-compose.yml index 11265b66a..36ceda510 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs16" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/docker-compose.yml index 9767fcf92..4202d336e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs17" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/docker-compose.yml index 08180963f..ab1e7015c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs18" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/docker-compose.yml index 71556822d..8da36f4ef 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs19" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/docker-compose.yml index 1b08d8f67..e079b1705 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs20" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/docker-compose.yml index 330846b05..00c7b9fea 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs21" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/docker-compose.yml index d17b69a68..b54019fac 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs22" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node23/docker-compose.yml index d17b69a68..b54019fac 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs22" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node4/docker-compose.yml index 47803de7b..b9dfda4cf 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node5/docker-compose.yml index 60a16bc93..bc7673a92 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node6/docker-compose.yml index 9fcc0dc7c..cad7219f6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/docker-compose.yml index b0c4e3b8f..6b31f91b0 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/docker-compose.yml index 8f893a534..ca59162a1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/docker-compose.yml index b1794482e..3b0285c4d 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/docker-compose.yml index 2833f978a..baaf36873 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php5.5" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/docker-compose.yml index 4629c1ba3..372239e54 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php5.6" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml index be8d6c8f4..84e36e33d 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php7.0" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml index 15617e9aa..111d9aa97 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php7.1" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml index bcb724235..703731416 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php7.2" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml index c0fec08cd..8c509435d 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php7.3" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml index 0b54760c6..23bb58940 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php7.4" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml index c00379905..5f035fea3 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php8.0" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml index 3254a8b10..7607a4737 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php8.1" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml index 182e9c553..21f0c3ea1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php8.2" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml index ef0ff57e1..9f125c626 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php8.3" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/docker-compose.yml index e13827e9b..43f95a9e4 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-php8.4" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.6/docker-compose.yml index 7c00693ba..3a0db954e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-2.6" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.7/docker-compose.yml index d8e573a80..100d0202c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-2.7" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.0/docker-compose.yml index 237456707..5d467e2db 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.0" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.1/docker-compose.yml index 983d2d0e6..8d5da63ad 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.1" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.10/docker-compose.yml index 8aee4f4ea..67f1a42f7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.10" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.11/docker-compose.yml index 6696b37b0..ef49818ce 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.11" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.12/docker-compose.yml index ca7758704..bbe553058 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.12" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.13/docker-compose.yml index 75fa8bf01..d4a4f68f3 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.13" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.2/docker-compose.yml index 07662f536..66e7b2304 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.2" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.3/docker-compose.yml index 6b7148c19..279eab128 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.3" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.4/docker-compose.yml index b6f5bf92e..927f456b2 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.4" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.5/docker-compose.yml index 8b7010261..c8bfb6cc0 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.5" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.6/docker-compose.yml index 76cb2363d..524d93614 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.6" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.7/docker-compose.yml index 9495de067..dba77a4da 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.7" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.8/docker-compose.yml index 15b78ac70..943a4b5d6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.8" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.9/docker-compose.yml index 744baf575..34f6a5939 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/python/3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-python-3.9" diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/docker-compose.yml index 92196f1f8..ff66149cf 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:bookworm-slim" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/develop/docker-compose.yml index b3a09ca2b..00a0953d0 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-develop" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/docker-compose.yml index 0d5fa5801..3990eb74d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-dotnet5" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/docker-compose.yml index f5d7b6a3e..1fb52aa8e 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-dotnet6" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/docker-compose.yml index 8e00734cf..88c2bd504 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-dotnet7" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/docker-compose.yml index 52907a82c..e7bfa207b 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-dotnet8" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/docker-compose.yml index 231f16d04..65fd1486d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-dotnet9" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/docker-compose.yml index 8f6bae314..bc7737153 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-dotnet-lts" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/docker-compose.yml index 7e9aa478f..3fbc8ee09 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-dotnet-sts" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/docker-compose.yml index bc4cef4b9..7e34ec3b2 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk16/docker-compose.yml index c18dd281b..9e6b3edb6 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk17/docker-compose.yml index 5351cea89..5f8ccde7e 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk18/docker-compose.yml index 2594a01bd..4811c20e9 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk19/docker-compose.yml index 1f36f93b1..de2694a64 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk20/docker-compose.yml index 71da88126..b21195138 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk20" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/docker-compose.yml index bda7ddb2a..10ce55d9d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk21" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/docker-compose.yml index ee642071a..5fb7a057d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk22" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk23/docker-compose.yml index fe2542e6c..4440ae24f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk23" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk6/docker-compose.yml index 4bd673679..058aa455f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk7/docker-compose.yml index 56366ac4c..fd0451543 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/docker-compose.yml index 060b4c10a..131151ed3 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/main/docker-compose.yml index ad1f42f8e..f37131b23 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/docker-compose.yml index 84fbd4285..41300814e 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs-current" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/docker-compose.yml index ca1b7ea83..23106931f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs-lts" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node0.12/docker-compose.yml index e252a8e72..2b2e1920d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/docker-compose.yml index 88e46e552..0f4925ada 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/docker-compose.yml index 8ea119da0..625d3bbcd 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/docker-compose.yml index 7b82e18ee..2ea9af0a0 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs12" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/docker-compose.yml index 46040e96d..22cb50e6f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs13" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/docker-compose.yml index c7c600a08..7ad516aec 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs14" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/docker-compose.yml index 0fd190a0b..e317e38f8 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs15" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/docker-compose.yml index b456794cb..8b7e432d7 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs16" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/docker-compose.yml index c2017bf47..c0273ca05 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs17" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/docker-compose.yml index 7140b7b9a..fd8d26cb1 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixieodejs18" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/docker-compose.yml index d2d072516..ed2eb45dc 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs19" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/docker-compose.yml index 23e8a382c..21487e72b 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs20" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/docker-compose.yml index f2dc1d1ed..06b6ee5f6 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs21" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/docker-compose.yml index 7581b47a0..8317a672e 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs22" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node23/docker-compose.yml index f94902ad4..7b2472068 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs23" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node4/docker-compose.yml index c68a8937a..3cdd17192 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node5/docker-compose.yml index 235ae41d1..9ca7efb8d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixies5" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node6/docker-compose.yml index 440f69917..14fda664b 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/docker-compose.yml index c3a42a6dd..cee7c3783 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/docker-compose.yml index 3ea76b671..13374017d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/docker-compose.yml index c3a00ec62..d7b57dc78 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/2.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/2.6/docker-compose.yml index 081a36445..a64c9dd95 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/2.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-2.6" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/2.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/2.7/docker-compose.yml index e18316552..885c2eed8 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/2.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-2.7" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.0/docker-compose.yml index 8e8085d44..c74a4563a 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.0" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.1/docker-compose.yml index daae1912b..2cb21c057 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.1" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.10/docker-compose.yml index 1666e9fb6..510434f79 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.10" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.11/docker-compose.yml index 7efe4aab5..205fcfc48 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.11" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.12/docker-compose.yml index 21d5ac460..abcae982c 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.12" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.13/docker-compose.yml index c1bcca159..cc1dad2ce 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.13" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.2/docker-compose.yml index 55a086c20..892cd95db 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.2" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.3/docker-compose.yml index 0754a350c..04e5ac68e 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.3" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.4/docker-compose.yml index afb59acf7..76617c379 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.4" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.5/docker-compose.yml index 0f06ea0a5..f33b7f409 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.5" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.6/docker-compose.yml index 0f8dfc6e7..2a0309989 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.6" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.7/docker-compose.yml index 69561971d..b2185388a 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.7" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.8/docker-compose.yml index 5c6af1bbc..c239aa514 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.8" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.9/docker-compose.yml index 4bf0a130a..724aa089a 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/python/3.9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/python/3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-python-3.9" diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/13-trixie/slim/docker-compose.yml index fdf5188a2..a49a49238 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/13-trixie/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:trixie-slim" diff --git a/linux/ecosystem/epicmorg/debian/sid/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/develop/docker-compose.yml index 79b227d46..3118169cd 100644 --- a/linux/ecosystem/epicmorg/debian/sid/develop/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/develop/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-develop" diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/docker-compose.yml index fa644d6d8..8657be344 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-dotnet5" diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/docker-compose.yml index be6eb4b23..52deea5c4 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-dotnet6" diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/docker-compose.yml index a152b44ec..933e216e3 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-dotnet7" diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/docker-compose.yml index d8c2c3ba8..5b88d8372 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-dotnet8" diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/docker-compose.yml index 6e0881cd4..0724a792d 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-dotnet9" diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/docker-compose.yml index a090fc921..3663ac07e 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-dotnet-lts" diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/docker-compose.yml index de0b2ddb3..798710d94 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-dotnet-sts" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/docker-compose.yml index df9815259..63f98cf9e 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk11" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk16/docker-compose.yml index b5cdbfb17..417c6fd13 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk16" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk17/docker-compose.yml index 6245960f4..1185ecf9f 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk17" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk18/docker-compose.yml index 78cef6870..41a1aef1e 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk18" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk19/docker-compose.yml index f81e28058..6af8cce05 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk19" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk20/docker-compose.yml index 8ce08a17d..579bb412c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk20" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/docker-compose.yml index e13237e1e..fffa67054 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk21" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/docker-compose.yml index c5c5ce508..9248bbfe3 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk22" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk23/docker-compose.yml index 03da95862..e5573c4d7 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk23" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk6/docker-compose.yml index 123747130..ce8da742d 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk6" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk7/docker-compose.yml index 71e9e0f25..1dee341dd 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk7" diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/docker-compose.yml index fc620eed4..febed49a0 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-jdk8" diff --git a/linux/ecosystem/epicmorg/debian/sid/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/main/docker-compose.yml index f2c219009..8f644bf99 100644 --- a/linux/ecosystem/epicmorg/debian/sid/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/current/docker-compose.yml index b9e5e5d2e..a477c6610 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/current/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/current/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs-current" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/docker-compose.yml index 5211871bf..77de2ad46 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs-lts" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node0.12/docker-compose.yml index 98868d90c..a870b1eee 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node0.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs0.12" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/docker-compose.yml index 1a17b76ea..9a90d8e6c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs10" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/docker-compose.yml index 694959e36..f9a28c089 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs11" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/docker-compose.yml index 17a5bff58..e16a17ec8 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs12" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/docker-compose.yml index 5062fade7..21fb6f51b 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs13" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/docker-compose.yml index 7931baeff..4be55268a 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs14" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/docker-compose.yml index d5cca6c96..8ff5848c6 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs15" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/docker-compose.yml index 4dc680194..1ba096746 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs16" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/docker-compose.yml index 1cc264b5c..a5451b47c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs17" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/docker-compose.yml index 99e6133fe..111c5a8b6 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sidodejs18" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/docker-compose.yml index f169b4bdc..d8b6ad88f 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs19" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/docker-compose.yml index c30f34539..df4763303 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs20" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/docker-compose.yml index 927f482e3..284d0be39 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs21" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/docker-compose.yml index a3a68edd5..5514f971c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs22" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node23/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node23/docker-compose.yml index ebbba5efc..493beac9d 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node23/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node23/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs23" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node4/docker-compose.yml index 0d9dc1b67..e601a8b98 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs4" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node5/docker-compose.yml index 72f2a16a1..4846fb7d7 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs5" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node6/docker-compose.yml index a01f9428b..da1404178 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs6" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/docker-compose.yml index 6cfad19a6..e8b4e1b95 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs7" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/docker-compose.yml index 585640f64..f6d76e5c1 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs8" diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/docker-compose.yml index d6e491127..6d9ec5efe 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-nodejs9" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/2.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/2.6/docker-compose.yml index a795a4ff0..a12a8d94c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/2.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/2.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-2.6" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/2.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/2.7/docker-compose.yml index f11943216..d42da8a06 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/2.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/2.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-2.7" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.0/docker-compose.yml index 5e8291bda..13304634e 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.0" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.1/docker-compose.yml index 5e17111fd..148c349c2 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.1" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.10/docker-compose.yml index b365e6bb6..7109032f3 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.10" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.11/docker-compose.yml index e5bfa8dfb..0bb59b9e7 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.11" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.12/docker-compose.yml index 54a379e2e..a2ebcf90f 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.12" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.13/docker-compose.yml index 042183fe5..9030b6dbb 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.13" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.2/docker-compose.yml index 19a136841..7b4793f94 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.2" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.3/docker-compose.yml index 7ce12bd5b..c1ba82ad9 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.3" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.4/docker-compose.yml index e9d7121de..4655a3e73 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.4" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.5/docker-compose.yml index 0126f4179..5dc81284f 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.5" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.6/docker-compose.yml index 1c6084513..4b675f99f 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.6" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.7/docker-compose.yml index c71b38fb8..7a2582b19 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.7" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.8/docker-compose.yml index 1b875658f..b3fdf194f 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.8/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.8" diff --git a/linux/ecosystem/epicmorg/debian/sid/python/3.9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/python/3.9/docker-compose.yml index ca90cdbe4..69afd514a 100644 --- a/linux/ecosystem/epicmorg/debian/sid/python/3.9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/python/3.9/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-python-3.9" diff --git a/linux/ecosystem/epicmorg/debian/sid/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/sid/slim/docker-compose.yml index 9d4bcd409..86fcfca18 100644 --- a/linux/ecosystem/epicmorg/debian/sid/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/sid/slim/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/debian:sid-slim" diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/docker-compose.yml b/linux/ecosystem/gitlab/runner/android-sdk/jdk11/docker-compose.yml deleted file mode 100644 index 86efa0c39..000000000 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/docker-compose.yml +++ /dev/null @@ -1,6 +0,0 @@ -#version: '3' -services: - app: - image: "epicmorg/gitlab-runner:android-sdk-jdk11" - build: - context: . diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/docker-compose.yml b/linux/ecosystem/gitlab/runner/android-sdk/jdk17/docker-compose.yml deleted file mode 100644 index 18316a42f..000000000 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -#version: '3' -services: - app: - image: "epicmorg/gitlab-runner:android-sdk" - build: - context: . - - app-jdk17: - image: "epicmorg/gitlab-runner:android-sdk-jdk17" - build: - context: . diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/docker-compose.yml b/linux/ecosystem/gitlab/runner/android-sdk/jdk8/docker-compose.yml deleted file mode 100644 index c1d670c9e..000000000 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/docker-compose.yml +++ /dev/null @@ -1,6 +0,0 @@ -#version: '3' -services: - app: - image: "epicmorg/gitlab-runner:android-sdk-jdk8" - build: - context: . diff --git a/linux/ecosystem/gitlab/runner/latest/Dockerfile b/linux/ecosystem/gitlab/runner/latest/Dockerfile index 9acb0ffe6..40d7ec06d 100644 --- a/linux/ecosystem/gitlab/runner/latest/Dockerfile +++ b/linux/ecosystem/gitlab/runner/latest/Dockerfile @@ -9,7 +9,7 @@ RUN mkdir -p ${GITLAB_RUNNER_HOME} ${GITLAB_RUNNER_CONF} ${GITLAB_RUNNER_CONF}/c chmod -R 700 /etc/gitlab-runner ################################################################## -# docker setup +# docker and buildah setup ################################################################## #Install packages @@ -24,11 +24,17 @@ RUN install -m 0755 -d /etc/apt/keyrings && \ containerd.io \ docker-buildx-plugin \ docker-compose-plugin \ + buildah \ + fuse-overlayfs \ systemd && \ systemctl disable docker && \ - docker --version + docker --version && \ + buildah --version COPY run-docker.sh /services/run-docker.sh +COPY etc/containers/registries.conf /etc/containers/registries.conf +COPY etc/containers/storage.conf /etc/containers/storage.conf + RUN chmod +x /services/run-docker.sh && \ sync @@ -65,7 +71,7 @@ RUN apt clean -y && \ #Final config STOPSIGNAL SIGQUIT -VOLUME ["${GITLAB_RUNNER_CONF}", "/home/gitlab-runner", "/var/lib/docker"] +VOLUME ["${GITLAB_RUNNER_CONF}", "/home/gitlab-runner", "/var/lib/docker", "/var/lib/containers"] WORKDIR /home/gitlab-runner # Add image configuration and scripts diff --git a/linux/ecosystem/gitlab/runner/latest/containers/registries.conf b/linux/ecosystem/gitlab/runner/latest/containers/registries.conf new file mode 100644 index 000000000..681592e4a --- /dev/null +++ b/linux/ecosystem/gitlab/runner/latest/containers/registries.conf @@ -0,0 +1,79 @@ +# For more information on this configuration file, see containers-registries.conf(5). +# +# NOTE: RISK OF USING UNQUALIFIED IMAGE NAMES +# We recommend always using fully qualified image names including the registry +# server (full dns name), namespace, image name, and tag +# (e.g., registry.redhat.io/ubi8/ubi:latest). Pulling by digest (i.e., +# quay.io/repository/name@digest) further eliminates the ambiguity of tags. +# When using short names, there is always an inherent risk that the image being +# pulled could be spoofed. For example, a user wants to pull an image named +# `foobar` from a registry and expects it to come from myregistry.com. If +# myregistry.com is not first in the search list, an attacker could place a +# different `foobar` image at a registry earlier in the search list. The user +# would accidentally pull and run the attacker's image and code rather than the +# intended content. We recommend only adding registries which are completely +# trusted (i.e., registries which don't allow unknown or anonymous users to +# create accounts with arbitrary names). This will prevent an image from being +# spoofed, squatted or otherwise made insecure. If it is necessary to use one +# of these registries, it should be added at the end of the list. +# +# # An array of host[:port] registries to try when pulling an unqualified image, in order. +# unqualified-search-registries = ["example.com"] +# +# [[registry]] +# # The "prefix" field is used to choose the relevant [[registry]] TOML table; +# # (only) the TOML table with the longest match for the input image name +# # (taking into account namespace/repo/tag/digest separators) is used. +# # +# # The prefix can also be of the form: *.example.com for wildcard subdomain +# # matching. +# # +# # If the prefix field is missing, it defaults to be the same as the "location" field. +# prefix = "example.com/foo" +# +# # If true, unencrypted HTTP as well as TLS connections with untrusted +# # certificates are allowed. +# insecure = false +# +# # If true, pulling images with matching names is forbidden. +# blocked = false +# +# # The physical location of the "prefix"-rooted namespace. +# # +# # By default, this is equal to "prefix" (in which case "prefix" can be omitted +# # and the [[registry]] TOML table can only specify "location"). +# # +# # Example: Given +# # prefix = "example.com/foo" +# # location = "internal-registry-for-example.net/bar" +# # requests for the image example.com/foo/myimage:latest will actually work with the +# # internal-registry-for-example.net/bar/myimage:latest image. +# +# # The location can be empty iff prefix is in a +# # wildcarded format: "*.example.com". In this case, the input reference will +# # be used as-is without any rewrite. +# location = internal-registry-for-example.com/bar" +# +# # (Possibly-partial) mirrors for the "prefix"-rooted namespace. +# # +# # The mirrors are attempted in the specified order; the first one that can be +# # contacted and contains the image will be used (and if none of the mirrors contains the image, +# # the primary location specified by the "registry.location" field, or using the unmodified +# # user-specified reference, is tried last). +# # +# # Each TOML table in the "mirror" array can contain the following fields, with the same semantics +# # as if specified in the [[registry]] TOML table directly: +# # - location +# # - insecure +# [[registry.mirror]] +# location = "example-mirror-0.local/mirror-for-foo" +# [[registry.mirror]] +# location = "example-mirror-1.local/mirrors/foo" +# insecure = true +# # Given the above, a pull of example.com/foo/image:latest will try: +# # 1. example-mirror-0.local/mirror-for-foo/image:latest +# # 2. example-mirror-1.local/mirrors/foo/image:latest +# # 3. internal-registry-for-example.net/bar/image:latest +# # in order, and use the first one that exists. + +unqualified-search-registries = ["docker.io"] diff --git a/linux/ecosystem/gitlab/runner/latest/containers/storage.conf b/linux/ecosystem/gitlab/runner/latest/containers/storage.conf new file mode 100644 index 000000000..edb86fb1d --- /dev/null +++ b/linux/ecosystem/gitlab/runner/latest/containers/storage.conf @@ -0,0 +1,8 @@ +[storage] +driver = "overlay" +runroot = "/run/containers/storage" +graphroot = "/var/lib/containers/storage" +#rootless_storage_path = "$HOME/.local/share/containers/storage" + +[storage.options.overlay] +mount_program = "/usr/bin/fuse-overlayfs" diff --git a/linux/ecosystem/gitlab/runner/latest/docker-compose.yml b/linux/ecosystem/gitlab/runner/latest/docker-compose.yml index 05a9f00a4..4204a0987 100644 --- a/linux/ecosystem/gitlab/runner/latest/docker-compose.yml +++ b/linux/ecosystem/gitlab/runner/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/gitlab-runner:latest" diff --git a/linux/ecosystem/monero/monerod/docker-compose.yml b/linux/ecosystem/monero/monerod/docker-compose.yml index 22f6b745a..8cd2ee2b4 100644 --- a/linux/ecosystem/monero/monerod/docker-compose.yml +++ b/linux/ecosystem/monero/monerod/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/monero:latest" diff --git a/linux/ecosystem/monero/monerod/examples/docker-compose.yml b/linux/ecosystem/monero/monerod/examples/docker-compose.yml index 5fa789913..65dac410e 100644 --- a/linux/ecosystem/monero/monerod/examples/docker-compose.yml +++ b/linux/ecosystem/monero/monerod/examples/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: monerod: @@ -27,7 +26,7 @@ services: - monerod environment: MONEROD_TOR_SERVICE_HOSTS: 18089:monerod:18089 - MONEROD_TOR_SERVICE_#version: '3' + MONEROD_TOR_SERVICE_ volumes: - tor-keys:/var/lib/tor/hidden_service/ diff --git a/linux/ecosystem/monero/p2pool/docker-compose.yml b/linux/ecosystem/monero/p2pool/docker-compose.yml index ebdb769fc..84d830c1a 100644 --- a/linux/ecosystem/monero/p2pool/docker-compose.yml +++ b/linux/ecosystem/monero/p2pool/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/monero:p2pool" diff --git a/linux/ecosystem/monero/p2pool/examples/docker-compose.yml b/linux/ecosystem/monero/p2pool/examples/docker-compose.yml index bff6905aa..58d31c516 100644 --- a/linux/ecosystem/monero/p2pool/examples/docker-compose.yml +++ b/linux/ecosystem/monero/p2pool/examples/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.5' services: monerod: image: sethsimmons/simple-monerod:latest @@ -46,9 +45,9 @@ services: - p2pool environment: MONEROD_TOR_SERVICE_HOSTS: 18089:monerod:18089 - MONEROD_TOR_SERVICE_#version: '3' + MONEROD_TOR_SERVICE_ P2POOL_TOR_SERVICE_HOSTS: 3333:p2pool:3333 - P2POOL_TOR_SERVICE_#version: '3' + P2POOL_TOR_SERVICE_ volumes: - tor-keys:/var/lib/tor/hidden_service/ diff --git a/linux/ecosystem/nginx/1.14.2/main/README.md b/linux/ecosystem/nginx/1.14.2/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.14.2/main/README.md +++ b/linux/ecosystem/nginx/1.14.2/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.14.2/main/docker-compose.yml b/linux/ecosystem/nginx/1.14.2/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.14.2/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.14.2/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.14.2/php/README.md b/linux/ecosystem/nginx/1.14.2/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.14.2/php/README.md +++ b/linux/ecosystem/nginx/1.14.2/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.14.2/php/docker-compose.yml b/linux/ecosystem/nginx/1.14.2/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.14.2/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.14.2/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.14.2/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.14.2/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.14.2/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.14.2/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.15.12/main/README.md b/linux/ecosystem/nginx/1.15.12/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.15.12/main/README.md +++ b/linux/ecosystem/nginx/1.15.12/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.15.12/main/docker-compose.yml b/linux/ecosystem/nginx/1.15.12/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.15.12/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.15.12/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.15.12/php/README.md b/linux/ecosystem/nginx/1.15.12/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.15.12/php/README.md +++ b/linux/ecosystem/nginx/1.15.12/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.15.12/php/docker-compose.yml b/linux/ecosystem/nginx/1.15.12/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.15.12/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.15.12/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.15.12/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.15.12/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.15.12/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.15.12/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.16.1/main/README.md b/linux/ecosystem/nginx/1.16.1/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.16.1/main/README.md +++ b/linux/ecosystem/nginx/1.16.1/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.16.1/main/docker-compose.yml b/linux/ecosystem/nginx/1.16.1/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.16.1/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.16.1/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.16.1/php/README.md b/linux/ecosystem/nginx/1.16.1/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.16.1/php/README.md +++ b/linux/ecosystem/nginx/1.16.1/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.16.1/php/docker-compose.yml b/linux/ecosystem/nginx/1.16.1/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.16.1/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.16.1/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.16.1/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.16.1/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.16.1/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.16.1/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.17.10/main/README.md b/linux/ecosystem/nginx/1.17.10/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.17.10/main/README.md +++ b/linux/ecosystem/nginx/1.17.10/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.17.10/main/docker-compose.yml b/linux/ecosystem/nginx/1.17.10/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.17.10/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.17.10/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.17.10/php/README.md b/linux/ecosystem/nginx/1.17.10/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.17.10/php/README.md +++ b/linux/ecosystem/nginx/1.17.10/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.17.10/php/docker-compose.yml b/linux/ecosystem/nginx/1.17.10/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.17.10/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.17.10/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.17.10/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.17.10/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.17.10/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.17.10/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.18.0/main/README.md b/linux/ecosystem/nginx/1.18.0/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.18.0/main/README.md +++ b/linux/ecosystem/nginx/1.18.0/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.18.0/main/docker-compose.yml b/linux/ecosystem/nginx/1.18.0/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.18.0/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.18.0/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.18.0/php/README.md b/linux/ecosystem/nginx/1.18.0/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.18.0/php/README.md +++ b/linux/ecosystem/nginx/1.18.0/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.18.0/php/docker-compose.yml b/linux/ecosystem/nginx/1.18.0/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.18.0/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.18.0/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.18.0/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.18.0/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.18.0/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.18.0/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.19.10/main/README.md b/linux/ecosystem/nginx/1.19.10/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.19.10/main/README.md +++ b/linux/ecosystem/nginx/1.19.10/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.19.10/main/docker-compose.yml b/linux/ecosystem/nginx/1.19.10/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.19.10/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.19.10/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.19.10/php/README.md b/linux/ecosystem/nginx/1.19.10/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.19.10/php/README.md +++ b/linux/ecosystem/nginx/1.19.10/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.19.10/php/docker-compose.yml b/linux/ecosystem/nginx/1.19.10/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.19.10/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.19.10/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.19.10/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.19.10/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.19.10/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.19.10/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.20.1/main/README.md b/linux/ecosystem/nginx/1.20.1/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.20.1/main/README.md +++ b/linux/ecosystem/nginx/1.20.1/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.20.1/main/docker-compose.yml b/linux/ecosystem/nginx/1.20.1/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.20.1/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.20.1/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.20.1/php/README.md b/linux/ecosystem/nginx/1.20.1/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.20.1/php/README.md +++ b/linux/ecosystem/nginx/1.20.1/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.20.1/php/docker-compose.yml b/linux/ecosystem/nginx/1.20.1/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.20.1/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.20.1/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.20.1/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.20.1/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.20.1/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.20.1/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.21.3/main/README.md b/linux/ecosystem/nginx/1.21.3/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.21.3/main/README.md +++ b/linux/ecosystem/nginx/1.21.3/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.21.3/main/docker-compose.yml b/linux/ecosystem/nginx/1.21.3/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.21.3/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.21.3/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.21.3/php/README.md b/linux/ecosystem/nginx/1.21.3/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.21.3/php/README.md +++ b/linux/ecosystem/nginx/1.21.3/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.21.3/php/docker-compose.yml b/linux/ecosystem/nginx/1.21.3/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.21.3/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.21.3/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.21.3/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.21.3/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.21.3/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.21.3/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.21.6/main/README.md b/linux/ecosystem/nginx/1.21.6/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.21.6/main/README.md +++ b/linux/ecosystem/nginx/1.21.6/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.21.6/main/docker-compose.yml b/linux/ecosystem/nginx/1.21.6/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/1.21.6/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.21.6/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/1.21.6/php/README.md b/linux/ecosystem/nginx/1.21.6/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.21.6/php/README.md +++ b/linux/ecosystem/nginx/1.21.6/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.21.6/php/docker-compose.yml b/linux/ecosystem/nginx/1.21.6/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/1.21.6/php/docker-compose.yml +++ b/linux/ecosystem/nginx/1.21.6/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/1.21.6/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/1.21.6/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/1.21.6/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/1.21.6/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/1.27.0/main/README.md b/linux/ecosystem/nginx/1.27.0/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/1.27.0/main/README.md +++ b/linux/ecosystem/nginx/1.27.0/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/1.27.0/main/docker-compose.yml b/linux/ecosystem/nginx/1.27.0/main/docker-compose.yml index 56a593b4d..e8839f413 100644 --- a/linux/ecosystem/nginx/1.27.0/main/docker-compose.yml +++ b/linux/ecosystem/nginx/1.27.0/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:1.27.0" diff --git a/linux/ecosystem/nginx/latest/mainline/main/README.md b/linux/ecosystem/nginx/latest/mainline/main/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/latest/mainline/main/README.md +++ b/linux/ecosystem/nginx/latest/mainline/main/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/latest/mainline/main/docker-compose.yml b/linux/ecosystem/nginx/latest/mainline/main/docker-compose.yml index 56073e040..cd998d9ba 100644 --- a/linux/ecosystem/nginx/latest/mainline/main/docker-compose.yml +++ b/linux/ecosystem/nginx/latest/mainline/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_TAG}" diff --git a/linux/ecosystem/nginx/latest/mainline/php/README.md b/linux/ecosystem/nginx/latest/mainline/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/latest/mainline/php/README.md +++ b/linux/ecosystem/nginx/latest/mainline/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/latest/mainline/php/docker-compose.yml b/linux/ecosystem/nginx/latest/mainline/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/latest/mainline/php/docker-compose.yml +++ b/linux/ecosystem/nginx/latest/mainline/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/latest/mainline/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/latest/mainline/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/latest/mainline/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/latest/mainline/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/nginx/latest/quic/main/README.md b/linux/ecosystem/nginx/latest/quic/main/README.md index 49377400f..69ce6f826 100644 --- a/linux/ecosystem/nginx/latest/quic/main/README.md +++ b/linux/ecosystem/nginx/latest/quic/main/README.md @@ -262,7 +262,6 @@ Example configuration: # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/latest/quic/main/docker-compose.yml b/linux/ecosystem/nginx/latest/quic/main/docker-compose.yml index e89d77fd6..661aac99f 100644 --- a/linux/ecosystem/nginx/latest/quic/main/docker-compose.yml +++ b/linux/ecosystem/nginx/latest/quic/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}" diff --git a/linux/ecosystem/nginx/latest/quic/php/README.md b/linux/ecosystem/nginx/latest/quic/php/README.md index 034784bc0..4805d4763 100644 --- a/linux/ecosystem/nginx/latest/quic/php/README.md +++ b/linux/ecosystem/nginx/latest/quic/php/README.md @@ -1,7 +1,6 @@ # Compose example ```yml -version: '3.7' services: balancer: image: epicmorg/balancer diff --git a/linux/ecosystem/nginx/latest/quic/php/docker-compose.yml b/linux/ecosystem/nginx/latest/quic/php/docker-compose.yml index 1bbc92c65..10848b56f 100644 --- a/linux/ecosystem/nginx/latest/quic/php/docker-compose.yml +++ b/linux/ecosystem/nginx/latest/quic/php/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-php" diff --git a/linux/ecosystem/nginx/latest/quic/rtmp-hls/docker-compose.yml b/linux/ecosystem/nginx/latest/quic/rtmp-hls/docker-compose.yml index 473db3374..d2ffe041f 100644 --- a/linux/ecosystem/nginx/latest/quic/rtmp-hls/docker-compose.yml +++ b/linux/ecosystem/nginx/latest/quic/rtmp-hls/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/nginx:${NGINX_VERSION}-rtmp-hls" diff --git a/linux/ecosystem/ninjam/latest/README.md b/linux/ecosystem/ninjam/latest/README.md index eb85c8dc0..6961725ee 100644 --- a/linux/ecosystem/ninjam/latest/README.md +++ b/linux/ecosystem/ninjam/latest/README.md @@ -1,7 +1,6 @@ # Compose example -```yml -services: +```ymlservices: ninjam: hostname: ninjam container_name: ninjam diff --git a/linux/ecosystem/ninjam/latest/docker-compose.yml b/linux/ecosystem/ninjam/latest/docker-compose.yml index a96b390da..543c21eee 100644 --- a/linux/ecosystem/ninjam/latest/docker-compose.yml +++ b/linux/ecosystem/ninjam/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/ninjam:latest" diff --git a/linux/ecosystem/opentracker/README.md b/linux/ecosystem/opentracker/README.md index d56c963f4..1268ca28f 100644 --- a/linux/ecosystem/opentracker/README.md +++ b/linux/ecosystem/opentracker/README.md @@ -30,8 +30,6 @@ docker run \ Or with `docker-compose.yml` file: ```yml -version: "3" - services: tracker: image: wiltonsr/opentracker:open diff --git a/linux/ecosystem/opentracker/docker-compose.yml b/linux/ecosystem/opentracker/docker-compose.yml index 69049207e..f552c8f2f 100644 --- a/linux/ecosystem/opentracker/docker-compose.yml +++ b/linux/ecosystem/opentracker/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/opentracker:latest" diff --git a/linux/ecosystem/perforce/base/r16.2/docker-compose.yml b/linux/ecosystem/perforce/base/r16.2/docker-compose.yml index f9e7bf079..561ee584c 100644 --- a/linux/ecosystem/perforce/base/r16.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r16.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r16.2" diff --git a/linux/ecosystem/perforce/base/r17.1/docker-compose.yml b/linux/ecosystem/perforce/base/r17.1/docker-compose.yml index 08c5b0234..171acde22 100644 --- a/linux/ecosystem/perforce/base/r17.1/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r17.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r17.1" diff --git a/linux/ecosystem/perforce/base/r17.2/docker-compose.yml b/linux/ecosystem/perforce/base/r17.2/docker-compose.yml index 28354dbe5..e815336e9 100644 --- a/linux/ecosystem/perforce/base/r17.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r17.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r17.2" diff --git a/linux/ecosystem/perforce/base/r18.1/docker-compose.yml b/linux/ecosystem/perforce/base/r18.1/docker-compose.yml index 7e12c1905..65a3df093 100644 --- a/linux/ecosystem/perforce/base/r18.1/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r18.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r18.1" diff --git a/linux/ecosystem/perforce/base/r18.2/docker-compose.yml b/linux/ecosystem/perforce/base/r18.2/docker-compose.yml index 1b6c72b89..25919fbea 100644 --- a/linux/ecosystem/perforce/base/r18.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r18.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r18.2" diff --git a/linux/ecosystem/perforce/base/r19.1/docker-compose.yml b/linux/ecosystem/perforce/base/r19.1/docker-compose.yml index a400eea40..b7ef6c601 100644 --- a/linux/ecosystem/perforce/base/r19.1/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r19.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r19.1" diff --git a/linux/ecosystem/perforce/base/r19.2/docker-compose.yml b/linux/ecosystem/perforce/base/r19.2/docker-compose.yml index c5b3bdc87..05cd13489 100644 --- a/linux/ecosystem/perforce/base/r19.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r19.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r19.2" diff --git a/linux/ecosystem/perforce/base/r20.1/docker-compose.yml b/linux/ecosystem/perforce/base/r20.1/docker-compose.yml index 770a6b5b4..96d8579c7 100644 --- a/linux/ecosystem/perforce/base/r20.1/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r20.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r20.1" diff --git a/linux/ecosystem/perforce/base/r20.2/docker-compose.yml b/linux/ecosystem/perforce/base/r20.2/docker-compose.yml index 76ec37c04..fd48f64c9 100644 --- a/linux/ecosystem/perforce/base/r20.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r20.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r20.2" diff --git a/linux/ecosystem/perforce/base/r21.1/docker-compose.yml b/linux/ecosystem/perforce/base/r21.1/docker-compose.yml index 7bc8d3797..aff46eb99 100644 --- a/linux/ecosystem/perforce/base/r21.1/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r21.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r21.1" diff --git a/linux/ecosystem/perforce/base/r21.2/docker-compose.yml b/linux/ecosystem/perforce/base/r21.2/docker-compose.yml index 60ba533c1..46e1aab91 100644 --- a/linux/ecosystem/perforce/base/r21.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r21.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r21.2" diff --git a/linux/ecosystem/perforce/base/r22.1/docker-compose.yml b/linux/ecosystem/perforce/base/r22.1/docker-compose.yml index 24f917449..d6faf1812 100644 --- a/linux/ecosystem/perforce/base/r22.1/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r22.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r22.1" diff --git a/linux/ecosystem/perforce/base/r23.1/docker-compose.yml b/linux/ecosystem/perforce/base/r23.1/docker-compose.yml index 349758b0d..3746cf57d 100644 --- a/linux/ecosystem/perforce/base/r23.1/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r23.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r23.1" diff --git a/linux/ecosystem/perforce/base/r23.2/docker-compose.yml b/linux/ecosystem/perforce/base/r23.2/docker-compose.yml index 572d9b992..5e91b4d06 100644 --- a/linux/ecosystem/perforce/base/r23.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r23.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r23.2" diff --git a/linux/ecosystem/perforce/base/r24.2/docker-compose.yml b/linux/ecosystem/perforce/base/r24.2/docker-compose.yml index 7ac6b8fbf..46dab4070 100644 --- a/linux/ecosystem/perforce/base/r24.2/docker-compose.yml +++ b/linux/ecosystem/perforce/base/r24.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/perforce:r24.2" diff --git a/linux/ecosystem/perforce/p4p/r16.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r16.2/docker-compose.yml index 4beb709bb..7a381d959 100644 --- a/linux/ecosystem/perforce/p4p/r16.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r16.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r16.2" diff --git a/linux/ecosystem/perforce/p4p/r17.1/docker-compose.yml b/linux/ecosystem/perforce/p4p/r17.1/docker-compose.yml index f6f1a7188..2f6816cc9 100644 --- a/linux/ecosystem/perforce/p4p/r17.1/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r17.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r17.1" diff --git a/linux/ecosystem/perforce/p4p/r17.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r17.2/docker-compose.yml index edfae5fe3..9bf1e0472 100644 --- a/linux/ecosystem/perforce/p4p/r17.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r17.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r17.2" diff --git a/linux/ecosystem/perforce/p4p/r18.1/docker-compose.yml b/linux/ecosystem/perforce/p4p/r18.1/docker-compose.yml index 6c7d96ae8..68fc510ee 100644 --- a/linux/ecosystem/perforce/p4p/r18.1/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r18.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r18.1" diff --git a/linux/ecosystem/perforce/p4p/r18.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r18.2/docker-compose.yml index d1acd85c5..40a466ae6 100644 --- a/linux/ecosystem/perforce/p4p/r18.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r18.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r18.2" diff --git a/linux/ecosystem/perforce/p4p/r19.1/docker-compose.yml b/linux/ecosystem/perforce/p4p/r19.1/docker-compose.yml index 5f597659b..6cadf53ca 100644 --- a/linux/ecosystem/perforce/p4p/r19.1/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r19.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r19.1" diff --git a/linux/ecosystem/perforce/p4p/r19.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r19.2/docker-compose.yml index d8968c414..a827f1ff3 100644 --- a/linux/ecosystem/perforce/p4p/r19.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r19.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r19.2" diff --git a/linux/ecosystem/perforce/p4p/r20.1/docker-compose.yml b/linux/ecosystem/perforce/p4p/r20.1/docker-compose.yml index ee7107ee9..76144bce6 100644 --- a/linux/ecosystem/perforce/p4p/r20.1/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r20.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r20.1" diff --git a/linux/ecosystem/perforce/p4p/r20.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r20.2/docker-compose.yml index 6353e27c3..c9909fe1c 100644 --- a/linux/ecosystem/perforce/p4p/r20.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r20.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r20.2" diff --git a/linux/ecosystem/perforce/p4p/r21.1/docker-compose.yml b/linux/ecosystem/perforce/p4p/r21.1/docker-compose.yml index ab14b51cc..5ed593097 100644 --- a/linux/ecosystem/perforce/p4p/r21.1/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r21.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r21.1" diff --git a/linux/ecosystem/perforce/p4p/r21.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r21.2/docker-compose.yml index 1f1a3577b..a9883dce8 100644 --- a/linux/ecosystem/perforce/p4p/r21.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r21.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r21.2" diff --git a/linux/ecosystem/perforce/p4p/r22.1/docker-compose.yml b/linux/ecosystem/perforce/p4p/r22.1/docker-compose.yml index 8b50cff1c..5cff27e5d 100644 --- a/linux/ecosystem/perforce/p4p/r22.1/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r22.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r22.1" diff --git a/linux/ecosystem/perforce/p4p/r23.1/docker-compose.yml b/linux/ecosystem/perforce/p4p/r23.1/docker-compose.yml index 81f207622..7f7fd06f1 100644 --- a/linux/ecosystem/perforce/p4p/r23.1/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r23.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r23.1" diff --git a/linux/ecosystem/perforce/p4p/r23.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r23.2/docker-compose.yml index 9cd259c1c..a6dcf8323 100644 --- a/linux/ecosystem/perforce/p4p/r23.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r23.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r23.2" diff --git a/linux/ecosystem/perforce/p4p/r24.2/docker-compose.yml b/linux/ecosystem/perforce/p4p/r24.2/docker-compose.yml index b6cc150fb..55d957a38 100644 --- a/linux/ecosystem/perforce/p4p/r24.2/docker-compose.yml +++ b/linux/ecosystem/perforce/p4p/r24.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/p4p:r24.2" diff --git a/linux/ecosystem/postgres/10/README.md b/linux/ecosystem/postgres/10/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/10/README.md +++ b/linux/ecosystem/postgres/10/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/10/docker-compose.yml b/linux/ecosystem/postgres/10/docker-compose.yml index 1a0f7ba2b..c36411088 100644 --- a/linux/ecosystem/postgres/10/docker-compose.yml +++ b/linux/ecosystem/postgres/10/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:10" diff --git a/linux/ecosystem/postgres/11/README.md b/linux/ecosystem/postgres/11/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/11/README.md +++ b/linux/ecosystem/postgres/11/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/11/docker-compose.yml b/linux/ecosystem/postgres/11/docker-compose.yml index a2a87aa4e..b79a04e00 100644 --- a/linux/ecosystem/postgres/11/docker-compose.yml +++ b/linux/ecosystem/postgres/11/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:11" diff --git a/linux/ecosystem/postgres/12/README.md b/linux/ecosystem/postgres/12/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/12/README.md +++ b/linux/ecosystem/postgres/12/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/12/docker-compose.yml b/linux/ecosystem/postgres/12/docker-compose.yml index 85a569e7e..5b1f24b0d 100644 --- a/linux/ecosystem/postgres/12/docker-compose.yml +++ b/linux/ecosystem/postgres/12/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:12" diff --git a/linux/ecosystem/postgres/13/README.md b/linux/ecosystem/postgres/13/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/13/README.md +++ b/linux/ecosystem/postgres/13/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/13/docker-compose.yml b/linux/ecosystem/postgres/13/docker-compose.yml index 6151ce352..7a8cd67e5 100644 --- a/linux/ecosystem/postgres/13/docker-compose.yml +++ b/linux/ecosystem/postgres/13/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:13" diff --git a/linux/ecosystem/postgres/14/README.md b/linux/ecosystem/postgres/14/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/14/README.md +++ b/linux/ecosystem/postgres/14/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/14/docker-compose.yml b/linux/ecosystem/postgres/14/docker-compose.yml index 02085dd5f..b8a2782e7 100644 --- a/linux/ecosystem/postgres/14/docker-compose.yml +++ b/linux/ecosystem/postgres/14/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:14" diff --git a/linux/ecosystem/postgres/15/README.md b/linux/ecosystem/postgres/15/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/15/README.md +++ b/linux/ecosystem/postgres/15/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/15/docker-compose.yml b/linux/ecosystem/postgres/15/docker-compose.yml index 708270156..73f109abd 100644 --- a/linux/ecosystem/postgres/15/docker-compose.yml +++ b/linux/ecosystem/postgres/15/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:15" diff --git a/linux/ecosystem/postgres/16/README.md b/linux/ecosystem/postgres/16/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/16/README.md +++ b/linux/ecosystem/postgres/16/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/16/docker-compose.yml b/linux/ecosystem/postgres/16/docker-compose.yml index 8bc4ad868..324cc3e49 100644 --- a/linux/ecosystem/postgres/16/docker-compose.yml +++ b/linux/ecosystem/postgres/16/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:16" diff --git a/linux/ecosystem/postgres/17/README.md b/linux/ecosystem/postgres/17/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/17/README.md +++ b/linux/ecosystem/postgres/17/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/17/docker-compose.yml b/linux/ecosystem/postgres/17/docker-compose.yml index 4bcde3f84..43fefa950 100644 --- a/linux/ecosystem/postgres/17/docker-compose.yml +++ b/linux/ecosystem/postgres/17/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:17" diff --git a/linux/ecosystem/postgres/8.2/README.md b/linux/ecosystem/postgres/8.2/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/8.2/README.md +++ b/linux/ecosystem/postgres/8.2/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/8.2/docker-compose.yml b/linux/ecosystem/postgres/8.2/docker-compose.yml index f65835600..5e15e141e 100644 --- a/linux/ecosystem/postgres/8.2/docker-compose.yml +++ b/linux/ecosystem/postgres/8.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:8.2" diff --git a/linux/ecosystem/postgres/8.3/README.md b/linux/ecosystem/postgres/8.3/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/8.3/README.md +++ b/linux/ecosystem/postgres/8.3/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/8.3/docker-compose.yml b/linux/ecosystem/postgres/8.3/docker-compose.yml index 70d1a92dc..31a59c892 100644 --- a/linux/ecosystem/postgres/8.3/docker-compose.yml +++ b/linux/ecosystem/postgres/8.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:8.3" diff --git a/linux/ecosystem/postgres/8.4/README.md b/linux/ecosystem/postgres/8.4/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/8.4/README.md +++ b/linux/ecosystem/postgres/8.4/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/8.4/docker-compose.yml b/linux/ecosystem/postgres/8.4/docker-compose.yml index 2a4e6d425..ff78fae2c 100644 --- a/linux/ecosystem/postgres/8.4/docker-compose.yml +++ b/linux/ecosystem/postgres/8.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:8.4" diff --git a/linux/ecosystem/postgres/9.0/README.md b/linux/ecosystem/postgres/9.0/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/9.0/README.md +++ b/linux/ecosystem/postgres/9.0/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/9.0/docker-compose.yml b/linux/ecosystem/postgres/9.0/docker-compose.yml index 44d0f34d5..78b319caa 100644 --- a/linux/ecosystem/postgres/9.0/docker-compose.yml +++ b/linux/ecosystem/postgres/9.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:9.0" diff --git a/linux/ecosystem/postgres/9.1/README.md b/linux/ecosystem/postgres/9.1/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/9.1/README.md +++ b/linux/ecosystem/postgres/9.1/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/9.1/docker-compose.yml b/linux/ecosystem/postgres/9.1/docker-compose.yml index b57c338f0..25e8a10ba 100644 --- a/linux/ecosystem/postgres/9.1/docker-compose.yml +++ b/linux/ecosystem/postgres/9.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:9.1" diff --git a/linux/ecosystem/postgres/9.2/README.md b/linux/ecosystem/postgres/9.2/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/9.2/README.md +++ b/linux/ecosystem/postgres/9.2/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/9.2/docker-compose.yml b/linux/ecosystem/postgres/9.2/docker-compose.yml index 0e9a98595..93915e2f4 100644 --- a/linux/ecosystem/postgres/9.2/docker-compose.yml +++ b/linux/ecosystem/postgres/9.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:9.2" diff --git a/linux/ecosystem/postgres/9.3/README.md b/linux/ecosystem/postgres/9.3/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/9.3/README.md +++ b/linux/ecosystem/postgres/9.3/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/9.3/docker-compose.yml b/linux/ecosystem/postgres/9.3/docker-compose.yml index e129a34d6..51d3a9d80 100644 --- a/linux/ecosystem/postgres/9.3/docker-compose.yml +++ b/linux/ecosystem/postgres/9.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:9.3" diff --git a/linux/ecosystem/postgres/9.4/README.md b/linux/ecosystem/postgres/9.4/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/9.4/README.md +++ b/linux/ecosystem/postgres/9.4/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/9.4/docker-compose.yml b/linux/ecosystem/postgres/9.4/docker-compose.yml index 54ba5fb59..ec24de2da 100644 --- a/linux/ecosystem/postgres/9.4/docker-compose.yml +++ b/linux/ecosystem/postgres/9.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:9.4" diff --git a/linux/ecosystem/postgres/9.5/README.md b/linux/ecosystem/postgres/9.5/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/9.5/README.md +++ b/linux/ecosystem/postgres/9.5/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/9.5/docker-compose.yml b/linux/ecosystem/postgres/9.5/docker-compose.yml index bf235bc11..d8df0903c 100644 --- a/linux/ecosystem/postgres/9.5/docker-compose.yml +++ b/linux/ecosystem/postgres/9.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:9.5" diff --git a/linux/ecosystem/postgres/9.6/README.md b/linux/ecosystem/postgres/9.6/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/9.6/README.md +++ b/linux/ecosystem/postgres/9.6/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/9.6/docker-compose.yml b/linux/ecosystem/postgres/9.6/docker-compose.yml index f8dd08b72..2025db497 100644 --- a/linux/ecosystem/postgres/9.6/docker-compose.yml +++ b/linux/ecosystem/postgres/9.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:9.6" diff --git a/linux/ecosystem/postgres/README.md b/linux/ecosystem/postgres/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/README.md +++ b/linux/ecosystem/postgres/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/latest/README.md b/linux/ecosystem/postgres/latest/README.md index 7cb08760e..119f58af5 100644 --- a/linux/ecosystem/postgres/latest/README.md +++ b/linux/ecosystem/postgres/latest/README.md @@ -101,8 +101,6 @@ Example `stack.yml` for `postgres`: ```yaml # Use postgres/example user/password credentials -version: '3.1' - services: db: diff --git a/linux/ecosystem/postgres/latest/docker-compose.yml b/linux/ecosystem/postgres/latest/docker-compose.yml index 0494b7965..6b9ce4c9c 100644 --- a/linux/ecosystem/postgres/latest/docker-compose.yml +++ b/linux/ecosystem/postgres/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/postgres:latest" diff --git a/linux/ecosystem/qbittorrent/4.4.0/README.md b/linux/ecosystem/qbittorrent/4.4.0/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.4.0/README.md +++ b/linux/ecosystem/qbittorrent/4.4.0/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.4.0/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.4.0/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.4.0/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.4.0/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml index a68e36f2b..eb2dfe26c 100644 --- a/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.4.0" diff --git a/linux/ecosystem/qbittorrent/4.4.1/README.md b/linux/ecosystem/qbittorrent/4.4.1/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.4.1/README.md +++ b/linux/ecosystem/qbittorrent/4.4.1/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.4.1/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.4.1/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.4.1/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.4.1/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml index 5542f03e3..f38c1a8be 100644 --- a/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.4.1" diff --git a/linux/ecosystem/qbittorrent/4.4.2/README.md b/linux/ecosystem/qbittorrent/4.4.2/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.4.2/README.md +++ b/linux/ecosystem/qbittorrent/4.4.2/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.4.2/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.4.2/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.4.2/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.4.2/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml index 900d5808a..88c7d7249 100644 --- a/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.4.2" diff --git a/linux/ecosystem/qbittorrent/4.4.3.1/README.md b/linux/ecosystem/qbittorrent/4.4.3.1/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.4.3.1/README.md +++ b/linux/ecosystem/qbittorrent/4.4.3.1/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml index 697a5bada..755355ff5 100644 --- a/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.4.3.1" diff --git a/linux/ecosystem/qbittorrent/4.4.4/README.md b/linux/ecosystem/qbittorrent/4.4.4/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.4.4/README.md +++ b/linux/ecosystem/qbittorrent/4.4.4/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.4.4/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.4.4/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.4.4/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.4.4/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml index 96c7d4db0..78d4ad484 100644 --- a/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.4.4" diff --git a/linux/ecosystem/qbittorrent/4.4.5/README.md b/linux/ecosystem/qbittorrent/4.4.5/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.4.5/README.md +++ b/linux/ecosystem/qbittorrent/4.4.5/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.4.5/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.4.5/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.4.5/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.4.5/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml index 4f778562b..c1b11037c 100644 --- a/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.4.5" diff --git a/linux/ecosystem/qbittorrent/4.5.0/README.md b/linux/ecosystem/qbittorrent/4.5.0/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.5.0/README.md +++ b/linux/ecosystem/qbittorrent/4.5.0/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.5.0/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.5.0/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.5.0/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.5.0/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml index 16ff08459..c237cf8dd 100644 --- a/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.5.0" diff --git a/linux/ecosystem/qbittorrent/4.5.1/README.md b/linux/ecosystem/qbittorrent/4.5.1/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.5.1/README.md +++ b/linux/ecosystem/qbittorrent/4.5.1/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.5.1/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.5.1/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.5.1/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.5.1/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml index 7a1128b6e..65fde772c 100644 --- a/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.5.1" diff --git a/linux/ecosystem/qbittorrent/4.5.2/README.md b/linux/ecosystem/qbittorrent/4.5.2/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.5.2/README.md +++ b/linux/ecosystem/qbittorrent/4.5.2/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.5.2/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.5.2/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.5.2/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.5.2/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml index b327b80e8..8ea5eaa0a 100644 --- a/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.5.2" diff --git a/linux/ecosystem/qbittorrent/4.5.3/README.md b/linux/ecosystem/qbittorrent/4.5.3/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.5.3/README.md +++ b/linux/ecosystem/qbittorrent/4.5.3/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.5.3/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.5.3/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.5.3/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.5.3/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml index 5593ff158..b843064e8 100644 --- a/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.5.3" diff --git a/linux/ecosystem/qbittorrent/4.5.4/README.md b/linux/ecosystem/qbittorrent/4.5.4/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.5.4/README.md +++ b/linux/ecosystem/qbittorrent/4.5.4/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.5.4/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.5.4/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.5.4/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.5.4/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml index 1ab98282d..2cca307ce 100644 --- a/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.5.4" diff --git a/linux/ecosystem/qbittorrent/4.5.5/README.md b/linux/ecosystem/qbittorrent/4.5.5/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.5.5/README.md +++ b/linux/ecosystem/qbittorrent/4.5.5/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.5.5/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.5.5/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.5.5/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.5.5/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml index a1c872b6b..4252f0040 100644 --- a/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.5.5" diff --git a/linux/ecosystem/qbittorrent/4.6.0/README.md b/linux/ecosystem/qbittorrent/4.6.0/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.0/README.md +++ b/linux/ecosystem/qbittorrent/4.6.0/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.0/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.0/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.0/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.0/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml index 19ae9115e..460ab2b7a 100644 --- a/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.0" diff --git a/linux/ecosystem/qbittorrent/4.6.1/README.md b/linux/ecosystem/qbittorrent/4.6.1/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.1/README.md +++ b/linux/ecosystem/qbittorrent/4.6.1/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.1/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.1/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.1/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.1/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml index 87dfbc91b..a72c8443d 100644 --- a/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.1" diff --git a/linux/ecosystem/qbittorrent/4.6.2/README.md b/linux/ecosystem/qbittorrent/4.6.2/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.2/README.md +++ b/linux/ecosystem/qbittorrent/4.6.2/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.2/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.2/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.2/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.2/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml index 4c1c85084..b21136813 100644 --- a/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.2" diff --git a/linux/ecosystem/qbittorrent/4.6.3/README.md b/linux/ecosystem/qbittorrent/4.6.3/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.3/README.md +++ b/linux/ecosystem/qbittorrent/4.6.3/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.3/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.3/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.3/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.3/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml index d2fd3bc18..348a1ead2 100644 --- a/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.3" diff --git a/linux/ecosystem/qbittorrent/4.6.4/README.md b/linux/ecosystem/qbittorrent/4.6.4/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.4/README.md +++ b/linux/ecosystem/qbittorrent/4.6.4/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.4/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.4/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.4/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.4/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml index 6de21c9ae..e27d0b7bf 100644 --- a/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.4" diff --git a/linux/ecosystem/qbittorrent/4.6.5/README.md b/linux/ecosystem/qbittorrent/4.6.5/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.5/README.md +++ b/linux/ecosystem/qbittorrent/4.6.5/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.5/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.5/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.5/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.yml index 194bc4541..21b09123c 100644 --- a/linux/ecosystem/qbittorrent/4.6.5/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.5" diff --git a/linux/ecosystem/qbittorrent/4.6.6/README.md b/linux/ecosystem/qbittorrent/4.6.6/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.6/README.md +++ b/linux/ecosystem/qbittorrent/4.6.6/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.6/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.6/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.6/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.yml index e4bf84ef0..ea1901049 100644 --- a/linux/ecosystem/qbittorrent/4.6.6/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.6" diff --git a/linux/ecosystem/qbittorrent/4.6.7/README.md b/linux/ecosystem/qbittorrent/4.6.7/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/4.6.7/README.md +++ b/linux/ecosystem/qbittorrent/4.6.7/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/4.6.7/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/4.6.7/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/4.6.7/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.yml index 38e556fae..5130e6d07 100644 --- a/linux/ecosystem/qbittorrent/4.6.7/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:4.6.7" diff --git a/linux/ecosystem/qbittorrent/5.0.0/README.md b/linux/ecosystem/qbittorrent/5.0.0/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/5.0.0/README.md +++ b/linux/ecosystem/qbittorrent/5.0.0/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/5.0.0/docker-compose.example.yml b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/5.0.0/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/5.0.0/docker-compose.yml b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.yml index c60298627..ec2959f9e 100644 --- a/linux/ecosystem/qbittorrent/5.0.0/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:5.0.0" diff --git a/linux/ecosystem/qbittorrent/5.0.1/README.md b/linux/ecosystem/qbittorrent/5.0.1/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/5.0.1/README.md +++ b/linux/ecosystem/qbittorrent/5.0.1/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/5.0.1/docker-compose.example.yml b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/5.0.1/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/5.0.1/docker-compose.yml b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.yml index ee3aff00d..d1fc7b8c1 100644 --- a/linux/ecosystem/qbittorrent/5.0.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:5.0.1" diff --git a/linux/ecosystem/qbittorrent/5.0.2/README.md b/linux/ecosystem/qbittorrent/5.0.2/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/5.0.2/README.md +++ b/linux/ecosystem/qbittorrent/5.0.2/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/5.0.2/docker-compose.example.yml b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/5.0.2/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/5.0.2/docker-compose.yml b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.yml index 84c6b2145..3683cac80 100644 --- a/linux/ecosystem/qbittorrent/5.0.2/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:5.0.2" diff --git a/linux/ecosystem/qbittorrent/testing/README.md b/linux/ecosystem/qbittorrent/testing/README.md index 2e7cd4855..b2725f3cd 100644 --- a/linux/ecosystem/qbittorrent/testing/README.md +++ b/linux/ecosystem/qbittorrent/testing/README.md @@ -21,9 +21,7 @@ QBT_PORT_TRACKER=9000 ### Exampe -``` yaml -version: '3.9' -services: +``` yamlservices: qbittorrent: image: epicmorg/qbittorrent:latest container_name: qbittorrent diff --git a/linux/ecosystem/qbittorrent/testing/docker-compose.example.yml b/linux/ecosystem/qbittorrent/testing/docker-compose.example.yml index 029d17770..8be77e17d 100644 --- a/linux/ecosystem/qbittorrent/testing/docker-compose.example.yml +++ b/linux/ecosystem/qbittorrent/testing/docker-compose.example.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbittorrent: image: epicmorg/qbittorrent:latest diff --git a/linux/ecosystem/qbittorrent/testing/docker-compose.yml b/linux/ecosystem/qbittorrent/testing/docker-compose.yml index aa33a5dc7..73c168646 100644 --- a/linux/ecosystem/qbittorrent/testing/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/testing/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: qbt: image: "epicmorg/qbittorrent:5.0.0beta1" diff --git a/linux/ecosystem/retracker/docker-compose.yml b/linux/ecosystem/retracker/docker-compose.yml index 618ff79b9..cc83a1d37 100644 --- a/linux/ecosystem/retracker/docker-compose.yml +++ b/linux/ecosystem/retracker/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/retracker:latest" diff --git a/linux/ecosystem/teamcity/agent/latest/Dockerfile b/linux/ecosystem/teamcity/agent/latest/Dockerfile index 1404a3f67..c31b699d7 100644 --- a/linux/ecosystem/teamcity/agent/latest/Dockerfile +++ b/linux/ecosystem/teamcity/agent/latest/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop-jdk8 +FROM epicmorg/debian:bookworm-develop-jdk21 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -47,15 +47,19 @@ RUN install -m 0755 -d /etc/apt/keyrings && \ containerd.io \ docker-buildx-plugin \ docker-compose-plugin \ + buildah \ + fuse-overlayfs \ systemd && \ systemctl disable docker && \ - usermod -aG docker buildagent && \ - docker --version + docker --version && \ + buildah --version # A better fix for TW-52939 Dockerfile build fails because of aufs -VOLUME /var/lib/docker +VOLUME ["/var/lib/docker", "/var/lib/containers"] COPY run-docker.sh /services/run-docker.sh +COPY etc/containers/registries.conf /etc/containers/registries.conf +COPY etc/containers/storage.conf /etc/containers/storage.conf RUN chmod +x /services/run-docker.sh && \ sync diff --git a/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk11 b/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk11 deleted file mode 100644 index 37d562849..000000000 --- a/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk11 +++ /dev/null @@ -1,86 +0,0 @@ -FROM epicmorg/debian:bookworm-develop-jdk11 -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# teamcity minimal agent -################################################################## -LABEL dockerImage.teamcity.version="latest" \ - dockerImage.teamcity.buildNumber="latest" - -VOLUME /data/teamcity_agent/conf - -ENV CONFIG_FILE=/data/teamcity_agent/conf/buildAgent.properties -ENV GIT_SSH_VARIANT=ssh - -COPY run-agent.sh /run-agent.sh -RUN chmod +x /run-agent.sh && \ - sync - -COPY run-services.sh /run-services.sh -RUN chmod +x /run-services.sh && \ - sync - -ARG TC_AGENT_URL=https://teamcity.jetbrains.com/update/buildAgent.zip -ADD ${TC_AGENT_URL} /tmp -RUN unzip -q /tmp/buildAgent.zip -d /opt/buildagent && \ - mv /opt/buildagent/conf /opt/buildagent/conf_dist && \ - rm -rfv /tmp/buildAgent.zip - -RUN useradd -m buildagent && \ - chmod +x /opt/buildagent/bin/*.sh && \ - chmod +x /run-agent.sh /run-services.sh && sync - -################################################################## -# teamcity docker setup -################################################################## - -#Install packages -RUN install -m 0755 -d /etc/apt/keyrings && \ - curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && \ - chmod a+r /etc/apt/keyrings/docker.asc && \ - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable nightly" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \ - apt-get update && \ - apt-get install -y --no-install-recommends --allow-unauthenticated \ - docker-ce \ - docker-ce-cli \ - containerd.io \ - docker-buildx-plugin \ - docker-compose-plugin \ - systemd && \ - systemctl disable docker && \ - usermod -aG docker buildagent - -# A better fix for TW-52939 Dockerfile build fails because of aufs -VOLUME /var/lib/docker - -COPY run-docker.sh /services/run-docker.sh -RUN chmod +x /services/run-docker.sh && \ - sync - -################################################################## -# teamcity docker compose setup -################################################################## - -#Install packages -RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \ - echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \ - curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \ - chmod +x /usr/local/bin/docker-compose - -################################################################## -# cleaninig up -################################################################## -RUN apt clean -y && \ - apt-get clean all && \ - apt autoclean -y && \ - rm -rfv /var/lib/apt/lists/* && \ - rm -rfv /var/cache/apt/archives/*.deb && \ - rm -rfv /root/tmp/* && \ - rm -rfv /tmp/* - -CMD ["/run-services.sh"] - -EXPOSE 9090 - -RUN updatedb diff --git a/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk17 b/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk17 deleted file mode 100644 index fb1aedb9f..000000000 --- a/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk17 +++ /dev/null @@ -1,86 +0,0 @@ -FROM epicmorg/debian:bookworm-develop-jdk17 -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# teamcity minimal agent -################################################################## -LABEL dockerImage.teamcity.version="latest" \ - dockerImage.teamcity.buildNumber="latest" - -VOLUME /data/teamcity_agent/conf - -ENV CONFIG_FILE=/data/teamcity_agent/conf/buildAgent.properties -ENV GIT_SSH_VARIANT=ssh - -COPY run-agent.sh /run-agent.sh -RUN chmod +x /run-agent.sh && \ - sync - -COPY run-services.sh /run-services.sh -RUN chmod +x /run-services.sh && \ - sync - -ARG TC_AGENT_URL=https://teamcity.jetbrains.com/update/buildAgent.zip -ADD ${TC_AGENT_URL} /tmp -RUN unzip -q /tmp/buildAgent.zip -d /opt/buildagent && \ - mv /opt/buildagent/conf /opt/buildagent/conf_dist && \ - rm -rfv /tmp/buildAgent.zip - -RUN useradd -m buildagent && \ - chmod +x /opt/buildagent/bin/*.sh && \ - chmod +x /run-agent.sh /run-services.sh && sync - -################################################################## -# teamcity docker setup -################################################################## - -#Install packages -RUN install -m 0755 -d /etc/apt/keyrings && \ - curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && \ - chmod a+r /etc/apt/keyrings/docker.asc && \ - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable nightly" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \ - apt-get update && \ - apt-get install -y --no-install-recommends --allow-unauthenticated \ - docker-ce \ - docker-ce-cli \ - containerd.io \ - docker-buildx-plugin \ - docker-compose-plugin \ - systemd && \ - systemctl disable docker && \ - usermod -aG docker buildagent - -# A better fix for TW-52939 Dockerfile build fails because of aufs -VOLUME /var/lib/docker - -COPY run-docker.sh /services/run-docker.sh -RUN chmod +x /services/run-docker.sh && \ - sync - -################################################################## -# teamcity docker compose setup -################################################################## - -#Install packages -RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \ - echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \ - curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \ - chmod +x /usr/local/bin/docker-compose - -################################################################## -# cleaninig up -################################################################## -RUN apt clean -y && \ - apt-get clean all && \ - apt autoclean -y && \ - rm -rfv /var/lib/apt/lists/* && \ - rm -rfv /var/cache/apt/archives/*.deb && \ - rm -rfv /root/tmp/* && \ - rm -rfv /tmp/* - -CMD ["/run-services.sh"] - -EXPOSE 9090 - -RUN updatedb diff --git a/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk21 b/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk21 deleted file mode 100644 index 5b16a1afd..000000000 --- a/linux/ecosystem/teamcity/agent/latest/Dockerfile.jdk21 +++ /dev/null @@ -1,86 +0,0 @@ -FROM epicmorg/debian:bookworm-develop-jdk21 -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# teamcity minimal agent -################################################################## -LABEL dockerImage.teamcity.version="latest" \ - dockerImage.teamcity.buildNumber="latest" - -VOLUME /data/teamcity_agent/conf - -ENV CONFIG_FILE=/data/teamcity_agent/conf/buildAgent.properties -ENV GIT_SSH_VARIANT=ssh - -COPY run-agent.sh /run-agent.sh -RUN chmod +x /run-agent.sh && \ - sync - -COPY run-services.sh /run-services.sh -RUN chmod +x /run-services.sh && \ - sync - -ARG TC_AGENT_URL=https://teamcity.jetbrains.com/update/buildAgent.zip -ADD ${TC_AGENT_URL} /tmp -RUN unzip -q /tmp/buildAgent.zip -d /opt/buildagent && \ - mv /opt/buildagent/conf /opt/buildagent/conf_dist && \ - rm -rfv /tmp/buildAgent.zip - -RUN useradd -m buildagent && \ - chmod +x /opt/buildagent/bin/*.sh && \ - chmod +x /run-agent.sh /run-services.sh && sync - -################################################################## -# teamcity docker setup -################################################################## - -#Install packages -RUN install -m 0755 -d /etc/apt/keyrings && \ - curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && \ - chmod a+r /etc/apt/keyrings/docker.asc && \ - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable nightly" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \ - apt-get update && \ - apt-get install -y --no-install-recommends --allow-unauthenticated \ - docker-ce \ - docker-ce-cli \ - containerd.io \ - docker-buildx-plugin \ - docker-compose-plugin \ - systemd && \ - systemctl disable docker && \ - usermod -aG docker buildagent - -# A better fix for TW-52939 Dockerfile build fails because of aufs -VOLUME /var/lib/docker - -COPY run-docker.sh /services/run-docker.sh -RUN chmod +x /services/run-docker.sh && \ - sync - -################################################################## -# teamcity docker compose setup -################################################################## - -#Install packages -RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \ - echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \ - curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \ - chmod +x /usr/local/bin/docker-compose - -################################################################## -# cleaninig up -################################################################## -RUN apt clean -y && \ - apt-get clean all && \ - apt autoclean -y && \ - rm -rfv /var/lib/apt/lists/* && \ - rm -rfv /var/cache/apt/archives/*.deb && \ - rm -rfv /root/tmp/* && \ - rm -rfv /tmp/* - -CMD ["/run-services.sh"] - -EXPOSE 9090 - -RUN updatedb diff --git a/linux/ecosystem/teamcity/agent/latest/docker-compose.yml b/linux/ecosystem/teamcity/agent/latest/docker-compose.yml index 8d4107002..4e7b1c249 100644 --- a/linux/ecosystem/teamcity/agent/latest/docker-compose.yml +++ b/linux/ecosystem/teamcity/agent/latest/docker-compose.yml @@ -1,26 +1,9 @@ -#version: '3' services: - app-jdk8: - image: "epicmorg/teamcity-agent:latest-jdk8" - build: - context: . - app-jdk11: - image: "epicmorg/teamcity-agent:latest-jdk11" - build: - context: . - dockerfile: Dockerfile.jdk11 - app-jdk17: - image: "epicmorg/teamcity-agent:latest-jdk17" - build: - context: . - dockerfile: Dockerfile.jdk17 app-jdk21: image: "epicmorg/teamcity-agent:latest-jdk21" build: context: . - dockerfile: Dockerfile.jdk21 app: image: "epicmorg/teamcity-agent:latest" build: context: . - dockerfile: Dockerfile.jdk21 \ No newline at end of file diff --git a/linux/ecosystem/teamcity/agent/latest/etc/containers/registries.conf b/linux/ecosystem/teamcity/agent/latest/etc/containers/registries.conf new file mode 100644 index 000000000..681592e4a --- /dev/null +++ b/linux/ecosystem/teamcity/agent/latest/etc/containers/registries.conf @@ -0,0 +1,79 @@ +# For more information on this configuration file, see containers-registries.conf(5). +# +# NOTE: RISK OF USING UNQUALIFIED IMAGE NAMES +# We recommend always using fully qualified image names including the registry +# server (full dns name), namespace, image name, and tag +# (e.g., registry.redhat.io/ubi8/ubi:latest). Pulling by digest (i.e., +# quay.io/repository/name@digest) further eliminates the ambiguity of tags. +# When using short names, there is always an inherent risk that the image being +# pulled could be spoofed. For example, a user wants to pull an image named +# `foobar` from a registry and expects it to come from myregistry.com. If +# myregistry.com is not first in the search list, an attacker could place a +# different `foobar` image at a registry earlier in the search list. The user +# would accidentally pull and run the attacker's image and code rather than the +# intended content. We recommend only adding registries which are completely +# trusted (i.e., registries which don't allow unknown or anonymous users to +# create accounts with arbitrary names). This will prevent an image from being +# spoofed, squatted or otherwise made insecure. If it is necessary to use one +# of these registries, it should be added at the end of the list. +# +# # An array of host[:port] registries to try when pulling an unqualified image, in order. +# unqualified-search-registries = ["example.com"] +# +# [[registry]] +# # The "prefix" field is used to choose the relevant [[registry]] TOML table; +# # (only) the TOML table with the longest match for the input image name +# # (taking into account namespace/repo/tag/digest separators) is used. +# # +# # The prefix can also be of the form: *.example.com for wildcard subdomain +# # matching. +# # +# # If the prefix field is missing, it defaults to be the same as the "location" field. +# prefix = "example.com/foo" +# +# # If true, unencrypted HTTP as well as TLS connections with untrusted +# # certificates are allowed. +# insecure = false +# +# # If true, pulling images with matching names is forbidden. +# blocked = false +# +# # The physical location of the "prefix"-rooted namespace. +# # +# # By default, this is equal to "prefix" (in which case "prefix" can be omitted +# # and the [[registry]] TOML table can only specify "location"). +# # +# # Example: Given +# # prefix = "example.com/foo" +# # location = "internal-registry-for-example.net/bar" +# # requests for the image example.com/foo/myimage:latest will actually work with the +# # internal-registry-for-example.net/bar/myimage:latest image. +# +# # The location can be empty iff prefix is in a +# # wildcarded format: "*.example.com". In this case, the input reference will +# # be used as-is without any rewrite. +# location = internal-registry-for-example.com/bar" +# +# # (Possibly-partial) mirrors for the "prefix"-rooted namespace. +# # +# # The mirrors are attempted in the specified order; the first one that can be +# # contacted and contains the image will be used (and if none of the mirrors contains the image, +# # the primary location specified by the "registry.location" field, or using the unmodified +# # user-specified reference, is tried last). +# # +# # Each TOML table in the "mirror" array can contain the following fields, with the same semantics +# # as if specified in the [[registry]] TOML table directly: +# # - location +# # - insecure +# [[registry.mirror]] +# location = "example-mirror-0.local/mirror-for-foo" +# [[registry.mirror]] +# location = "example-mirror-1.local/mirrors/foo" +# insecure = true +# # Given the above, a pull of example.com/foo/image:latest will try: +# # 1. example-mirror-0.local/mirror-for-foo/image:latest +# # 2. example-mirror-1.local/mirrors/foo/image:latest +# # 3. internal-registry-for-example.net/bar/image:latest +# # in order, and use the first one that exists. + +unqualified-search-registries = ["docker.io"] diff --git a/linux/ecosystem/teamcity/agent/latest/etc/containers/storage.conf b/linux/ecosystem/teamcity/agent/latest/etc/containers/storage.conf new file mode 100644 index 000000000..edb86fb1d --- /dev/null +++ b/linux/ecosystem/teamcity/agent/latest/etc/containers/storage.conf @@ -0,0 +1,8 @@ +[storage] +driver = "overlay" +runroot = "/run/containers/storage" +graphroot = "/var/lib/containers/storage" +#rootless_storage_path = "$HOME/.local/share/containers/storage" + +[storage.options.overlay] +mount_program = "/usr/bin/fuse-overlayfs" diff --git a/linux/ecosystem/testrail/5.4.1.3669/ad/README.md b/linux/ecosystem/testrail/5.4.1.3669/ad/README.md index 717a45128..950f6a9e4 100644 --- a/linux/ecosystem/testrail/5.4.1.3669/ad/README.md +++ b/linux/ecosystem/testrail/5.4.1.3669/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.4.1.3669 diff --git a/linux/ecosystem/testrail/5.4.1.3669/ad/docker-compose.yml b/linux/ecosystem/testrail/5.4.1.3669/ad/docker-compose.yml index 1b626bc46..9f93d0318 100644 --- a/linux/ecosystem/testrail/5.4.1.3669/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.4.1.3669/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.4.1.3669" diff --git a/linux/ecosystem/testrail/5.4.1.3669/ldap/README.md b/linux/ecosystem/testrail/5.4.1.3669/ldap/README.md index d0b664964..77d844791 100644 --- a/linux/ecosystem/testrail/5.4.1.3669/ldap/README.md +++ b/linux/ecosystem/testrail/5.4.1.3669/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.4.1.3669 diff --git a/linux/ecosystem/testrail/5.4.1.3669/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.4.1.3669/ldap/docker-compose.yml index c475255a2..f145fb4c5 100644 --- a/linux/ecosystem/testrail/5.4.1.3669/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.4.1.3669/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.4.1.3669" diff --git a/linux/ecosystem/testrail/5.4.1.3669/main/README.md b/linux/ecosystem/testrail/5.4.1.3669/main/README.md index e03db99b0..41d94391f 100644 --- a/linux/ecosystem/testrail/5.4.1.3669/main/README.md +++ b/linux/ecosystem/testrail/5.4.1.3669/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.4.1.3669 diff --git a/linux/ecosystem/testrail/5.4.1.3669/main/docker-compose.yml b/linux/ecosystem/testrail/5.4.1.3669/main/docker-compose.yml index e3a3f30aa..fca3e155d 100644 --- a/linux/ecosystem/testrail/5.4.1.3669/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.4.1.3669/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.4.1.3669" diff --git a/linux/ecosystem/testrail/5.5.0.3727/ad/README.md b/linux/ecosystem/testrail/5.5.0.3727/ad/README.md index 554f7312a..978e553f3 100644 --- a/linux/ecosystem/testrail/5.5.0.3727/ad/README.md +++ b/linux/ecosystem/testrail/5.5.0.3727/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.5.0.3727 diff --git a/linux/ecosystem/testrail/5.5.0.3727/ad/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3727/ad/docker-compose.yml index bc09e71c7..954be5662 100644 --- a/linux/ecosystem/testrail/5.5.0.3727/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3727/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.5.0.3727" diff --git a/linux/ecosystem/testrail/5.5.0.3727/ldap/README.md b/linux/ecosystem/testrail/5.5.0.3727/ldap/README.md index 40cd83093..13a258c68 100644 --- a/linux/ecosystem/testrail/5.5.0.3727/ldap/README.md +++ b/linux/ecosystem/testrail/5.5.0.3727/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.5.0.3727 diff --git a/linux/ecosystem/testrail/5.5.0.3727/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3727/ldap/docker-compose.yml index b209ec5bc..e7c599da4 100644 --- a/linux/ecosystem/testrail/5.5.0.3727/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3727/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.5.0.3727" diff --git a/linux/ecosystem/testrail/5.5.0.3727/main/README.md b/linux/ecosystem/testrail/5.5.0.3727/main/README.md index f1681b365..3d9020c7b 100644 --- a/linux/ecosystem/testrail/5.5.0.3727/main/README.md +++ b/linux/ecosystem/testrail/5.5.0.3727/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.5.0.3727 diff --git a/linux/ecosystem/testrail/5.5.0.3727/main/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3727/main/docker-compose.yml index e12277156..002f70f91 100644 --- a/linux/ecosystem/testrail/5.5.0.3727/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3727/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.5.0.3727" diff --git a/linux/ecosystem/testrail/5.5.0.3731/ad/README.md b/linux/ecosystem/testrail/5.5.0.3731/ad/README.md index 1c7aa98a3..600473388 100644 --- a/linux/ecosystem/testrail/5.5.0.3731/ad/README.md +++ b/linux/ecosystem/testrail/5.5.0.3731/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.5.0.3731 diff --git a/linux/ecosystem/testrail/5.5.0.3731/ad/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3731/ad/docker-compose.yml index 5766805a0..646b22aff 100644 --- a/linux/ecosystem/testrail/5.5.0.3731/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3731/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.5.0.3731" diff --git a/linux/ecosystem/testrail/5.5.0.3731/ldap/README.md b/linux/ecosystem/testrail/5.5.0.3731/ldap/README.md index 48f61316c..1ba4451d3 100644 --- a/linux/ecosystem/testrail/5.5.0.3731/ldap/README.md +++ b/linux/ecosystem/testrail/5.5.0.3731/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.5.0.3731 diff --git a/linux/ecosystem/testrail/5.5.0.3731/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3731/ldap/docker-compose.yml index 52e4838e8..9359d5679 100644 --- a/linux/ecosystem/testrail/5.5.0.3731/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3731/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.5.0.3731" diff --git a/linux/ecosystem/testrail/5.5.0.3731/main/README.md b/linux/ecosystem/testrail/5.5.0.3731/main/README.md index 08fb8840a..1a2263d74 100644 --- a/linux/ecosystem/testrail/5.5.0.3731/main/README.md +++ b/linux/ecosystem/testrail/5.5.0.3731/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.5.0.3731 diff --git a/linux/ecosystem/testrail/5.5.0.3731/main/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3731/main/docker-compose.yml index a4494021c..325765880 100644 --- a/linux/ecosystem/testrail/5.5.0.3731/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3731/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.5.0.3731" diff --git a/linux/ecosystem/testrail/5.5.0.3735/ad/README.md b/linux/ecosystem/testrail/5.5.0.3735/ad/README.md index 0ec2dbaf5..2a083c1be 100644 --- a/linux/ecosystem/testrail/5.5.0.3735/ad/README.md +++ b/linux/ecosystem/testrail/5.5.0.3735/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.5.0.3735 diff --git a/linux/ecosystem/testrail/5.5.0.3735/ad/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3735/ad/docker-compose.yml index 989ce3f40..7ed0c9ea0 100644 --- a/linux/ecosystem/testrail/5.5.0.3735/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3735/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.5.0.3735" diff --git a/linux/ecosystem/testrail/5.5.0.3735/ldap/README.md b/linux/ecosystem/testrail/5.5.0.3735/ldap/README.md index 369594cd5..501f3fc63 100644 --- a/linux/ecosystem/testrail/5.5.0.3735/ldap/README.md +++ b/linux/ecosystem/testrail/5.5.0.3735/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.5.0.3735 diff --git a/linux/ecosystem/testrail/5.5.0.3735/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3735/ldap/docker-compose.yml index 2558f5467..b725ff534 100644 --- a/linux/ecosystem/testrail/5.5.0.3735/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3735/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.5.0.3735" diff --git a/linux/ecosystem/testrail/5.5.0.3735/main/README.md b/linux/ecosystem/testrail/5.5.0.3735/main/README.md index aa89ae2a9..136cdb4cd 100644 --- a/linux/ecosystem/testrail/5.5.0.3735/main/README.md +++ b/linux/ecosystem/testrail/5.5.0.3735/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.5.0.3735 diff --git a/linux/ecosystem/testrail/5.5.0.3735/main/docker-compose.yml b/linux/ecosystem/testrail/5.5.0.3735/main/docker-compose.yml index 473a51768..39c57b2d4 100644 --- a/linux/ecosystem/testrail/5.5.0.3735/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.0.3735/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.5.0.3735" diff --git a/linux/ecosystem/testrail/5.5.1.3746/ad/README.md b/linux/ecosystem/testrail/5.5.1.3746/ad/README.md index 90399fc79..7e22bc3fa 100644 --- a/linux/ecosystem/testrail/5.5.1.3746/ad/README.md +++ b/linux/ecosystem/testrail/5.5.1.3746/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.5.1.3746 diff --git a/linux/ecosystem/testrail/5.5.1.3746/ad/docker-compose.yml b/linux/ecosystem/testrail/5.5.1.3746/ad/docker-compose.yml index fabd25733..debb66a08 100644 --- a/linux/ecosystem/testrail/5.5.1.3746/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.1.3746/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.5.1.3746" diff --git a/linux/ecosystem/testrail/5.5.1.3746/ldap/README.md b/linux/ecosystem/testrail/5.5.1.3746/ldap/README.md index 117b23377..f7ba66ce3 100644 --- a/linux/ecosystem/testrail/5.5.1.3746/ldap/README.md +++ b/linux/ecosystem/testrail/5.5.1.3746/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.5.1.3746 diff --git a/linux/ecosystem/testrail/5.5.1.3746/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.5.1.3746/ldap/docker-compose.yml index daecd65f1..2aba27996 100644 --- a/linux/ecosystem/testrail/5.5.1.3746/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.1.3746/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.5.1.3746" diff --git a/linux/ecosystem/testrail/5.5.1.3746/main/README.md b/linux/ecosystem/testrail/5.5.1.3746/main/README.md index 93df0f19b..068f29ac9 100644 --- a/linux/ecosystem/testrail/5.5.1.3746/main/README.md +++ b/linux/ecosystem/testrail/5.5.1.3746/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.5.1.3746 diff --git a/linux/ecosystem/testrail/5.5.1.3746/main/docker-compose.yml b/linux/ecosystem/testrail/5.5.1.3746/main/docker-compose.yml index b857af8f4..48000dad9 100644 --- a/linux/ecosystem/testrail/5.5.1.3746/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.5.1.3746/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.5.1.3746" diff --git a/linux/ecosystem/testrail/5.6.0.3853/ad/README.md b/linux/ecosystem/testrail/5.6.0.3853/ad/README.md index 059ee3fa7..8c30950ec 100644 --- a/linux/ecosystem/testrail/5.6.0.3853/ad/README.md +++ b/linux/ecosystem/testrail/5.6.0.3853/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.6.0.3853 diff --git a/linux/ecosystem/testrail/5.6.0.3853/ad/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3853/ad/docker-compose.yml index e0f6cb6f4..3b729ccac 100644 --- a/linux/ecosystem/testrail/5.6.0.3853/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3853/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.6.0.3853" diff --git a/linux/ecosystem/testrail/5.6.0.3853/ldap/README.md b/linux/ecosystem/testrail/5.6.0.3853/ldap/README.md index 7b85ee6dd..978c9be18 100644 --- a/linux/ecosystem/testrail/5.6.0.3853/ldap/README.md +++ b/linux/ecosystem/testrail/5.6.0.3853/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.6.0.3853 diff --git a/linux/ecosystem/testrail/5.6.0.3853/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3853/ldap/docker-compose.yml index 9882b9ad8..e2e4bafbc 100644 --- a/linux/ecosystem/testrail/5.6.0.3853/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3853/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.6.0.3853" diff --git a/linux/ecosystem/testrail/5.6.0.3853/main/README.md b/linux/ecosystem/testrail/5.6.0.3853/main/README.md index 0f76516fd..e01e4ec7a 100644 --- a/linux/ecosystem/testrail/5.6.0.3853/main/README.md +++ b/linux/ecosystem/testrail/5.6.0.3853/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.6.0.3853 diff --git a/linux/ecosystem/testrail/5.6.0.3853/main/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3853/main/docker-compose.yml index c5855dd5a..0b743bc25 100644 --- a/linux/ecosystem/testrail/5.6.0.3853/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3853/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.6.0.3853" diff --git a/linux/ecosystem/testrail/5.6.0.3856/ad/README.md b/linux/ecosystem/testrail/5.6.0.3856/ad/README.md index bdbf08757..a7488dd55 100644 --- a/linux/ecosystem/testrail/5.6.0.3856/ad/README.md +++ b/linux/ecosystem/testrail/5.6.0.3856/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.6.0.3856 diff --git a/linux/ecosystem/testrail/5.6.0.3856/ad/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3856/ad/docker-compose.yml index 205ea3cc0..e30cecb4b 100644 --- a/linux/ecosystem/testrail/5.6.0.3856/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3856/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.6.0.3856" diff --git a/linux/ecosystem/testrail/5.6.0.3856/ldap/README.md b/linux/ecosystem/testrail/5.6.0.3856/ldap/README.md index c0239c660..ee747d38f 100644 --- a/linux/ecosystem/testrail/5.6.0.3856/ldap/README.md +++ b/linux/ecosystem/testrail/5.6.0.3856/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.6.0.3856 diff --git a/linux/ecosystem/testrail/5.6.0.3856/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3856/ldap/docker-compose.yml index 90342adb1..645133534 100644 --- a/linux/ecosystem/testrail/5.6.0.3856/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3856/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.6.0.3856" diff --git a/linux/ecosystem/testrail/5.6.0.3856/main/README.md b/linux/ecosystem/testrail/5.6.0.3856/main/README.md index 7c1a6a386..a6e41f238 100644 --- a/linux/ecosystem/testrail/5.6.0.3856/main/README.md +++ b/linux/ecosystem/testrail/5.6.0.3856/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.6.0.3856 diff --git a/linux/ecosystem/testrail/5.6.0.3856/main/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3856/main/docker-compose.yml index cedc7b26a..52cbf5548 100644 --- a/linux/ecosystem/testrail/5.6.0.3856/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3856/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.6.0.3856" diff --git a/linux/ecosystem/testrail/5.6.0.3861/ad/README.md b/linux/ecosystem/testrail/5.6.0.3861/ad/README.md index 9ecf12e9b..34d403f00 100644 --- a/linux/ecosystem/testrail/5.6.0.3861/ad/README.md +++ b/linux/ecosystem/testrail/5.6.0.3861/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.6.0.3861 diff --git a/linux/ecosystem/testrail/5.6.0.3861/ad/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3861/ad/docker-compose.yml index b4056c801..1eb70ee07 100644 --- a/linux/ecosystem/testrail/5.6.0.3861/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3861/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.6.0.3861" diff --git a/linux/ecosystem/testrail/5.6.0.3861/ldap/README.md b/linux/ecosystem/testrail/5.6.0.3861/ldap/README.md index 4dbebfeb5..1e73f7dfd 100644 --- a/linux/ecosystem/testrail/5.6.0.3861/ldap/README.md +++ b/linux/ecosystem/testrail/5.6.0.3861/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.6.0.3861 diff --git a/linux/ecosystem/testrail/5.6.0.3861/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3861/ldap/docker-compose.yml index 3c4686364..af4bb368f 100644 --- a/linux/ecosystem/testrail/5.6.0.3861/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3861/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.6.0.3861" diff --git a/linux/ecosystem/testrail/5.6.0.3861/main/README.md b/linux/ecosystem/testrail/5.6.0.3861/main/README.md index a5582c2b6..ac36ccc3b 100644 --- a/linux/ecosystem/testrail/5.6.0.3861/main/README.md +++ b/linux/ecosystem/testrail/5.6.0.3861/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.6.0.3861 diff --git a/linux/ecosystem/testrail/5.6.0.3861/main/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3861/main/docker-compose.yml index c6daebaa7..6d0b3b8d5 100644 --- a/linux/ecosystem/testrail/5.6.0.3861/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3861/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.6.0.3861" diff --git a/linux/ecosystem/testrail/5.6.0.3862/ad/README.md b/linux/ecosystem/testrail/5.6.0.3862/ad/README.md index 205ec3635..5c7ef3a89 100644 --- a/linux/ecosystem/testrail/5.6.0.3862/ad/README.md +++ b/linux/ecosystem/testrail/5.6.0.3862/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.6.0.3862 diff --git a/linux/ecosystem/testrail/5.6.0.3862/ad/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3862/ad/docker-compose.yml index 9d5c9b460..5c4d4a3bb 100644 --- a/linux/ecosystem/testrail/5.6.0.3862/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3862/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.6.0.3862" diff --git a/linux/ecosystem/testrail/5.6.0.3862/ldap/README.md b/linux/ecosystem/testrail/5.6.0.3862/ldap/README.md index 5217d2f0d..0e57071b7 100644 --- a/linux/ecosystem/testrail/5.6.0.3862/ldap/README.md +++ b/linux/ecosystem/testrail/5.6.0.3862/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.6.0.3862 diff --git a/linux/ecosystem/testrail/5.6.0.3862/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3862/ldap/docker-compose.yml index 72934eaed..c153a73ce 100644 --- a/linux/ecosystem/testrail/5.6.0.3862/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3862/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.6.0.3862" diff --git a/linux/ecosystem/testrail/5.6.0.3862/main/README.md b/linux/ecosystem/testrail/5.6.0.3862/main/README.md index 31cef947a..4db4fb303 100644 --- a/linux/ecosystem/testrail/5.6.0.3862/main/README.md +++ b/linux/ecosystem/testrail/5.6.0.3862/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.6.0.3862 diff --git a/linux/ecosystem/testrail/5.6.0.3862/main/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3862/main/docker-compose.yml index 7eb6e972a..3fd6a84a9 100644 --- a/linux/ecosystem/testrail/5.6.0.3862/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3862/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.6.0.3862" diff --git a/linux/ecosystem/testrail/5.6.0.3865/ad/README.md b/linux/ecosystem/testrail/5.6.0.3865/ad/README.md index c6bb1d8c0..6725daf61 100644 --- a/linux/ecosystem/testrail/5.6.0.3865/ad/README.md +++ b/linux/ecosystem/testrail/5.6.0.3865/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.6.0.3865 diff --git a/linux/ecosystem/testrail/5.6.0.3865/ad/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3865/ad/docker-compose.yml index 82e7d57e2..827758ac3 100644 --- a/linux/ecosystem/testrail/5.6.0.3865/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3865/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.6.0.3865" diff --git a/linux/ecosystem/testrail/5.6.0.3865/ldap/README.md b/linux/ecosystem/testrail/5.6.0.3865/ldap/README.md index bf25e5246..34e65614b 100644 --- a/linux/ecosystem/testrail/5.6.0.3865/ldap/README.md +++ b/linux/ecosystem/testrail/5.6.0.3865/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.6.0.3865 diff --git a/linux/ecosystem/testrail/5.6.0.3865/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3865/ldap/docker-compose.yml index a53640c73..e64513f19 100644 --- a/linux/ecosystem/testrail/5.6.0.3865/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3865/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.6.0.3865" diff --git a/linux/ecosystem/testrail/5.6.0.3865/main/README.md b/linux/ecosystem/testrail/5.6.0.3865/main/README.md index eb4df9a5c..0be2e5022 100644 --- a/linux/ecosystem/testrail/5.6.0.3865/main/README.md +++ b/linux/ecosystem/testrail/5.6.0.3865/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.6.0.3865 diff --git a/linux/ecosystem/testrail/5.6.0.3865/main/docker-compose.yml b/linux/ecosystem/testrail/5.6.0.3865/main/docker-compose.yml index b8328a589..7c4d91cfb 100644 --- a/linux/ecosystem/testrail/5.6.0.3865/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.6.0.3865/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.6.0.3865" diff --git a/linux/ecosystem/testrail/5.7.0.3938/ad/README.md b/linux/ecosystem/testrail/5.7.0.3938/ad/README.md index bffe50787..f4fe51810 100644 --- a/linux/ecosystem/testrail/5.7.0.3938/ad/README.md +++ b/linux/ecosystem/testrail/5.7.0.3938/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.7.0.3938 diff --git a/linux/ecosystem/testrail/5.7.0.3938/ad/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3938/ad/docker-compose.yml index 784779799..52f1bcd99 100644 --- a/linux/ecosystem/testrail/5.7.0.3938/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3938/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.7.0.3938" diff --git a/linux/ecosystem/testrail/5.7.0.3938/ldap/README.md b/linux/ecosystem/testrail/5.7.0.3938/ldap/README.md index 72a7be689..d15856f83 100644 --- a/linux/ecosystem/testrail/5.7.0.3938/ldap/README.md +++ b/linux/ecosystem/testrail/5.7.0.3938/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.7.0.3938 diff --git a/linux/ecosystem/testrail/5.7.0.3938/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3938/ldap/docker-compose.yml index 04a24fdab..aaea353e4 100644 --- a/linux/ecosystem/testrail/5.7.0.3938/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3938/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.7.0.3938" diff --git a/linux/ecosystem/testrail/5.7.0.3938/main/README.md b/linux/ecosystem/testrail/5.7.0.3938/main/README.md index 824f71ab8..bdbf06b56 100644 --- a/linux/ecosystem/testrail/5.7.0.3938/main/README.md +++ b/linux/ecosystem/testrail/5.7.0.3938/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.7.0.3938 diff --git a/linux/ecosystem/testrail/5.7.0.3938/main/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3938/main/docker-compose.yml index e7cdfb721..f5006d9f8 100644 --- a/linux/ecosystem/testrail/5.7.0.3938/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3938/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.7.0.3938" diff --git a/linux/ecosystem/testrail/5.7.0.3942/ad/README.md b/linux/ecosystem/testrail/5.7.0.3942/ad/README.md index 16a55d5f3..7e7db1da5 100644 --- a/linux/ecosystem/testrail/5.7.0.3942/ad/README.md +++ b/linux/ecosystem/testrail/5.7.0.3942/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.7.0.3942 diff --git a/linux/ecosystem/testrail/5.7.0.3942/ad/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3942/ad/docker-compose.yml index 13fc25283..d6d792fd9 100644 --- a/linux/ecosystem/testrail/5.7.0.3942/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3942/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.7.0.3942" diff --git a/linux/ecosystem/testrail/5.7.0.3942/ldap/README.md b/linux/ecosystem/testrail/5.7.0.3942/ldap/README.md index d4667fdcb..8f833397f 100644 --- a/linux/ecosystem/testrail/5.7.0.3942/ldap/README.md +++ b/linux/ecosystem/testrail/5.7.0.3942/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.7.0.3942 diff --git a/linux/ecosystem/testrail/5.7.0.3942/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3942/ldap/docker-compose.yml index 070d132f9..4888f6998 100644 --- a/linux/ecosystem/testrail/5.7.0.3942/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3942/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.7.0.3942" diff --git a/linux/ecosystem/testrail/5.7.0.3942/main/README.md b/linux/ecosystem/testrail/5.7.0.3942/main/README.md index 9d4b8fe08..d22d01a66 100644 --- a/linux/ecosystem/testrail/5.7.0.3942/main/README.md +++ b/linux/ecosystem/testrail/5.7.0.3942/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.7.0.3942 diff --git a/linux/ecosystem/testrail/5.7.0.3942/main/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3942/main/docker-compose.yml index b58a8f9d5..b8f234a34 100644 --- a/linux/ecosystem/testrail/5.7.0.3942/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3942/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.7.0.3942" diff --git a/linux/ecosystem/testrail/5.7.0.3951/ad/README.md b/linux/ecosystem/testrail/5.7.0.3951/ad/README.md index 8e07ec420..0e11108ef 100644 --- a/linux/ecosystem/testrail/5.7.0.3951/ad/README.md +++ b/linux/ecosystem/testrail/5.7.0.3951/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.7.0.3951 diff --git a/linux/ecosystem/testrail/5.7.0.3951/ad/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3951/ad/docker-compose.yml index 9e8c6f0d0..07a4659b3 100644 --- a/linux/ecosystem/testrail/5.7.0.3951/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3951/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.7.0.3951" diff --git a/linux/ecosystem/testrail/5.7.0.3951/ldap/README.md b/linux/ecosystem/testrail/5.7.0.3951/ldap/README.md index 3af21c568..1f9ac2b39 100644 --- a/linux/ecosystem/testrail/5.7.0.3951/ldap/README.md +++ b/linux/ecosystem/testrail/5.7.0.3951/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.7.0.3951 diff --git a/linux/ecosystem/testrail/5.7.0.3951/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3951/ldap/docker-compose.yml index 3ac7a061b..def385061 100644 --- a/linux/ecosystem/testrail/5.7.0.3951/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3951/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.7.0.3951" diff --git a/linux/ecosystem/testrail/5.7.0.3951/main/README.md b/linux/ecosystem/testrail/5.7.0.3951/main/README.md index 3fe022c35..b13d589b2 100644 --- a/linux/ecosystem/testrail/5.7.0.3951/main/README.md +++ b/linux/ecosystem/testrail/5.7.0.3951/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.7.0.3951 diff --git a/linux/ecosystem/testrail/5.7.0.3951/main/docker-compose.yml b/linux/ecosystem/testrail/5.7.0.3951/main/docker-compose.yml index 1879e65ef..da9491fad 100644 --- a/linux/ecosystem/testrail/5.7.0.3951/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.0.3951/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.7.0.3951" diff --git a/linux/ecosystem/testrail/5.7.1.4026/ad/README.md b/linux/ecosystem/testrail/5.7.1.4026/ad/README.md index bdbdeb635..393d66b83 100644 --- a/linux/ecosystem/testrail/5.7.1.4026/ad/README.md +++ b/linux/ecosystem/testrail/5.7.1.4026/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.7.1.4026 diff --git a/linux/ecosystem/testrail/5.7.1.4026/ad/docker-compose.yml b/linux/ecosystem/testrail/5.7.1.4026/ad/docker-compose.yml index 3962ef10d..37aed69c1 100644 --- a/linux/ecosystem/testrail/5.7.1.4026/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.1.4026/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.7.1.4026" diff --git a/linux/ecosystem/testrail/5.7.1.4026/ldap/README.md b/linux/ecosystem/testrail/5.7.1.4026/ldap/README.md index 238edd354..f029cf955 100644 --- a/linux/ecosystem/testrail/5.7.1.4026/ldap/README.md +++ b/linux/ecosystem/testrail/5.7.1.4026/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.7.1.4026 diff --git a/linux/ecosystem/testrail/5.7.1.4026/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.7.1.4026/ldap/docker-compose.yml index 0d37a0967..02f36246b 100644 --- a/linux/ecosystem/testrail/5.7.1.4026/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.1.4026/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.7.1.4026" diff --git a/linux/ecosystem/testrail/5.7.1.4026/main/README.md b/linux/ecosystem/testrail/5.7.1.4026/main/README.md index 0fe4354a3..6570eaf69 100644 --- a/linux/ecosystem/testrail/5.7.1.4026/main/README.md +++ b/linux/ecosystem/testrail/5.7.1.4026/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.7.1.4026 diff --git a/linux/ecosystem/testrail/5.7.1.4026/main/docker-compose.yml b/linux/ecosystem/testrail/5.7.1.4026/main/docker-compose.yml index afabdff5e..06812e9af 100644 --- a/linux/ecosystem/testrail/5.7.1.4026/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.1.4026/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.7.1.4026" diff --git a/linux/ecosystem/testrail/5.7.1.4028/ad/README.md b/linux/ecosystem/testrail/5.7.1.4028/ad/README.md index 0b89955df..149911fef 100644 --- a/linux/ecosystem/testrail/5.7.1.4028/ad/README.md +++ b/linux/ecosystem/testrail/5.7.1.4028/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:5.7.1.4028 diff --git a/linux/ecosystem/testrail/5.7.1.4028/ad/docker-compose.yml b/linux/ecosystem/testrail/5.7.1.4028/ad/docker-compose.yml index c03604770..b734c72e1 100644 --- a/linux/ecosystem/testrail/5.7.1.4028/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.1.4028/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-5.7.1.4028" diff --git a/linux/ecosystem/testrail/5.7.1.4028/ldap/README.md b/linux/ecosystem/testrail/5.7.1.4028/ldap/README.md index 84ce8d410..695f9a45c 100644 --- a/linux/ecosystem/testrail/5.7.1.4028/ldap/README.md +++ b/linux/ecosystem/testrail/5.7.1.4028/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-5.7.1.4028 diff --git a/linux/ecosystem/testrail/5.7.1.4028/ldap/docker-compose.yml b/linux/ecosystem/testrail/5.7.1.4028/ldap/docker-compose.yml index 3df6ad9fc..295cf246e 100644 --- a/linux/ecosystem/testrail/5.7.1.4028/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.1.4028/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-5.7.1.4028" diff --git a/linux/ecosystem/testrail/5.7.1.4028/main/README.md b/linux/ecosystem/testrail/5.7.1.4028/main/README.md index 2f4de26e0..f1735a525 100644 --- a/linux/ecosystem/testrail/5.7.1.4028/main/README.md +++ b/linux/ecosystem/testrail/5.7.1.4028/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:5.7.1.4028 diff --git a/linux/ecosystem/testrail/5.7.1.4028/main/docker-compose.yml b/linux/ecosystem/testrail/5.7.1.4028/main/docker-compose.yml index 8e282684b..e99943fb1 100644 --- a/linux/ecosystem/testrail/5.7.1.4028/main/docker-compose.yml +++ b/linux/ecosystem/testrail/5.7.1.4028/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:5.7.1.4028" diff --git a/linux/ecosystem/testrail/6.0.0.4140/ad/README.md b/linux/ecosystem/testrail/6.0.0.4140/ad/README.md index 8773d93f6..cb4a6172e 100644 --- a/linux/ecosystem/testrail/6.0.0.4140/ad/README.md +++ b/linux/ecosystem/testrail/6.0.0.4140/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.0.0.4140 diff --git a/linux/ecosystem/testrail/6.0.0.4140/ad/docker-compose.yml b/linux/ecosystem/testrail/6.0.0.4140/ad/docker-compose.yml index 584186bb9..0e08795bb 100644 --- a/linux/ecosystem/testrail/6.0.0.4140/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.0.0.4140/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.0.0.4140" diff --git a/linux/ecosystem/testrail/6.0.0.4140/ldap/README.md b/linux/ecosystem/testrail/6.0.0.4140/ldap/README.md index ddc49d9b6..11f58b886 100644 --- a/linux/ecosystem/testrail/6.0.0.4140/ldap/README.md +++ b/linux/ecosystem/testrail/6.0.0.4140/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.0.0.4140 diff --git a/linux/ecosystem/testrail/6.0.0.4140/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.0.0.4140/ldap/docker-compose.yml index 40b0e7788..5e0a16e6f 100644 --- a/linux/ecosystem/testrail/6.0.0.4140/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.0.0.4140/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.0.0.4140" diff --git a/linux/ecosystem/testrail/6.0.0.4140/main/README.md b/linux/ecosystem/testrail/6.0.0.4140/main/README.md index f3b84c7fd..e8d0cf16c 100644 --- a/linux/ecosystem/testrail/6.0.0.4140/main/README.md +++ b/linux/ecosystem/testrail/6.0.0.4140/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.0.0.4140 diff --git a/linux/ecosystem/testrail/6.0.0.4140/main/docker-compose.yml b/linux/ecosystem/testrail/6.0.0.4140/main/docker-compose.yml index c32e38820..7b6923be9 100644 --- a/linux/ecosystem/testrail/6.0.0.4140/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.0.0.4140/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.0.0.4140" diff --git a/linux/ecosystem/testrail/6.0.1.4163/ad/README.md b/linux/ecosystem/testrail/6.0.1.4163/ad/README.md index b24281c6d..914dd883c 100644 --- a/linux/ecosystem/testrail/6.0.1.4163/ad/README.md +++ b/linux/ecosystem/testrail/6.0.1.4163/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.0.1.4163 diff --git a/linux/ecosystem/testrail/6.0.1.4163/ad/docker-compose.yml b/linux/ecosystem/testrail/6.0.1.4163/ad/docker-compose.yml index 28f73a1e0..316c3bfac 100644 --- a/linux/ecosystem/testrail/6.0.1.4163/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.0.1.4163/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.0.1.4163" diff --git a/linux/ecosystem/testrail/6.0.1.4163/ldap/README.md b/linux/ecosystem/testrail/6.0.1.4163/ldap/README.md index 4e88871cc..0d73b2a16 100644 --- a/linux/ecosystem/testrail/6.0.1.4163/ldap/README.md +++ b/linux/ecosystem/testrail/6.0.1.4163/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.0.1.4163 diff --git a/linux/ecosystem/testrail/6.0.1.4163/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.0.1.4163/ldap/docker-compose.yml index caac4bb24..a51a2e580 100644 --- a/linux/ecosystem/testrail/6.0.1.4163/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.0.1.4163/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.0.1.4163" diff --git a/linux/ecosystem/testrail/6.0.1.4163/main/README.md b/linux/ecosystem/testrail/6.0.1.4163/main/README.md index 9187ded82..73a2d1713 100644 --- a/linux/ecosystem/testrail/6.0.1.4163/main/README.md +++ b/linux/ecosystem/testrail/6.0.1.4163/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.0.1.4163 diff --git a/linux/ecosystem/testrail/6.0.1.4163/main/docker-compose.yml b/linux/ecosystem/testrail/6.0.1.4163/main/docker-compose.yml index cf07de614..e3bffbba3 100644 --- a/linux/ecosystem/testrail/6.0.1.4163/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.0.1.4163/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.0.1.4163" diff --git a/linux/ecosystem/testrail/6.1.0.4367/ad/README.md b/linux/ecosystem/testrail/6.1.0.4367/ad/README.md index d7cdb34cc..50aaacd7e 100644 --- a/linux/ecosystem/testrail/6.1.0.4367/ad/README.md +++ b/linux/ecosystem/testrail/6.1.0.4367/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.1.0.4367 diff --git a/linux/ecosystem/testrail/6.1.0.4367/ad/docker-compose.yml b/linux/ecosystem/testrail/6.1.0.4367/ad/docker-compose.yml index 1eacec620..e2f3997c2 100644 --- a/linux/ecosystem/testrail/6.1.0.4367/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.0.4367/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.1.0.4367" diff --git a/linux/ecosystem/testrail/6.1.0.4367/ldap/README.md b/linux/ecosystem/testrail/6.1.0.4367/ldap/README.md index 00fc14568..2a2474e6f 100644 --- a/linux/ecosystem/testrail/6.1.0.4367/ldap/README.md +++ b/linux/ecosystem/testrail/6.1.0.4367/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.1.0.4367 diff --git a/linux/ecosystem/testrail/6.1.0.4367/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.1.0.4367/ldap/docker-compose.yml index bf2dc2e49..4b63f043e 100644 --- a/linux/ecosystem/testrail/6.1.0.4367/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.0.4367/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.1.0.4367" diff --git a/linux/ecosystem/testrail/6.1.0.4367/main/README.md b/linux/ecosystem/testrail/6.1.0.4367/main/README.md index b561cf052..ba4391b01 100644 --- a/linux/ecosystem/testrail/6.1.0.4367/main/README.md +++ b/linux/ecosystem/testrail/6.1.0.4367/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.1.0.4367 diff --git a/linux/ecosystem/testrail/6.1.0.4367/main/docker-compose.yml b/linux/ecosystem/testrail/6.1.0.4367/main/docker-compose.yml index 1095b851d..0059399ba 100644 --- a/linux/ecosystem/testrail/6.1.0.4367/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.0.4367/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.1.0.4367" diff --git a/linux/ecosystem/testrail/6.1.0.4369/ad/README.md b/linux/ecosystem/testrail/6.1.0.4369/ad/README.md index c245d0c03..63c77991a 100644 --- a/linux/ecosystem/testrail/6.1.0.4369/ad/README.md +++ b/linux/ecosystem/testrail/6.1.0.4369/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.1.0.4369 diff --git a/linux/ecosystem/testrail/6.1.0.4369/ad/docker-compose.yml b/linux/ecosystem/testrail/6.1.0.4369/ad/docker-compose.yml index 1fee7978e..042a0562f 100644 --- a/linux/ecosystem/testrail/6.1.0.4369/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.0.4369/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.1.0.4369" diff --git a/linux/ecosystem/testrail/6.1.0.4369/ldap/README.md b/linux/ecosystem/testrail/6.1.0.4369/ldap/README.md index c189c77a6..88d740625 100644 --- a/linux/ecosystem/testrail/6.1.0.4369/ldap/README.md +++ b/linux/ecosystem/testrail/6.1.0.4369/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.1.0.4369 diff --git a/linux/ecosystem/testrail/6.1.0.4369/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.1.0.4369/ldap/docker-compose.yml index ca4516422..90b76b928 100644 --- a/linux/ecosystem/testrail/6.1.0.4369/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.0.4369/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.1.0.4369" diff --git a/linux/ecosystem/testrail/6.1.0.4369/main/README.md b/linux/ecosystem/testrail/6.1.0.4369/main/README.md index 625c1ee0e..9567ac846 100644 --- a/linux/ecosystem/testrail/6.1.0.4369/main/README.md +++ b/linux/ecosystem/testrail/6.1.0.4369/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.1.0.4369 diff --git a/linux/ecosystem/testrail/6.1.0.4369/main/docker-compose.yml b/linux/ecosystem/testrail/6.1.0.4369/main/docker-compose.yml index 1b82a396a..21f1dee80 100644 --- a/linux/ecosystem/testrail/6.1.0.4369/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.0.4369/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.1.0.4369" diff --git a/linux/ecosystem/testrail/6.1.1.1020/ad/README.md b/linux/ecosystem/testrail/6.1.1.1020/ad/README.md index 02544105c..776654d58 100644 --- a/linux/ecosystem/testrail/6.1.1.1020/ad/README.md +++ b/linux/ecosystem/testrail/6.1.1.1020/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.1.1.1020 diff --git a/linux/ecosystem/testrail/6.1.1.1020/ad/docker-compose.yml b/linux/ecosystem/testrail/6.1.1.1020/ad/docker-compose.yml index 628fb4c26..019c98ca2 100644 --- a/linux/ecosystem/testrail/6.1.1.1020/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.1.1020/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.1.1.1020" diff --git a/linux/ecosystem/testrail/6.1.1.1020/ldap/README.md b/linux/ecosystem/testrail/6.1.1.1020/ldap/README.md index 4b8eb097a..bd690cc57 100644 --- a/linux/ecosystem/testrail/6.1.1.1020/ldap/README.md +++ b/linux/ecosystem/testrail/6.1.1.1020/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.1.1.1020 diff --git a/linux/ecosystem/testrail/6.1.1.1020/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.1.1.1020/ldap/docker-compose.yml index 8288ccb5c..4293e73c9 100644 --- a/linux/ecosystem/testrail/6.1.1.1020/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.1.1020/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.1.1.1020" diff --git a/linux/ecosystem/testrail/6.1.1.1020/main/README.md b/linux/ecosystem/testrail/6.1.1.1020/main/README.md index 8c0c7ae76..b4457249a 100644 --- a/linux/ecosystem/testrail/6.1.1.1020/main/README.md +++ b/linux/ecosystem/testrail/6.1.1.1020/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.1.1.1020 diff --git a/linux/ecosystem/testrail/6.1.1.1020/main/docker-compose.yml b/linux/ecosystem/testrail/6.1.1.1020/main/docker-compose.yml index 0f599fec8..a9561fb48 100644 --- a/linux/ecosystem/testrail/6.1.1.1020/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.1.1020/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.1.1.1020" diff --git a/linux/ecosystem/testrail/6.1.1.1021/ad/README.md b/linux/ecosystem/testrail/6.1.1.1021/ad/README.md index ebf5fc37c..9d808a587 100644 --- a/linux/ecosystem/testrail/6.1.1.1021/ad/README.md +++ b/linux/ecosystem/testrail/6.1.1.1021/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.1.1.1021 diff --git a/linux/ecosystem/testrail/6.1.1.1021/ad/docker-compose.yml b/linux/ecosystem/testrail/6.1.1.1021/ad/docker-compose.yml index 70febcac9..5620532db 100644 --- a/linux/ecosystem/testrail/6.1.1.1021/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.1.1021/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.1.1.1021" diff --git a/linux/ecosystem/testrail/6.1.1.1021/ldap/README.md b/linux/ecosystem/testrail/6.1.1.1021/ldap/README.md index dbb1069c0..7842f8bd3 100644 --- a/linux/ecosystem/testrail/6.1.1.1021/ldap/README.md +++ b/linux/ecosystem/testrail/6.1.1.1021/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.1.1.1021 diff --git a/linux/ecosystem/testrail/6.1.1.1021/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.1.1.1021/ldap/docker-compose.yml index e12e7123f..3fb170437 100644 --- a/linux/ecosystem/testrail/6.1.1.1021/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.1.1021/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.1.1.1021" diff --git a/linux/ecosystem/testrail/6.1.1.1021/main/README.md b/linux/ecosystem/testrail/6.1.1.1021/main/README.md index 9194369a8..8cf965864 100644 --- a/linux/ecosystem/testrail/6.1.1.1021/main/README.md +++ b/linux/ecosystem/testrail/6.1.1.1021/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.1.1.1021 diff --git a/linux/ecosystem/testrail/6.1.1.1021/main/docker-compose.yml b/linux/ecosystem/testrail/6.1.1.1021/main/docker-compose.yml index 9e681368a..d3cae412a 100644 --- a/linux/ecosystem/testrail/6.1.1.1021/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.1.1.1021/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.1.1.1021" diff --git a/linux/ecosystem/testrail/6.2.0.1085/ad/README.md b/linux/ecosystem/testrail/6.2.0.1085/ad/README.md index 476e54617..e2b645378 100644 --- a/linux/ecosystem/testrail/6.2.0.1085/ad/README.md +++ b/linux/ecosystem/testrail/6.2.0.1085/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.2.0.1085 diff --git a/linux/ecosystem/testrail/6.2.0.1085/ad/docker-compose.yml b/linux/ecosystem/testrail/6.2.0.1085/ad/docker-compose.yml index 4c17fc872..b2dbc4231 100644 --- a/linux/ecosystem/testrail/6.2.0.1085/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.0.1085/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.2.0.1085" diff --git a/linux/ecosystem/testrail/6.2.0.1085/ldap/README.md b/linux/ecosystem/testrail/6.2.0.1085/ldap/README.md index 77f4c31a0..763f4b786 100644 --- a/linux/ecosystem/testrail/6.2.0.1085/ldap/README.md +++ b/linux/ecosystem/testrail/6.2.0.1085/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.2.0.1085 diff --git a/linux/ecosystem/testrail/6.2.0.1085/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.2.0.1085/ldap/docker-compose.yml index 44adbc153..110aaba1f 100644 --- a/linux/ecosystem/testrail/6.2.0.1085/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.0.1085/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.2.0.1085" diff --git a/linux/ecosystem/testrail/6.2.0.1085/main/README.md b/linux/ecosystem/testrail/6.2.0.1085/main/README.md index d5c3e86f9..adb78bdf8 100644 --- a/linux/ecosystem/testrail/6.2.0.1085/main/README.md +++ b/linux/ecosystem/testrail/6.2.0.1085/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.2.0.1085 diff --git a/linux/ecosystem/testrail/6.2.0.1085/main/docker-compose.yml b/linux/ecosystem/testrail/6.2.0.1085/main/docker-compose.yml index 7d39f3121..0a2808d5c 100644 --- a/linux/ecosystem/testrail/6.2.0.1085/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.0.1085/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.2.0.1085" diff --git a/linux/ecosystem/testrail/6.2.1.1003/ad/README.md b/linux/ecosystem/testrail/6.2.1.1003/ad/README.md index dda810595..9edb77255 100644 --- a/linux/ecosystem/testrail/6.2.1.1003/ad/README.md +++ b/linux/ecosystem/testrail/6.2.1.1003/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.2.1.1003 diff --git a/linux/ecosystem/testrail/6.2.1.1003/ad/docker-compose.yml b/linux/ecosystem/testrail/6.2.1.1003/ad/docker-compose.yml index eab932d17..5daf1a6b7 100644 --- a/linux/ecosystem/testrail/6.2.1.1003/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.1.1003/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.2.1.1003" diff --git a/linux/ecosystem/testrail/6.2.1.1003/ldap/README.md b/linux/ecosystem/testrail/6.2.1.1003/ldap/README.md index 0a8c9ad9d..1b9cb5b91 100644 --- a/linux/ecosystem/testrail/6.2.1.1003/ldap/README.md +++ b/linux/ecosystem/testrail/6.2.1.1003/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.2.1.1003 diff --git a/linux/ecosystem/testrail/6.2.1.1003/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.2.1.1003/ldap/docker-compose.yml index ec404005a..2262f2927 100644 --- a/linux/ecosystem/testrail/6.2.1.1003/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.1.1003/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.2.1.1003" diff --git a/linux/ecosystem/testrail/6.2.1.1003/main/README.md b/linux/ecosystem/testrail/6.2.1.1003/main/README.md index fb42e1128..c3cff5a1f 100644 --- a/linux/ecosystem/testrail/6.2.1.1003/main/README.md +++ b/linux/ecosystem/testrail/6.2.1.1003/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.2.1.1003 diff --git a/linux/ecosystem/testrail/6.2.1.1003/main/docker-compose.yml b/linux/ecosystem/testrail/6.2.1.1003/main/docker-compose.yml index 778eea983..d4f58e180 100644 --- a/linux/ecosystem/testrail/6.2.1.1003/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.1.1003/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.2.1.1003" diff --git a/linux/ecosystem/testrail/6.2.1.1005/ad/README.md b/linux/ecosystem/testrail/6.2.1.1005/ad/README.md index fa7ce01dd..90223a0f8 100644 --- a/linux/ecosystem/testrail/6.2.1.1005/ad/README.md +++ b/linux/ecosystem/testrail/6.2.1.1005/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.2.1.1005 diff --git a/linux/ecosystem/testrail/6.2.1.1005/ad/docker-compose.yml b/linux/ecosystem/testrail/6.2.1.1005/ad/docker-compose.yml index 841a0d288..8f5645bb8 100644 --- a/linux/ecosystem/testrail/6.2.1.1005/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.1.1005/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.2.1.1005" diff --git a/linux/ecosystem/testrail/6.2.1.1005/ldap/README.md b/linux/ecosystem/testrail/6.2.1.1005/ldap/README.md index d49d2eda0..bdc30490e 100644 --- a/linux/ecosystem/testrail/6.2.1.1005/ldap/README.md +++ b/linux/ecosystem/testrail/6.2.1.1005/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.2.1.1005 diff --git a/linux/ecosystem/testrail/6.2.1.1005/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.2.1.1005/ldap/docker-compose.yml index 9aa1e4eb2..b74db6c80 100644 --- a/linux/ecosystem/testrail/6.2.1.1005/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.1.1005/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.2.1.1005" diff --git a/linux/ecosystem/testrail/6.2.1.1005/main/README.md b/linux/ecosystem/testrail/6.2.1.1005/main/README.md index e0d45b7ac..13477c436 100644 --- a/linux/ecosystem/testrail/6.2.1.1005/main/README.md +++ b/linux/ecosystem/testrail/6.2.1.1005/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.2.1.1005 diff --git a/linux/ecosystem/testrail/6.2.1.1005/main/docker-compose.yml b/linux/ecosystem/testrail/6.2.1.1005/main/docker-compose.yml index 9a21931c5..cd00952e5 100644 --- a/linux/ecosystem/testrail/6.2.1.1005/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.1.1005/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.2.1.1005" diff --git a/linux/ecosystem/testrail/6.2.2.1107/ad/README.md b/linux/ecosystem/testrail/6.2.2.1107/ad/README.md index f8a862741..f69567dcf 100644 --- a/linux/ecosystem/testrail/6.2.2.1107/ad/README.md +++ b/linux/ecosystem/testrail/6.2.2.1107/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.2.2.1107 diff --git a/linux/ecosystem/testrail/6.2.2.1107/ad/docker-compose.yml b/linux/ecosystem/testrail/6.2.2.1107/ad/docker-compose.yml index 5ced59e4b..a4e26ceec 100644 --- a/linux/ecosystem/testrail/6.2.2.1107/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.2.1107/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.2.2.1107" diff --git a/linux/ecosystem/testrail/6.2.2.1107/ldap/README.md b/linux/ecosystem/testrail/6.2.2.1107/ldap/README.md index 5b597b4b9..84c8f5d61 100644 --- a/linux/ecosystem/testrail/6.2.2.1107/ldap/README.md +++ b/linux/ecosystem/testrail/6.2.2.1107/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.2.2.1107 diff --git a/linux/ecosystem/testrail/6.2.2.1107/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.2.2.1107/ldap/docker-compose.yml index b97348a75..1ed1ae17d 100644 --- a/linux/ecosystem/testrail/6.2.2.1107/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.2.1107/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.2.2.1107" diff --git a/linux/ecosystem/testrail/6.2.2.1107/main/README.md b/linux/ecosystem/testrail/6.2.2.1107/main/README.md index 10c7d2388..ff8d8dfc2 100644 --- a/linux/ecosystem/testrail/6.2.2.1107/main/README.md +++ b/linux/ecosystem/testrail/6.2.2.1107/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.2.2.1107 diff --git a/linux/ecosystem/testrail/6.2.2.1107/main/docker-compose.yml b/linux/ecosystem/testrail/6.2.2.1107/main/docker-compose.yml index cb6d6394f..c97cde421 100644 --- a/linux/ecosystem/testrail/6.2.2.1107/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.2.1107/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.2.2.1107" diff --git a/linux/ecosystem/testrail/6.2.3.1114/ad/README.md b/linux/ecosystem/testrail/6.2.3.1114/ad/README.md index a6c6b1200..57d08bee6 100644 --- a/linux/ecosystem/testrail/6.2.3.1114/ad/README.md +++ b/linux/ecosystem/testrail/6.2.3.1114/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.2.3.1114 diff --git a/linux/ecosystem/testrail/6.2.3.1114/ad/docker-compose.yml b/linux/ecosystem/testrail/6.2.3.1114/ad/docker-compose.yml index 84f4377cf..eb2b5b836 100644 --- a/linux/ecosystem/testrail/6.2.3.1114/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.3.1114/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.2.3.1114" diff --git a/linux/ecosystem/testrail/6.2.3.1114/ldap/README.md b/linux/ecosystem/testrail/6.2.3.1114/ldap/README.md index 156eae581..06e4605ba 100644 --- a/linux/ecosystem/testrail/6.2.3.1114/ldap/README.md +++ b/linux/ecosystem/testrail/6.2.3.1114/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.2.3.1114 diff --git a/linux/ecosystem/testrail/6.2.3.1114/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.2.3.1114/ldap/docker-compose.yml index aa158f072..8a9fbb192 100644 --- a/linux/ecosystem/testrail/6.2.3.1114/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.3.1114/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.2.3.1114" diff --git a/linux/ecosystem/testrail/6.2.3.1114/main/README.md b/linux/ecosystem/testrail/6.2.3.1114/main/README.md index f47f73a42..75fd4baed 100644 --- a/linux/ecosystem/testrail/6.2.3.1114/main/README.md +++ b/linux/ecosystem/testrail/6.2.3.1114/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.2.3.1114 diff --git a/linux/ecosystem/testrail/6.2.3.1114/main/docker-compose.yml b/linux/ecosystem/testrail/6.2.3.1114/main/docker-compose.yml index 239af282a..0620ea547 100644 --- a/linux/ecosystem/testrail/6.2.3.1114/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.2.3.1114/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.2.3.1114" diff --git a/linux/ecosystem/testrail/6.3.0.1120/ad/README.md b/linux/ecosystem/testrail/6.3.0.1120/ad/README.md index b2394c3a0..c033a2e5e 100644 --- a/linux/ecosystem/testrail/6.3.0.1120/ad/README.md +++ b/linux/ecosystem/testrail/6.3.0.1120/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.3.0.1120 diff --git a/linux/ecosystem/testrail/6.3.0.1120/ad/docker-compose.yml b/linux/ecosystem/testrail/6.3.0.1120/ad/docker-compose.yml index 974a1d3f3..5bb1c561b 100644 --- a/linux/ecosystem/testrail/6.3.0.1120/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.0.1120/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.3.0.1120" diff --git a/linux/ecosystem/testrail/6.3.0.1120/ldap/README.md b/linux/ecosystem/testrail/6.3.0.1120/ldap/README.md index 5a43017c8..43aa39f26 100644 --- a/linux/ecosystem/testrail/6.3.0.1120/ldap/README.md +++ b/linux/ecosystem/testrail/6.3.0.1120/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.3.0.1120 diff --git a/linux/ecosystem/testrail/6.3.0.1120/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.3.0.1120/ldap/docker-compose.yml index a9efc9091..016ff07b5 100644 --- a/linux/ecosystem/testrail/6.3.0.1120/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.0.1120/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.3.0.1120" diff --git a/linux/ecosystem/testrail/6.3.0.1120/main/README.md b/linux/ecosystem/testrail/6.3.0.1120/main/README.md index 65477fd0d..24440738f 100644 --- a/linux/ecosystem/testrail/6.3.0.1120/main/README.md +++ b/linux/ecosystem/testrail/6.3.0.1120/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.3.0.1120 diff --git a/linux/ecosystem/testrail/6.3.0.1120/main/docker-compose.yml b/linux/ecosystem/testrail/6.3.0.1120/main/docker-compose.yml index 159ef9fb7..9d11d9713 100644 --- a/linux/ecosystem/testrail/6.3.0.1120/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.0.1120/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.3.0.1120" diff --git a/linux/ecosystem/testrail/6.3.1.1004/ad/README.md b/linux/ecosystem/testrail/6.3.1.1004/ad/README.md index 3c5f27bee..fe7287279 100644 --- a/linux/ecosystem/testrail/6.3.1.1004/ad/README.md +++ b/linux/ecosystem/testrail/6.3.1.1004/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.3.1.1004 diff --git a/linux/ecosystem/testrail/6.3.1.1004/ad/docker-compose.yml b/linux/ecosystem/testrail/6.3.1.1004/ad/docker-compose.yml index 576745006..a1ac12416 100644 --- a/linux/ecosystem/testrail/6.3.1.1004/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.1.1004/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.3.1.1004" diff --git a/linux/ecosystem/testrail/6.3.1.1004/ldap/README.md b/linux/ecosystem/testrail/6.3.1.1004/ldap/README.md index f2bcc4219..a2de6a28b 100644 --- a/linux/ecosystem/testrail/6.3.1.1004/ldap/README.md +++ b/linux/ecosystem/testrail/6.3.1.1004/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.3.1.1004 diff --git a/linux/ecosystem/testrail/6.3.1.1004/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.3.1.1004/ldap/docker-compose.yml index 696c27578..b35e692aa 100644 --- a/linux/ecosystem/testrail/6.3.1.1004/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.1.1004/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.3.1.1004" diff --git a/linux/ecosystem/testrail/6.3.1.1004/main/README.md b/linux/ecosystem/testrail/6.3.1.1004/main/README.md index 601e04da6..fc363bcc1 100644 --- a/linux/ecosystem/testrail/6.3.1.1004/main/README.md +++ b/linux/ecosystem/testrail/6.3.1.1004/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.3.1.1004 diff --git a/linux/ecosystem/testrail/6.3.1.1004/main/docker-compose.yml b/linux/ecosystem/testrail/6.3.1.1004/main/docker-compose.yml index 095354c4b..4a2234efb 100644 --- a/linux/ecosystem/testrail/6.3.1.1004/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.1.1004/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.3.1.1004" diff --git a/linux/ecosystem/testrail/6.3.1.1006/ad/README.md b/linux/ecosystem/testrail/6.3.1.1006/ad/README.md index cd279599f..3e83066d5 100644 --- a/linux/ecosystem/testrail/6.3.1.1006/ad/README.md +++ b/linux/ecosystem/testrail/6.3.1.1006/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.3.1.1006 diff --git a/linux/ecosystem/testrail/6.3.1.1006/ad/docker-compose.yml b/linux/ecosystem/testrail/6.3.1.1006/ad/docker-compose.yml index abef6ea22..21a65ee30 100644 --- a/linux/ecosystem/testrail/6.3.1.1006/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.1.1006/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.3.1.1006" diff --git a/linux/ecosystem/testrail/6.3.1.1006/ldap/README.md b/linux/ecosystem/testrail/6.3.1.1006/ldap/README.md index 9439a83be..b6a982bb5 100644 --- a/linux/ecosystem/testrail/6.3.1.1006/ldap/README.md +++ b/linux/ecosystem/testrail/6.3.1.1006/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.3.1.1006 diff --git a/linux/ecosystem/testrail/6.3.1.1006/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.3.1.1006/ldap/docker-compose.yml index a80aef4ca..7208f2c8a 100644 --- a/linux/ecosystem/testrail/6.3.1.1006/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.1.1006/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.3.1.1006" diff --git a/linux/ecosystem/testrail/6.3.1.1006/main/README.md b/linux/ecosystem/testrail/6.3.1.1006/main/README.md index 524db23d7..0be56151e 100644 --- a/linux/ecosystem/testrail/6.3.1.1006/main/README.md +++ b/linux/ecosystem/testrail/6.3.1.1006/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.3.1.1006 diff --git a/linux/ecosystem/testrail/6.3.1.1006/main/docker-compose.yml b/linux/ecosystem/testrail/6.3.1.1006/main/docker-compose.yml index 9e46bc767..6fa68b21e 100644 --- a/linux/ecosystem/testrail/6.3.1.1006/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.3.1.1006/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.3.1.1006" diff --git a/linux/ecosystem/testrail/6.4.0.1284/ad/README.md b/linux/ecosystem/testrail/6.4.0.1284/ad/README.md index 339ecc1ef..3e0c0b8c9 100644 --- a/linux/ecosystem/testrail/6.4.0.1284/ad/README.md +++ b/linux/ecosystem/testrail/6.4.0.1284/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.4.0.1284 diff --git a/linux/ecosystem/testrail/6.4.0.1284/ad/docker-compose.yml b/linux/ecosystem/testrail/6.4.0.1284/ad/docker-compose.yml index 1b97cf53b..dcabc71ff 100644 --- a/linux/ecosystem/testrail/6.4.0.1284/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.4.0.1284/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.4.0.1284" diff --git a/linux/ecosystem/testrail/6.4.0.1284/ldap/README.md b/linux/ecosystem/testrail/6.4.0.1284/ldap/README.md index d9a934cad..1bfc4b368 100644 --- a/linux/ecosystem/testrail/6.4.0.1284/ldap/README.md +++ b/linux/ecosystem/testrail/6.4.0.1284/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.4.0.1284 diff --git a/linux/ecosystem/testrail/6.4.0.1284/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.4.0.1284/ldap/docker-compose.yml index 251a39ee0..7dba2799f 100644 --- a/linux/ecosystem/testrail/6.4.0.1284/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.4.0.1284/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.4.0.1284" diff --git a/linux/ecosystem/testrail/6.4.0.1284/main/README.md b/linux/ecosystem/testrail/6.4.0.1284/main/README.md index e7b984c30..4f99935f4 100644 --- a/linux/ecosystem/testrail/6.4.0.1284/main/README.md +++ b/linux/ecosystem/testrail/6.4.0.1284/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.4.0.1284 diff --git a/linux/ecosystem/testrail/6.4.0.1284/main/docker-compose.yml b/linux/ecosystem/testrail/6.4.0.1284/main/docker-compose.yml index 9811fcac5..9b10df1d2 100644 --- a/linux/ecosystem/testrail/6.4.0.1284/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.4.0.1284/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.4.0.1284" diff --git a/linux/ecosystem/testrail/6.4.0.1293/ad/README.md b/linux/ecosystem/testrail/6.4.0.1293/ad/README.md index 0308c7ed6..7572a171b 100644 --- a/linux/ecosystem/testrail/6.4.0.1293/ad/README.md +++ b/linux/ecosystem/testrail/6.4.0.1293/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.4.0.1293 diff --git a/linux/ecosystem/testrail/6.4.0.1293/ad/docker-compose.yml b/linux/ecosystem/testrail/6.4.0.1293/ad/docker-compose.yml index 4d8feb87b..4713a4594 100644 --- a/linux/ecosystem/testrail/6.4.0.1293/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.4.0.1293/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.4.0.1293" diff --git a/linux/ecosystem/testrail/6.4.0.1293/ldap/README.md b/linux/ecosystem/testrail/6.4.0.1293/ldap/README.md index 65a314bf1..88816c66c 100644 --- a/linux/ecosystem/testrail/6.4.0.1293/ldap/README.md +++ b/linux/ecosystem/testrail/6.4.0.1293/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.4.0.1293 diff --git a/linux/ecosystem/testrail/6.4.0.1293/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.4.0.1293/ldap/docker-compose.yml index 24ae401d5..93bff81eb 100644 --- a/linux/ecosystem/testrail/6.4.0.1293/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.4.0.1293/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.4.0.1293" diff --git a/linux/ecosystem/testrail/6.4.0.1293/main/README.md b/linux/ecosystem/testrail/6.4.0.1293/main/README.md index b5c91e421..28334c3bf 100644 --- a/linux/ecosystem/testrail/6.4.0.1293/main/README.md +++ b/linux/ecosystem/testrail/6.4.0.1293/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.4.0.1293 diff --git a/linux/ecosystem/testrail/6.4.0.1293/main/docker-compose.yml b/linux/ecosystem/testrail/6.4.0.1293/main/docker-compose.yml index 2a49bb1a2..571608b1d 100644 --- a/linux/ecosystem/testrail/6.4.0.1293/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.4.0.1293/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.4.0.1293" diff --git a/linux/ecosystem/testrail/6.5.0.1298/ad/README.md b/linux/ecosystem/testrail/6.5.0.1298/ad/README.md index 35d53f4c5..0a9893b8c 100644 --- a/linux/ecosystem/testrail/6.5.0.1298/ad/README.md +++ b/linux/ecosystem/testrail/6.5.0.1298/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.0.1298 diff --git a/linux/ecosystem/testrail/6.5.0.1298/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.0.1298/ad/docker-compose.yml index f69ad707f..b70d99c1e 100644 --- a/linux/ecosystem/testrail/6.5.0.1298/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.0.1298/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.0.1298" diff --git a/linux/ecosystem/testrail/6.5.0.1298/ldap/README.md b/linux/ecosystem/testrail/6.5.0.1298/ldap/README.md index 2d37e59e9..82833b0b8 100644 --- a/linux/ecosystem/testrail/6.5.0.1298/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.0.1298/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.0.1298 diff --git a/linux/ecosystem/testrail/6.5.0.1298/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.0.1298/ldap/docker-compose.yml index a01213b13..ba05bfb8c 100644 --- a/linux/ecosystem/testrail/6.5.0.1298/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.0.1298/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.0.1298" diff --git a/linux/ecosystem/testrail/6.5.0.1298/main/README.md b/linux/ecosystem/testrail/6.5.0.1298/main/README.md index aaf876a98..97ab09ea6 100644 --- a/linux/ecosystem/testrail/6.5.0.1298/main/README.md +++ b/linux/ecosystem/testrail/6.5.0.1298/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.0.1298 diff --git a/linux/ecosystem/testrail/6.5.0.1298/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.0.1298/main/docker-compose.yml index b783f0ec8..b69386970 100644 --- a/linux/ecosystem/testrail/6.5.0.1298/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.0.1298/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.0.1298" diff --git a/linux/ecosystem/testrail/6.5.1.1002/ad/README.md b/linux/ecosystem/testrail/6.5.1.1002/ad/README.md index bd5c81d10..8dec48c20 100644 --- a/linux/ecosystem/testrail/6.5.1.1002/ad/README.md +++ b/linux/ecosystem/testrail/6.5.1.1002/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.1.1002 diff --git a/linux/ecosystem/testrail/6.5.1.1002/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.1.1002/ad/docker-compose.yml index d8cc46ed9..f68566351 100644 --- a/linux/ecosystem/testrail/6.5.1.1002/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.1.1002/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.1.1002" diff --git a/linux/ecosystem/testrail/6.5.1.1002/ldap/README.md b/linux/ecosystem/testrail/6.5.1.1002/ldap/README.md index a467d5783..92489186d 100644 --- a/linux/ecosystem/testrail/6.5.1.1002/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.1.1002/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.1.1002 diff --git a/linux/ecosystem/testrail/6.5.1.1002/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.1.1002/ldap/docker-compose.yml index d1beaf812..7a25f235f 100644 --- a/linux/ecosystem/testrail/6.5.1.1002/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.1.1002/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.1.1002" diff --git a/linux/ecosystem/testrail/6.5.1.1002/main/README.md b/linux/ecosystem/testrail/6.5.1.1002/main/README.md index a2840eb68..ef4d106c9 100644 --- a/linux/ecosystem/testrail/6.5.1.1002/main/README.md +++ b/linux/ecosystem/testrail/6.5.1.1002/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.1.1002 diff --git a/linux/ecosystem/testrail/6.5.1.1002/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.1.1002/main/docker-compose.yml index daf12db0b..b999eee5b 100644 --- a/linux/ecosystem/testrail/6.5.1.1002/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.1.1002/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.1.1002" diff --git a/linux/ecosystem/testrail/6.5.3.1001/ad/README.md b/linux/ecosystem/testrail/6.5.3.1001/ad/README.md index 2ad6d4e44..f04a35dc5 100644 --- a/linux/ecosystem/testrail/6.5.3.1001/ad/README.md +++ b/linux/ecosystem/testrail/6.5.3.1001/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.3.1001 diff --git a/linux/ecosystem/testrail/6.5.3.1001/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.3.1001/ad/docker-compose.yml index bffc89937..27ce34f5f 100644 --- a/linux/ecosystem/testrail/6.5.3.1001/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.3.1001/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.3.1001" diff --git a/linux/ecosystem/testrail/6.5.3.1001/ldap/README.md b/linux/ecosystem/testrail/6.5.3.1001/ldap/README.md index 4a1af278e..ed8ae80cc 100644 --- a/linux/ecosystem/testrail/6.5.3.1001/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.3.1001/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.3.1001 diff --git a/linux/ecosystem/testrail/6.5.3.1001/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.3.1001/ldap/docker-compose.yml index 2124e5dff..5071dc279 100644 --- a/linux/ecosystem/testrail/6.5.3.1001/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.3.1001/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.3.1001" diff --git a/linux/ecosystem/testrail/6.5.3.1001/main/README.md b/linux/ecosystem/testrail/6.5.3.1001/main/README.md index 3ef1a7ee8..50605a94b 100644 --- a/linux/ecosystem/testrail/6.5.3.1001/main/README.md +++ b/linux/ecosystem/testrail/6.5.3.1001/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.3.1001 diff --git a/linux/ecosystem/testrail/6.5.3.1001/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.3.1001/main/docker-compose.yml index 461a2cfea..93f051e0c 100644 --- a/linux/ecosystem/testrail/6.5.3.1001/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.3.1001/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.3.1001" diff --git a/linux/ecosystem/testrail/6.5.4.1002/ad/README.md b/linux/ecosystem/testrail/6.5.4.1002/ad/README.md index 755b91b6c..fbc911622 100644 --- a/linux/ecosystem/testrail/6.5.4.1002/ad/README.md +++ b/linux/ecosystem/testrail/6.5.4.1002/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.4.1002 diff --git a/linux/ecosystem/testrail/6.5.4.1002/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.4.1002/ad/docker-compose.yml index d9d74d0c7..057d32cdf 100644 --- a/linux/ecosystem/testrail/6.5.4.1002/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.4.1002/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.4.1002" diff --git a/linux/ecosystem/testrail/6.5.4.1002/ldap/README.md b/linux/ecosystem/testrail/6.5.4.1002/ldap/README.md index 3a8337d46..5e8721f7b 100644 --- a/linux/ecosystem/testrail/6.5.4.1002/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.4.1002/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.4.1002 diff --git a/linux/ecosystem/testrail/6.5.4.1002/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.4.1002/ldap/docker-compose.yml index a68d6a729..d1630e934 100644 --- a/linux/ecosystem/testrail/6.5.4.1002/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.4.1002/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.4.1002" diff --git a/linux/ecosystem/testrail/6.5.4.1002/main/README.md b/linux/ecosystem/testrail/6.5.4.1002/main/README.md index cc7f6305d..7ffde4ca0 100644 --- a/linux/ecosystem/testrail/6.5.4.1002/main/README.md +++ b/linux/ecosystem/testrail/6.5.4.1002/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.4.1002 diff --git a/linux/ecosystem/testrail/6.5.4.1002/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.4.1002/main/docker-compose.yml index f482dffdd..759b1bce7 100644 --- a/linux/ecosystem/testrail/6.5.4.1002/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.4.1002/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.4.1002" diff --git a/linux/ecosystem/testrail/6.5.4.1007/ad/README.md b/linux/ecosystem/testrail/6.5.4.1007/ad/README.md index 6175e3519..353e4a7ec 100644 --- a/linux/ecosystem/testrail/6.5.4.1007/ad/README.md +++ b/linux/ecosystem/testrail/6.5.4.1007/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.4.1007 diff --git a/linux/ecosystem/testrail/6.5.4.1007/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.4.1007/ad/docker-compose.yml index 1d654933a..9c1123ae9 100644 --- a/linux/ecosystem/testrail/6.5.4.1007/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.4.1007/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.4.1007" diff --git a/linux/ecosystem/testrail/6.5.4.1007/ldap/README.md b/linux/ecosystem/testrail/6.5.4.1007/ldap/README.md index 6f90363d8..498fc69f7 100644 --- a/linux/ecosystem/testrail/6.5.4.1007/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.4.1007/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.4.1007 diff --git a/linux/ecosystem/testrail/6.5.4.1007/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.4.1007/ldap/docker-compose.yml index 60026e899..99aca30d8 100644 --- a/linux/ecosystem/testrail/6.5.4.1007/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.4.1007/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.4.1007" diff --git a/linux/ecosystem/testrail/6.5.4.1007/main/README.md b/linux/ecosystem/testrail/6.5.4.1007/main/README.md index 6f143049d..1947940b3 100644 --- a/linux/ecosystem/testrail/6.5.4.1007/main/README.md +++ b/linux/ecosystem/testrail/6.5.4.1007/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.4.1007 diff --git a/linux/ecosystem/testrail/6.5.4.1007/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.4.1007/main/docker-compose.yml index c9bd196a1..49e354ba8 100644 --- a/linux/ecosystem/testrail/6.5.4.1007/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.4.1007/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.4.1007" diff --git a/linux/ecosystem/testrail/6.5.5.1009/ad/README.md b/linux/ecosystem/testrail/6.5.5.1009/ad/README.md index 6f9123636..1a0d6b45e 100644 --- a/linux/ecosystem/testrail/6.5.5.1009/ad/README.md +++ b/linux/ecosystem/testrail/6.5.5.1009/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.5.1009 diff --git a/linux/ecosystem/testrail/6.5.5.1009/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.5.1009/ad/docker-compose.yml index 440897135..c81ae3641 100644 --- a/linux/ecosystem/testrail/6.5.5.1009/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.5.1009/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.5.1009" diff --git a/linux/ecosystem/testrail/6.5.5.1009/ldap/README.md b/linux/ecosystem/testrail/6.5.5.1009/ldap/README.md index 12babd2fb..9f8e8370b 100644 --- a/linux/ecosystem/testrail/6.5.5.1009/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.5.1009/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.5.1009 diff --git a/linux/ecosystem/testrail/6.5.5.1009/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.5.1009/ldap/docker-compose.yml index 4a8497438..aff220328 100644 --- a/linux/ecosystem/testrail/6.5.5.1009/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.5.1009/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.5.1009" diff --git a/linux/ecosystem/testrail/6.5.5.1009/main/README.md b/linux/ecosystem/testrail/6.5.5.1009/main/README.md index 1e65b480e..b1486fdc1 100644 --- a/linux/ecosystem/testrail/6.5.5.1009/main/README.md +++ b/linux/ecosystem/testrail/6.5.5.1009/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.5.1009 diff --git a/linux/ecosystem/testrail/6.5.5.1009/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.5.1009/main/docker-compose.yml index 6a5160cea..275cab9fc 100644 --- a/linux/ecosystem/testrail/6.5.5.1009/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.5.1009/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.5.1009" diff --git a/linux/ecosystem/testrail/6.5.6.1014/ad/README.md b/linux/ecosystem/testrail/6.5.6.1014/ad/README.md index 777757ca2..0cd4d2b18 100644 --- a/linux/ecosystem/testrail/6.5.6.1014/ad/README.md +++ b/linux/ecosystem/testrail/6.5.6.1014/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.6.1014 diff --git a/linux/ecosystem/testrail/6.5.6.1014/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.6.1014/ad/docker-compose.yml index 6cbfecb04..b928f193e 100644 --- a/linux/ecosystem/testrail/6.5.6.1014/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.6.1014/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.6.1014" diff --git a/linux/ecosystem/testrail/6.5.6.1014/ldap/README.md b/linux/ecosystem/testrail/6.5.6.1014/ldap/README.md index cca95902c..11708f59f 100644 --- a/linux/ecosystem/testrail/6.5.6.1014/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.6.1014/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.6.1014 diff --git a/linux/ecosystem/testrail/6.5.6.1014/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.6.1014/ldap/docker-compose.yml index 866b71068..b7cabb38b 100644 --- a/linux/ecosystem/testrail/6.5.6.1014/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.6.1014/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.6.1014" diff --git a/linux/ecosystem/testrail/6.5.6.1014/main/README.md b/linux/ecosystem/testrail/6.5.6.1014/main/README.md index d20394a42..675512c95 100644 --- a/linux/ecosystem/testrail/6.5.6.1014/main/README.md +++ b/linux/ecosystem/testrail/6.5.6.1014/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.6.1014 diff --git a/linux/ecosystem/testrail/6.5.6.1014/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.6.1014/main/docker-compose.yml index c5e509049..80c6f2361 100644 --- a/linux/ecosystem/testrail/6.5.6.1014/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.6.1014/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.6.1014" diff --git a/linux/ecosystem/testrail/6.5.7.1000/ad/README.md b/linux/ecosystem/testrail/6.5.7.1000/ad/README.md index bb45159b0..bb4e07521 100644 --- a/linux/ecosystem/testrail/6.5.7.1000/ad/README.md +++ b/linux/ecosystem/testrail/6.5.7.1000/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.5.7.1000 diff --git a/linux/ecosystem/testrail/6.5.7.1000/ad/docker-compose.yml b/linux/ecosystem/testrail/6.5.7.1000/ad/docker-compose.yml index 712b965ed..155e27f3e 100644 --- a/linux/ecosystem/testrail/6.5.7.1000/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.7.1000/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.5.7.1000" diff --git a/linux/ecosystem/testrail/6.5.7.1000/ldap/README.md b/linux/ecosystem/testrail/6.5.7.1000/ldap/README.md index cf08e191a..7aec18b51 100644 --- a/linux/ecosystem/testrail/6.5.7.1000/ldap/README.md +++ b/linux/ecosystem/testrail/6.5.7.1000/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.5.7.1000 diff --git a/linux/ecosystem/testrail/6.5.7.1000/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.5.7.1000/ldap/docker-compose.yml index f4bbdcfe0..f78c16161 100644 --- a/linux/ecosystem/testrail/6.5.7.1000/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.7.1000/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.5.7.1000" diff --git a/linux/ecosystem/testrail/6.5.7.1000/main/README.md b/linux/ecosystem/testrail/6.5.7.1000/main/README.md index 6966b997b..9ae0091d4 100644 --- a/linux/ecosystem/testrail/6.5.7.1000/main/README.md +++ b/linux/ecosystem/testrail/6.5.7.1000/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.5.7.1000 diff --git a/linux/ecosystem/testrail/6.5.7.1000/main/docker-compose.yml b/linux/ecosystem/testrail/6.5.7.1000/main/docker-compose.yml index 66bdcc9ea..2e2a8af4b 100644 --- a/linux/ecosystem/testrail/6.5.7.1000/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.5.7.1000/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.5.7.1000" diff --git a/linux/ecosystem/testrail/6.6.0.1156/ad/README.md b/linux/ecosystem/testrail/6.6.0.1156/ad/README.md index 69daf28b3..bb9b4b425 100644 --- a/linux/ecosystem/testrail/6.6.0.1156/ad/README.md +++ b/linux/ecosystem/testrail/6.6.0.1156/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.6.0.1156 diff --git a/linux/ecosystem/testrail/6.6.0.1156/ad/docker-compose.yml b/linux/ecosystem/testrail/6.6.0.1156/ad/docker-compose.yml index 4e278f0f9..4060fac88 100644 --- a/linux/ecosystem/testrail/6.6.0.1156/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.6.0.1156/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.6.0.1156" diff --git a/linux/ecosystem/testrail/6.6.0.1156/ldap/README.md b/linux/ecosystem/testrail/6.6.0.1156/ldap/README.md index 429413bc6..02a38fef3 100644 --- a/linux/ecosystem/testrail/6.6.0.1156/ldap/README.md +++ b/linux/ecosystem/testrail/6.6.0.1156/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.6.0.1156 diff --git a/linux/ecosystem/testrail/6.6.0.1156/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.6.0.1156/ldap/docker-compose.yml index 29a375d4b..f9fad72a6 100644 --- a/linux/ecosystem/testrail/6.6.0.1156/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.6.0.1156/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.6.0.1156" diff --git a/linux/ecosystem/testrail/6.6.0.1156/main/README.md b/linux/ecosystem/testrail/6.6.0.1156/main/README.md index 714bde140..0d664fcee 100644 --- a/linux/ecosystem/testrail/6.6.0.1156/main/README.md +++ b/linux/ecosystem/testrail/6.6.0.1156/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.6.0.1156 diff --git a/linux/ecosystem/testrail/6.6.0.1156/main/docker-compose.yml b/linux/ecosystem/testrail/6.6.0.1156/main/docker-compose.yml index 16ed9039d..999b4f058 100644 --- a/linux/ecosystem/testrail/6.6.0.1156/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.6.0.1156/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.6.0.1156" diff --git a/linux/ecosystem/testrail/6.6.1.1166/ad/README.md b/linux/ecosystem/testrail/6.6.1.1166/ad/README.md index 0f37da047..d4afb0a2d 100644 --- a/linux/ecosystem/testrail/6.6.1.1166/ad/README.md +++ b/linux/ecosystem/testrail/6.6.1.1166/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.6.1.1166 diff --git a/linux/ecosystem/testrail/6.6.1.1166/ad/docker-compose.yml b/linux/ecosystem/testrail/6.6.1.1166/ad/docker-compose.yml index 26173ea96..2b9e99e0e 100644 --- a/linux/ecosystem/testrail/6.6.1.1166/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.6.1.1166/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.6.1.1166" diff --git a/linux/ecosystem/testrail/6.6.1.1166/ldap/README.md b/linux/ecosystem/testrail/6.6.1.1166/ldap/README.md index 9aaf4910c..ef2c930ba 100644 --- a/linux/ecosystem/testrail/6.6.1.1166/ldap/README.md +++ b/linux/ecosystem/testrail/6.6.1.1166/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.6.1.1166 diff --git a/linux/ecosystem/testrail/6.6.1.1166/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.6.1.1166/ldap/docker-compose.yml index c5b630693..24ac6c2a4 100644 --- a/linux/ecosystem/testrail/6.6.1.1166/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.6.1.1166/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.6.1.1166" diff --git a/linux/ecosystem/testrail/6.6.1.1166/main/README.md b/linux/ecosystem/testrail/6.6.1.1166/main/README.md index 1edfa7c3a..856d24499 100644 --- a/linux/ecosystem/testrail/6.6.1.1166/main/README.md +++ b/linux/ecosystem/testrail/6.6.1.1166/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.6.1.1166 diff --git a/linux/ecosystem/testrail/6.6.1.1166/main/docker-compose.yml b/linux/ecosystem/testrail/6.6.1.1166/main/docker-compose.yml index 6d411000e..dd5c164aa 100644 --- a/linux/ecosystem/testrail/6.6.1.1166/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.6.1.1166/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.6.1.1166" diff --git a/linux/ecosystem/testrail/6.7.1.1020/ad/README.md b/linux/ecosystem/testrail/6.7.1.1020/ad/README.md index e6c1e618c..6fae3b947 100644 --- a/linux/ecosystem/testrail/6.7.1.1020/ad/README.md +++ b/linux/ecosystem/testrail/6.7.1.1020/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.7.1.1020 diff --git a/linux/ecosystem/testrail/6.7.1.1020/ad/docker-compose.yml b/linux/ecosystem/testrail/6.7.1.1020/ad/docker-compose.yml index 7ad849bb6..b8123d099 100644 --- a/linux/ecosystem/testrail/6.7.1.1020/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.1.1020/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.7.1.1020" diff --git a/linux/ecosystem/testrail/6.7.1.1020/ldap/README.md b/linux/ecosystem/testrail/6.7.1.1020/ldap/README.md index d5b930a64..d54d6ea60 100644 --- a/linux/ecosystem/testrail/6.7.1.1020/ldap/README.md +++ b/linux/ecosystem/testrail/6.7.1.1020/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.7.1.1020 diff --git a/linux/ecosystem/testrail/6.7.1.1020/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.7.1.1020/ldap/docker-compose.yml index 5aae2384f..5a2f18ab1 100644 --- a/linux/ecosystem/testrail/6.7.1.1020/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.1.1020/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.7.1.1020" diff --git a/linux/ecosystem/testrail/6.7.1.1020/main/README.md b/linux/ecosystem/testrail/6.7.1.1020/main/README.md index c8ffabb11..4c60d7a91 100644 --- a/linux/ecosystem/testrail/6.7.1.1020/main/README.md +++ b/linux/ecosystem/testrail/6.7.1.1020/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.7.1.1020 diff --git a/linux/ecosystem/testrail/6.7.1.1020/main/docker-compose.yml b/linux/ecosystem/testrail/6.7.1.1020/main/docker-compose.yml index 451647232..6a61dc73f 100644 --- a/linux/ecosystem/testrail/6.7.1.1020/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.1.1020/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.7.1.1020" diff --git a/linux/ecosystem/testrail/6.7.2.1037/ad/README.md b/linux/ecosystem/testrail/6.7.2.1037/ad/README.md index 0f1bc7a5f..ef6e8263d 100644 --- a/linux/ecosystem/testrail/6.7.2.1037/ad/README.md +++ b/linux/ecosystem/testrail/6.7.2.1037/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.7.2.1037 diff --git a/linux/ecosystem/testrail/6.7.2.1037/ad/docker-compose.yml b/linux/ecosystem/testrail/6.7.2.1037/ad/docker-compose.yml index d436e7f82..5b777452a 100644 --- a/linux/ecosystem/testrail/6.7.2.1037/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.2.1037/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.7.2.1037" diff --git a/linux/ecosystem/testrail/6.7.2.1037/ldap/README.md b/linux/ecosystem/testrail/6.7.2.1037/ldap/README.md index 4a7100e53..1074202f2 100644 --- a/linux/ecosystem/testrail/6.7.2.1037/ldap/README.md +++ b/linux/ecosystem/testrail/6.7.2.1037/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.7.2.1037 diff --git a/linux/ecosystem/testrail/6.7.2.1037/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.7.2.1037/ldap/docker-compose.yml index 80625dd96..5f562336e 100644 --- a/linux/ecosystem/testrail/6.7.2.1037/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.2.1037/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.7.2.1037" diff --git a/linux/ecosystem/testrail/6.7.2.1037/main/README.md b/linux/ecosystem/testrail/6.7.2.1037/main/README.md index 2685896e4..94f37d590 100644 --- a/linux/ecosystem/testrail/6.7.2.1037/main/README.md +++ b/linux/ecosystem/testrail/6.7.2.1037/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.7.2.1037 diff --git a/linux/ecosystem/testrail/6.7.2.1037/main/docker-compose.yml b/linux/ecosystem/testrail/6.7.2.1037/main/docker-compose.yml index 67526a64b..20da4d7af 100644 --- a/linux/ecosystem/testrail/6.7.2.1037/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.2.1037/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.7.2.1037" diff --git a/linux/ecosystem/testrail/6.7.2.1043/ad/README.md b/linux/ecosystem/testrail/6.7.2.1043/ad/README.md index f0926a7e5..20dcf3a10 100644 --- a/linux/ecosystem/testrail/6.7.2.1043/ad/README.md +++ b/linux/ecosystem/testrail/6.7.2.1043/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:6.7.2.1043 diff --git a/linux/ecosystem/testrail/6.7.2.1043/ad/docker-compose.yml b/linux/ecosystem/testrail/6.7.2.1043/ad/docker-compose.yml index 62efd07af..b5f36807a 100644 --- a/linux/ecosystem/testrail/6.7.2.1043/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.2.1043/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-6.7.2.1043" diff --git a/linux/ecosystem/testrail/6.7.2.1043/ldap/README.md b/linux/ecosystem/testrail/6.7.2.1043/ldap/README.md index e35cfb960..42acf3db2 100644 --- a/linux/ecosystem/testrail/6.7.2.1043/ldap/README.md +++ b/linux/ecosystem/testrail/6.7.2.1043/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-6.7.2.1043 diff --git a/linux/ecosystem/testrail/6.7.2.1043/ldap/docker-compose.yml b/linux/ecosystem/testrail/6.7.2.1043/ldap/docker-compose.yml index 2ffea148e..ee33a3507 100644 --- a/linux/ecosystem/testrail/6.7.2.1043/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.2.1043/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-6.7.2.1043" diff --git a/linux/ecosystem/testrail/6.7.2.1043/main/README.md b/linux/ecosystem/testrail/6.7.2.1043/main/README.md index d36a0302b..3cb447aa6 100644 --- a/linux/ecosystem/testrail/6.7.2.1043/main/README.md +++ b/linux/ecosystem/testrail/6.7.2.1043/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:6.7.2.1043 diff --git a/linux/ecosystem/testrail/6.7.2.1043/main/docker-compose.yml b/linux/ecosystem/testrail/6.7.2.1043/main/docker-compose.yml index 765f3222c..ee5cac181 100644 --- a/linux/ecosystem/testrail/6.7.2.1043/main/docker-compose.yml +++ b/linux/ecosystem/testrail/6.7.2.1043/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:6.7.2.1043" diff --git a/linux/ecosystem/testrail/7.0.0.1057/ad/README.md b/linux/ecosystem/testrail/7.0.0.1057/ad/README.md index aeb7d8c58..9180e0502 100644 --- a/linux/ecosystem/testrail/7.0.0.1057/ad/README.md +++ b/linux/ecosystem/testrail/7.0.0.1057/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.0.0.1057 diff --git a/linux/ecosystem/testrail/7.0.0.1057/ad/docker-compose.yml b/linux/ecosystem/testrail/7.0.0.1057/ad/docker-compose.yml index bf6b0f17f..13550f1a2 100644 --- a/linux/ecosystem/testrail/7.0.0.1057/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.0.1057/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.0.0.1057" diff --git a/linux/ecosystem/testrail/7.0.0.1057/ldap/README.md b/linux/ecosystem/testrail/7.0.0.1057/ldap/README.md index 98130a370..f7f32248d 100644 --- a/linux/ecosystem/testrail/7.0.0.1057/ldap/README.md +++ b/linux/ecosystem/testrail/7.0.0.1057/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.0.0.1057 diff --git a/linux/ecosystem/testrail/7.0.0.1057/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.0.0.1057/ldap/docker-compose.yml index 0aa2ea094..fcbb30c09 100644 --- a/linux/ecosystem/testrail/7.0.0.1057/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.0.1057/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.0.0.1057" diff --git a/linux/ecosystem/testrail/7.0.0.1057/main/README.md b/linux/ecosystem/testrail/7.0.0.1057/main/README.md index 12cdb3870..473d7d29a 100644 --- a/linux/ecosystem/testrail/7.0.0.1057/main/README.md +++ b/linux/ecosystem/testrail/7.0.0.1057/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.0.0.1057 diff --git a/linux/ecosystem/testrail/7.0.0.1057/main/docker-compose.yml b/linux/ecosystem/testrail/7.0.0.1057/main/docker-compose.yml index db8c7b0cf..eec0723f3 100644 --- a/linux/ecosystem/testrail/7.0.0.1057/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.0.1057/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.0.0.1057" diff --git a/linux/ecosystem/testrail/7.0.1.1002/ad/README.md b/linux/ecosystem/testrail/7.0.1.1002/ad/README.md index 3d796cc45..853e0d6b6 100644 --- a/linux/ecosystem/testrail/7.0.1.1002/ad/README.md +++ b/linux/ecosystem/testrail/7.0.1.1002/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.0.1.1002 diff --git a/linux/ecosystem/testrail/7.0.1.1002/ad/docker-compose.yml b/linux/ecosystem/testrail/7.0.1.1002/ad/docker-compose.yml index dd3579156..ffba14113 100644 --- a/linux/ecosystem/testrail/7.0.1.1002/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.1.1002/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.0.1.1002" diff --git a/linux/ecosystem/testrail/7.0.1.1002/ldap/README.md b/linux/ecosystem/testrail/7.0.1.1002/ldap/README.md index abc54d869..682f1791a 100644 --- a/linux/ecosystem/testrail/7.0.1.1002/ldap/README.md +++ b/linux/ecosystem/testrail/7.0.1.1002/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.0.1.1002 diff --git a/linux/ecosystem/testrail/7.0.1.1002/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.0.1.1002/ldap/docker-compose.yml index 51c386c36..398fabd0e 100644 --- a/linux/ecosystem/testrail/7.0.1.1002/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.1.1002/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.0.1.1002" diff --git a/linux/ecosystem/testrail/7.0.1.1002/main/README.md b/linux/ecosystem/testrail/7.0.1.1002/main/README.md index 801c0a18c..51d9f5620 100644 --- a/linux/ecosystem/testrail/7.0.1.1002/main/README.md +++ b/linux/ecosystem/testrail/7.0.1.1002/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.0.1.1002 diff --git a/linux/ecosystem/testrail/7.0.1.1002/main/docker-compose.yml b/linux/ecosystem/testrail/7.0.1.1002/main/docker-compose.yml index 895e5bbfa..33025a567 100644 --- a/linux/ecosystem/testrail/7.0.1.1002/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.1.1002/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.0.1.1002" diff --git a/linux/ecosystem/testrail/7.0.1.1013/ad/README.md b/linux/ecosystem/testrail/7.0.1.1013/ad/README.md index f6146b377..bae4f5e2f 100644 --- a/linux/ecosystem/testrail/7.0.1.1013/ad/README.md +++ b/linux/ecosystem/testrail/7.0.1.1013/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.0.1.1013 diff --git a/linux/ecosystem/testrail/7.0.1.1013/ad/docker-compose.yml b/linux/ecosystem/testrail/7.0.1.1013/ad/docker-compose.yml index 111a4be2e..fc7747ff0 100644 --- a/linux/ecosystem/testrail/7.0.1.1013/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.1.1013/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.0.1.1013" diff --git a/linux/ecosystem/testrail/7.0.1.1013/ldap/README.md b/linux/ecosystem/testrail/7.0.1.1013/ldap/README.md index 1ec9865b5..63eb3c6dd 100644 --- a/linux/ecosystem/testrail/7.0.1.1013/ldap/README.md +++ b/linux/ecosystem/testrail/7.0.1.1013/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.0.1.1013 diff --git a/linux/ecosystem/testrail/7.0.1.1013/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.0.1.1013/ldap/docker-compose.yml index 0c09ead84..cc3b0e9ec 100644 --- a/linux/ecosystem/testrail/7.0.1.1013/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.1.1013/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.0.1.1013" diff --git a/linux/ecosystem/testrail/7.0.1.1013/main/README.md b/linux/ecosystem/testrail/7.0.1.1013/main/README.md index 0e18763e9..0f10ba4a4 100644 --- a/linux/ecosystem/testrail/7.0.1.1013/main/README.md +++ b/linux/ecosystem/testrail/7.0.1.1013/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.0.1.1013 diff --git a/linux/ecosystem/testrail/7.0.1.1013/main/docker-compose.yml b/linux/ecosystem/testrail/7.0.1.1013/main/docker-compose.yml index 69b4f8c00..2ce64b0c9 100644 --- a/linux/ecosystem/testrail/7.0.1.1013/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.1.1013/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.0.1.1013" diff --git a/linux/ecosystem/testrail/7.0.2.1014/ad/README.md b/linux/ecosystem/testrail/7.0.2.1014/ad/README.md index 2a2336882..998904f98 100644 --- a/linux/ecosystem/testrail/7.0.2.1014/ad/README.md +++ b/linux/ecosystem/testrail/7.0.2.1014/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.0.2.1014 diff --git a/linux/ecosystem/testrail/7.0.2.1014/ad/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1014/ad/docker-compose.yml index 9fc4dc89f..ce584b224 100644 --- a/linux/ecosystem/testrail/7.0.2.1014/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1014/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.0.2.1014" diff --git a/linux/ecosystem/testrail/7.0.2.1014/ldap/README.md b/linux/ecosystem/testrail/7.0.2.1014/ldap/README.md index b4090ec3d..e7e3a3f86 100644 --- a/linux/ecosystem/testrail/7.0.2.1014/ldap/README.md +++ b/linux/ecosystem/testrail/7.0.2.1014/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.0.2.1014 diff --git a/linux/ecosystem/testrail/7.0.2.1014/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1014/ldap/docker-compose.yml index 4ad0a9e80..feac5853b 100644 --- a/linux/ecosystem/testrail/7.0.2.1014/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1014/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.0.2.1014" diff --git a/linux/ecosystem/testrail/7.0.2.1014/main/README.md b/linux/ecosystem/testrail/7.0.2.1014/main/README.md index bf018e1f1..eb4e300d8 100644 --- a/linux/ecosystem/testrail/7.0.2.1014/main/README.md +++ b/linux/ecosystem/testrail/7.0.2.1014/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.0.2.1014 diff --git a/linux/ecosystem/testrail/7.0.2.1014/main/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1014/main/docker-compose.yml index 37ebad2e6..dd1f7d001 100644 --- a/linux/ecosystem/testrail/7.0.2.1014/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1014/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.0.2.1014" diff --git a/linux/ecosystem/testrail/7.0.2.1015/ad/README.md b/linux/ecosystem/testrail/7.0.2.1015/ad/README.md index ae5101a1b..a75f1be3d 100644 --- a/linux/ecosystem/testrail/7.0.2.1015/ad/README.md +++ b/linux/ecosystem/testrail/7.0.2.1015/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.0.2.1015 diff --git a/linux/ecosystem/testrail/7.0.2.1015/ad/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1015/ad/docker-compose.yml index c4b349498..d3b10ddca 100644 --- a/linux/ecosystem/testrail/7.0.2.1015/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1015/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.0.2.1015" diff --git a/linux/ecosystem/testrail/7.0.2.1015/ldap/README.md b/linux/ecosystem/testrail/7.0.2.1015/ldap/README.md index 46444f638..236fffa38 100644 --- a/linux/ecosystem/testrail/7.0.2.1015/ldap/README.md +++ b/linux/ecosystem/testrail/7.0.2.1015/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.0.2.1015 diff --git a/linux/ecosystem/testrail/7.0.2.1015/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1015/ldap/docker-compose.yml index fce647df6..402925f11 100644 --- a/linux/ecosystem/testrail/7.0.2.1015/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1015/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.0.2.1015" diff --git a/linux/ecosystem/testrail/7.0.2.1015/main/README.md b/linux/ecosystem/testrail/7.0.2.1015/main/README.md index f56a2a0b5..efc28f2b5 100644 --- a/linux/ecosystem/testrail/7.0.2.1015/main/README.md +++ b/linux/ecosystem/testrail/7.0.2.1015/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.0.2.1015 diff --git a/linux/ecosystem/testrail/7.0.2.1015/main/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1015/main/docker-compose.yml index 9d59bf0b2..a83a30e8a 100644 --- a/linux/ecosystem/testrail/7.0.2.1015/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1015/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.0.2.1015" diff --git a/linux/ecosystem/testrail/7.0.2.1016/ad/README.md b/linux/ecosystem/testrail/7.0.2.1016/ad/README.md index 0d78f707e..49d7ec541 100644 --- a/linux/ecosystem/testrail/7.0.2.1016/ad/README.md +++ b/linux/ecosystem/testrail/7.0.2.1016/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.0.2.1016 diff --git a/linux/ecosystem/testrail/7.0.2.1016/ad/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1016/ad/docker-compose.yml index e534d6ddb..8db1cdd20 100644 --- a/linux/ecosystem/testrail/7.0.2.1016/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1016/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.0.2.1016" diff --git a/linux/ecosystem/testrail/7.0.2.1016/ldap/README.md b/linux/ecosystem/testrail/7.0.2.1016/ldap/README.md index b0ba95b73..5d38bb68f 100644 --- a/linux/ecosystem/testrail/7.0.2.1016/ldap/README.md +++ b/linux/ecosystem/testrail/7.0.2.1016/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.0.2.1016 diff --git a/linux/ecosystem/testrail/7.0.2.1016/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1016/ldap/docker-compose.yml index 023f42e74..793adff55 100644 --- a/linux/ecosystem/testrail/7.0.2.1016/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1016/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.0.2.1016" diff --git a/linux/ecosystem/testrail/7.0.2.1016/main/README.md b/linux/ecosystem/testrail/7.0.2.1016/main/README.md index 1daa5c339..e0ddc8a84 100644 --- a/linux/ecosystem/testrail/7.0.2.1016/main/README.md +++ b/linux/ecosystem/testrail/7.0.2.1016/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.0.2.1016 diff --git a/linux/ecosystem/testrail/7.0.2.1016/main/docker-compose.yml b/linux/ecosystem/testrail/7.0.2.1016/main/docker-compose.yml index 95502afc6..474c9a0eb 100644 --- a/linux/ecosystem/testrail/7.0.2.1016/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.0.2.1016/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.0.2.1016" diff --git a/linux/ecosystem/testrail/7.4.1.8079/ad/README.md b/linux/ecosystem/testrail/7.4.1.8079/ad/README.md index 32b1569bb..acc9d2905 100644 --- a/linux/ecosystem/testrail/7.4.1.8079/ad/README.md +++ b/linux/ecosystem/testrail/7.4.1.8079/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.4.1.8079 diff --git a/linux/ecosystem/testrail/7.4.1.8079/ad/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8079/ad/docker-compose.yml index 92a1cb419..1b41c95e7 100644 --- a/linux/ecosystem/testrail/7.4.1.8079/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8079/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.4.1.8079" diff --git a/linux/ecosystem/testrail/7.4.1.8079/ldap/README.md b/linux/ecosystem/testrail/7.4.1.8079/ldap/README.md index 4f32488fd..afd3b81da 100644 --- a/linux/ecosystem/testrail/7.4.1.8079/ldap/README.md +++ b/linux/ecosystem/testrail/7.4.1.8079/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.4.1.8079 diff --git a/linux/ecosystem/testrail/7.4.1.8079/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8079/ldap/docker-compose.yml index 6ef33288e..c17fd4ca2 100644 --- a/linux/ecosystem/testrail/7.4.1.8079/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8079/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.4.1.8079" diff --git a/linux/ecosystem/testrail/7.4.1.8079/main/README.md b/linux/ecosystem/testrail/7.4.1.8079/main/README.md index 572305ea1..fae1e7af8 100644 --- a/linux/ecosystem/testrail/7.4.1.8079/main/README.md +++ b/linux/ecosystem/testrail/7.4.1.8079/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.4.1.8079 diff --git a/linux/ecosystem/testrail/7.4.1.8079/main/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8079/main/docker-compose.yml index 40b300912..42c5c669e 100644 --- a/linux/ecosystem/testrail/7.4.1.8079/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8079/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.4.1.8079" diff --git a/linux/ecosystem/testrail/7.4.1.8091/ad/README.md b/linux/ecosystem/testrail/7.4.1.8091/ad/README.md index 97a49028f..6c9e0a327 100644 --- a/linux/ecosystem/testrail/7.4.1.8091/ad/README.md +++ b/linux/ecosystem/testrail/7.4.1.8091/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.4.1.8091 diff --git a/linux/ecosystem/testrail/7.4.1.8091/ad/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8091/ad/docker-compose.yml index 144a803e9..b2c6619ec 100644 --- a/linux/ecosystem/testrail/7.4.1.8091/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8091/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.4.1.8091" diff --git a/linux/ecosystem/testrail/7.4.1.8091/ldap/README.md b/linux/ecosystem/testrail/7.4.1.8091/ldap/README.md index 8b5bd464e..90afbe347 100644 --- a/linux/ecosystem/testrail/7.4.1.8091/ldap/README.md +++ b/linux/ecosystem/testrail/7.4.1.8091/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.4.1.8091 diff --git a/linux/ecosystem/testrail/7.4.1.8091/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8091/ldap/docker-compose.yml index 6650eebed..a75aa43b9 100644 --- a/linux/ecosystem/testrail/7.4.1.8091/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8091/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.4.1.8091" diff --git a/linux/ecosystem/testrail/7.4.1.8091/main/README.md b/linux/ecosystem/testrail/7.4.1.8091/main/README.md index 1e7c2a9a1..86c22b5f4 100644 --- a/linux/ecosystem/testrail/7.4.1.8091/main/README.md +++ b/linux/ecosystem/testrail/7.4.1.8091/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.4.1.8091 diff --git a/linux/ecosystem/testrail/7.4.1.8091/main/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8091/main/docker-compose.yml index e5124c671..7cc8c95b7 100644 --- a/linux/ecosystem/testrail/7.4.1.8091/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8091/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.4.1.8091" diff --git a/linux/ecosystem/testrail/7.4.1.8092/ad/README.md b/linux/ecosystem/testrail/7.4.1.8092/ad/README.md index fe3c3db35..cf3616e10 100644 --- a/linux/ecosystem/testrail/7.4.1.8092/ad/README.md +++ b/linux/ecosystem/testrail/7.4.1.8092/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.4.1.8092 diff --git a/linux/ecosystem/testrail/7.4.1.8092/ad/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8092/ad/docker-compose.yml index 348aefd02..d0465fd03 100644 --- a/linux/ecosystem/testrail/7.4.1.8092/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8092/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.4.1.8092" diff --git a/linux/ecosystem/testrail/7.4.1.8092/ldap/README.md b/linux/ecosystem/testrail/7.4.1.8092/ldap/README.md index 67f13454a..2fc5dfd32 100644 --- a/linux/ecosystem/testrail/7.4.1.8092/ldap/README.md +++ b/linux/ecosystem/testrail/7.4.1.8092/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.4.1.8092 diff --git a/linux/ecosystem/testrail/7.4.1.8092/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8092/ldap/docker-compose.yml index 8fc77da5a..7e6346461 100644 --- a/linux/ecosystem/testrail/7.4.1.8092/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8092/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.4.1.8092" diff --git a/linux/ecosystem/testrail/7.4.1.8092/main/README.md b/linux/ecosystem/testrail/7.4.1.8092/main/README.md index e5a918610..b822e4558 100644 --- a/linux/ecosystem/testrail/7.4.1.8092/main/README.md +++ b/linux/ecosystem/testrail/7.4.1.8092/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.4.1.8092 diff --git a/linux/ecosystem/testrail/7.4.1.8092/main/docker-compose.yml b/linux/ecosystem/testrail/7.4.1.8092/main/docker-compose.yml index 4b4792c2a..cccf5d512 100644 --- a/linux/ecosystem/testrail/7.4.1.8092/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.4.1.8092/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.4.1.8092" diff --git a/linux/ecosystem/testrail/7.5.1.7010/ad/README.md b/linux/ecosystem/testrail/7.5.1.7010/ad/README.md index 8f850f5e4..da2be9fa8 100644 --- a/linux/ecosystem/testrail/7.5.1.7010/ad/README.md +++ b/linux/ecosystem/testrail/7.5.1.7010/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.5.1.7010 diff --git a/linux/ecosystem/testrail/7.5.1.7010/ad/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7010/ad/docker-compose.yml index 745db5d29..9d9ea4755 100644 --- a/linux/ecosystem/testrail/7.5.1.7010/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7010/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.5.1.7010" diff --git a/linux/ecosystem/testrail/7.5.1.7010/ldap/README.md b/linux/ecosystem/testrail/7.5.1.7010/ldap/README.md index 13f88b690..c2c8dd552 100644 --- a/linux/ecosystem/testrail/7.5.1.7010/ldap/README.md +++ b/linux/ecosystem/testrail/7.5.1.7010/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.5.1.7010 diff --git a/linux/ecosystem/testrail/7.5.1.7010/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7010/ldap/docker-compose.yml index 2e300f695..4a9fe98d6 100644 --- a/linux/ecosystem/testrail/7.5.1.7010/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7010/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.5.1.7010" diff --git a/linux/ecosystem/testrail/7.5.1.7010/main/README.md b/linux/ecosystem/testrail/7.5.1.7010/main/README.md index 4bb6c124a..c07c6d3ea 100644 --- a/linux/ecosystem/testrail/7.5.1.7010/main/README.md +++ b/linux/ecosystem/testrail/7.5.1.7010/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.5.1.7010 diff --git a/linux/ecosystem/testrail/7.5.1.7010/main/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7010/main/docker-compose.yml index 88873f3d8..a1ab3e45f 100644 --- a/linux/ecosystem/testrail/7.5.1.7010/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7010/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.5.1.7010" diff --git a/linux/ecosystem/testrail/7.5.1.7012/ad/README.md b/linux/ecosystem/testrail/7.5.1.7012/ad/README.md index 1b56b79b0..79c87dda9 100644 --- a/linux/ecosystem/testrail/7.5.1.7012/ad/README.md +++ b/linux/ecosystem/testrail/7.5.1.7012/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.5.1.7012 diff --git a/linux/ecosystem/testrail/7.5.1.7012/ad/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7012/ad/docker-compose.yml index 7bcf19483..490237047 100644 --- a/linux/ecosystem/testrail/7.5.1.7012/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7012/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.5.1.7012" diff --git a/linux/ecosystem/testrail/7.5.1.7012/ldap/README.md b/linux/ecosystem/testrail/7.5.1.7012/ldap/README.md index 664d23240..7fc6acdea 100644 --- a/linux/ecosystem/testrail/7.5.1.7012/ldap/README.md +++ b/linux/ecosystem/testrail/7.5.1.7012/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.5.1.7012 diff --git a/linux/ecosystem/testrail/7.5.1.7012/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7012/ldap/docker-compose.yml index bd656d241..0d5e01e2d 100644 --- a/linux/ecosystem/testrail/7.5.1.7012/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7012/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.5.1.7012" diff --git a/linux/ecosystem/testrail/7.5.1.7012/main/README.md b/linux/ecosystem/testrail/7.5.1.7012/main/README.md index 00d04e6bb..328c9706f 100644 --- a/linux/ecosystem/testrail/7.5.1.7012/main/README.md +++ b/linux/ecosystem/testrail/7.5.1.7012/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.5.1.7012 diff --git a/linux/ecosystem/testrail/7.5.1.7012/main/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7012/main/docker-compose.yml index 88f44f848..129f16c82 100644 --- a/linux/ecosystem/testrail/7.5.1.7012/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7012/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.5.1.7012" diff --git a/linux/ecosystem/testrail/7.5.1.7013/ad/README.md b/linux/ecosystem/testrail/7.5.1.7013/ad/README.md index b5a1d8981..349e04bce 100644 --- a/linux/ecosystem/testrail/7.5.1.7013/ad/README.md +++ b/linux/ecosystem/testrail/7.5.1.7013/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.5.1.7013 diff --git a/linux/ecosystem/testrail/7.5.1.7013/ad/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7013/ad/docker-compose.yml index 7c4329548..22435a6ad 100644 --- a/linux/ecosystem/testrail/7.5.1.7013/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7013/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.5.1.7013" diff --git a/linux/ecosystem/testrail/7.5.1.7013/ldap/README.md b/linux/ecosystem/testrail/7.5.1.7013/ldap/README.md index e681c1ce2..2cb745c26 100644 --- a/linux/ecosystem/testrail/7.5.1.7013/ldap/README.md +++ b/linux/ecosystem/testrail/7.5.1.7013/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.5.1.7013 diff --git a/linux/ecosystem/testrail/7.5.1.7013/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7013/ldap/docker-compose.yml index 88626243c..6e88f83f8 100644 --- a/linux/ecosystem/testrail/7.5.1.7013/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7013/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.5.1.7013" diff --git a/linux/ecosystem/testrail/7.5.1.7013/main/README.md b/linux/ecosystem/testrail/7.5.1.7013/main/README.md index db3d6b517..2f13555dd 100644 --- a/linux/ecosystem/testrail/7.5.1.7013/main/README.md +++ b/linux/ecosystem/testrail/7.5.1.7013/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.5.1.7013 diff --git a/linux/ecosystem/testrail/7.5.1.7013/main/docker-compose.yml b/linux/ecosystem/testrail/7.5.1.7013/main/docker-compose.yml index 7b1d150e3..c9f636c64 100644 --- a/linux/ecosystem/testrail/7.5.1.7013/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.1.7013/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.5.1.7013" diff --git a/linux/ecosystem/testrail/7.5.2.1002/ad/README.md b/linux/ecosystem/testrail/7.5.2.1002/ad/README.md index 6d645d768..dd3e1f21f 100644 --- a/linux/ecosystem/testrail/7.5.2.1002/ad/README.md +++ b/linux/ecosystem/testrail/7.5.2.1002/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.5.2.1002 diff --git a/linux/ecosystem/testrail/7.5.2.1002/ad/docker-compose.yml b/linux/ecosystem/testrail/7.5.2.1002/ad/docker-compose.yml index dee27c113..26d352409 100644 --- a/linux/ecosystem/testrail/7.5.2.1002/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.2.1002/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.5.2.1002" diff --git a/linux/ecosystem/testrail/7.5.2.1002/ldap/README.md b/linux/ecosystem/testrail/7.5.2.1002/ldap/README.md index 06244bf08..9713235d9 100644 --- a/linux/ecosystem/testrail/7.5.2.1002/ldap/README.md +++ b/linux/ecosystem/testrail/7.5.2.1002/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.5.2.1002 diff --git a/linux/ecosystem/testrail/7.5.2.1002/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.5.2.1002/ldap/docker-compose.yml index 98dde2738..430dedddc 100644 --- a/linux/ecosystem/testrail/7.5.2.1002/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.2.1002/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.5.2.1002" diff --git a/linux/ecosystem/testrail/7.5.2.1002/main/README.md b/linux/ecosystem/testrail/7.5.2.1002/main/README.md index e38392305..f4590e4a0 100644 --- a/linux/ecosystem/testrail/7.5.2.1002/main/README.md +++ b/linux/ecosystem/testrail/7.5.2.1002/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.5.2.1002 diff --git a/linux/ecosystem/testrail/7.5.2.1002/main/docker-compose.yml b/linux/ecosystem/testrail/7.5.2.1002/main/docker-compose.yml index 0eb2dbf31..d706ee55b 100644 --- a/linux/ecosystem/testrail/7.5.2.1002/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.2.1002/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.5.2.1002" diff --git a/linux/ecosystem/testrail/7.5.3.1000/ad/README.md b/linux/ecosystem/testrail/7.5.3.1000/ad/README.md index 895ebe094..d58f0b6cc 100644 --- a/linux/ecosystem/testrail/7.5.3.1000/ad/README.md +++ b/linux/ecosystem/testrail/7.5.3.1000/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:7.5.3.1000 diff --git a/linux/ecosystem/testrail/7.5.3.1000/ad/docker-compose.yml b/linux/ecosystem/testrail/7.5.3.1000/ad/docker-compose.yml index 0f5d4e6d8..89b0f1f8a 100644 --- a/linux/ecosystem/testrail/7.5.3.1000/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.3.1000/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-7.5.3.1000" diff --git a/linux/ecosystem/testrail/7.5.3.1000/ldap/README.md b/linux/ecosystem/testrail/7.5.3.1000/ldap/README.md index 5161c16e3..192595d1f 100644 --- a/linux/ecosystem/testrail/7.5.3.1000/ldap/README.md +++ b/linux/ecosystem/testrail/7.5.3.1000/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-7.5.3.1000 diff --git a/linux/ecosystem/testrail/7.5.3.1000/ldap/docker-compose.yml b/linux/ecosystem/testrail/7.5.3.1000/ldap/docker-compose.yml index c6e253406..288f5d1bd 100644 --- a/linux/ecosystem/testrail/7.5.3.1000/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.3.1000/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-7.5.3.1000" diff --git a/linux/ecosystem/testrail/7.5.3.1000/main/README.md b/linux/ecosystem/testrail/7.5.3.1000/main/README.md index 2adee37b5..2b843fad5 100644 --- a/linux/ecosystem/testrail/7.5.3.1000/main/README.md +++ b/linux/ecosystem/testrail/7.5.3.1000/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:7.5.3.1000 diff --git a/linux/ecosystem/testrail/7.5.3.1000/main/docker-compose.yml b/linux/ecosystem/testrail/7.5.3.1000/main/docker-compose.yml index 168ba26a9..634c7f94a 100644 --- a/linux/ecosystem/testrail/7.5.3.1000/main/docker-compose.yml +++ b/linux/ecosystem/testrail/7.5.3.1000/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:7.5.3.1000" diff --git a/linux/ecosystem/testrail/8.0.0.1089/ad/README.md b/linux/ecosystem/testrail/8.0.0.1089/ad/README.md index d5e8d1c77..787bc57af 100644 --- a/linux/ecosystem/testrail/8.0.0.1089/ad/README.md +++ b/linux/ecosystem/testrail/8.0.0.1089/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:8.0.0.1089 diff --git a/linux/ecosystem/testrail/8.0.0.1089/ad/docker-compose.yml b/linux/ecosystem/testrail/8.0.0.1089/ad/docker-compose.yml index d0e74fade..0e27d5a72 100644 --- a/linux/ecosystem/testrail/8.0.0.1089/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.0.1089/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-8.0.0.1089" diff --git a/linux/ecosystem/testrail/8.0.0.1089/ldap/README.md b/linux/ecosystem/testrail/8.0.0.1089/ldap/README.md index a4a87b97f..60a50aa1d 100644 --- a/linux/ecosystem/testrail/8.0.0.1089/ldap/README.md +++ b/linux/ecosystem/testrail/8.0.0.1089/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-8.0.0.1089 diff --git a/linux/ecosystem/testrail/8.0.0.1089/ldap/docker-compose.yml b/linux/ecosystem/testrail/8.0.0.1089/ldap/docker-compose.yml index a8620be31..da38773a8 100644 --- a/linux/ecosystem/testrail/8.0.0.1089/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.0.1089/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-8.0.0.1089" diff --git a/linux/ecosystem/testrail/8.0.0.1089/main/README.md b/linux/ecosystem/testrail/8.0.0.1089/main/README.md index cd5580271..56bda5cde 100644 --- a/linux/ecosystem/testrail/8.0.0.1089/main/README.md +++ b/linux/ecosystem/testrail/8.0.0.1089/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:8.0.0.1089 diff --git a/linux/ecosystem/testrail/8.0.0.1089/main/docker-compose.yml b/linux/ecosystem/testrail/8.0.0.1089/main/docker-compose.yml index 148026704..45bc02395 100644 --- a/linux/ecosystem/testrail/8.0.0.1089/main/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.0.1089/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:8.0.0.1089" diff --git a/linux/ecosystem/testrail/8.0.1.1029/ad/README.md b/linux/ecosystem/testrail/8.0.1.1029/ad/README.md index a57aef5c5..a0473a306 100644 --- a/linux/ecosystem/testrail/8.0.1.1029/ad/README.md +++ b/linux/ecosystem/testrail/8.0.1.1029/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:8.0.1.1029 diff --git a/linux/ecosystem/testrail/8.0.1.1029/ad/docker-compose.yml b/linux/ecosystem/testrail/8.0.1.1029/ad/docker-compose.yml index 1f7b881c5..18f2a664b 100644 --- a/linux/ecosystem/testrail/8.0.1.1029/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.1.1029/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-8.0.1.1029" diff --git a/linux/ecosystem/testrail/8.0.1.1029/ldap/README.md b/linux/ecosystem/testrail/8.0.1.1029/ldap/README.md index a58b9a4ee..93d861591 100644 --- a/linux/ecosystem/testrail/8.0.1.1029/ldap/README.md +++ b/linux/ecosystem/testrail/8.0.1.1029/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-8.0.1.1029 diff --git a/linux/ecosystem/testrail/8.0.1.1029/ldap/docker-compose.yml b/linux/ecosystem/testrail/8.0.1.1029/ldap/docker-compose.yml index eaf9771bf..bd184b7cd 100644 --- a/linux/ecosystem/testrail/8.0.1.1029/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.1.1029/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-8.0.1.1029" diff --git a/linux/ecosystem/testrail/8.0.1.1029/main/README.md b/linux/ecosystem/testrail/8.0.1.1029/main/README.md index e6c848865..908e9abfc 100644 --- a/linux/ecosystem/testrail/8.0.1.1029/main/README.md +++ b/linux/ecosystem/testrail/8.0.1.1029/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:8.0.1.1029 diff --git a/linux/ecosystem/testrail/8.0.1.1029/main/docker-compose.yml b/linux/ecosystem/testrail/8.0.1.1029/main/docker-compose.yml index 167e6987f..a32c39c08 100644 --- a/linux/ecosystem/testrail/8.0.1.1029/main/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.1.1029/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:8.0.1.1029" diff --git a/linux/ecosystem/testrail/8.0.4.7036/ad/README.md b/linux/ecosystem/testrail/8.0.4.7036/ad/README.md index 08bf02a0e..1913323fc 100644 --- a/linux/ecosystem/testrail/8.0.4.7036/ad/README.md +++ b/linux/ecosystem/testrail/8.0.4.7036/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:8.0.4.7036 diff --git a/linux/ecosystem/testrail/8.0.4.7036/ad/docker-compose.yml b/linux/ecosystem/testrail/8.0.4.7036/ad/docker-compose.yml index 1367d37ca..d507af22b 100644 --- a/linux/ecosystem/testrail/8.0.4.7036/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.4.7036/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-8.0.4.7036" diff --git a/linux/ecosystem/testrail/8.0.4.7036/ldap/README.md b/linux/ecosystem/testrail/8.0.4.7036/ldap/README.md index 5ec84930f..ac1ff5bcc 100644 --- a/linux/ecosystem/testrail/8.0.4.7036/ldap/README.md +++ b/linux/ecosystem/testrail/8.0.4.7036/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-8.0.4.7036 diff --git a/linux/ecosystem/testrail/8.0.4.7036/ldap/docker-compose.yml b/linux/ecosystem/testrail/8.0.4.7036/ldap/docker-compose.yml index 1797c4408..e6c9234aa 100644 --- a/linux/ecosystem/testrail/8.0.4.7036/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.4.7036/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-8.0.4.7036" diff --git a/linux/ecosystem/testrail/8.0.4.7036/main/README.md b/linux/ecosystem/testrail/8.0.4.7036/main/README.md index b188209a2..125b29a68 100644 --- a/linux/ecosystem/testrail/8.0.4.7036/main/README.md +++ b/linux/ecosystem/testrail/8.0.4.7036/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:8.0.4.7036 diff --git a/linux/ecosystem/testrail/8.0.4.7036/main/docker-compose.yml b/linux/ecosystem/testrail/8.0.4.7036/main/docker-compose.yml index b169aa53d..5b5676f58 100644 --- a/linux/ecosystem/testrail/8.0.4.7036/main/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.4.7036/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:8.0.4.7036" diff --git a/linux/ecosystem/testrail/8.0.6.1019/ad/README.md b/linux/ecosystem/testrail/8.0.6.1019/ad/README.md index 69beab0f1..653aae970 100644 --- a/linux/ecosystem/testrail/8.0.6.1019/ad/README.md +++ b/linux/ecosystem/testrail/8.0.6.1019/ad/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail-ad-:8.0.6.1019 diff --git a/linux/ecosystem/testrail/8.0.6.1019/ad/docker-compose.yml b/linux/ecosystem/testrail/8.0.6.1019/ad/docker-compose.yml index 518c0ef77..2c63cfaa8 100644 --- a/linux/ecosystem/testrail/8.0.6.1019/ad/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.6.1019/ad/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ad-8.0.6.1019" diff --git a/linux/ecosystem/testrail/8.0.6.1019/ldap/README.md b/linux/ecosystem/testrail/8.0.6.1019/ldap/README.md index 7b326aa21..aa5b82fd8 100644 --- a/linux/ecosystem/testrail/8.0.6.1019/ldap/README.md +++ b/linux/ecosystem/testrail/8.0.6.1019/ldap/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:auth-ldap-8.0.6.1019 diff --git a/linux/ecosystem/testrail/8.0.6.1019/ldap/docker-compose.yml b/linux/ecosystem/testrail/8.0.6.1019/ldap/docker-compose.yml index 94a52e230..cbfeef034 100644 --- a/linux/ecosystem/testrail/8.0.6.1019/ldap/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.6.1019/ldap/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:auth-ldap-8.0.6.1019" diff --git a/linux/ecosystem/testrail/8.0.6.1019/main/README.md b/linux/ecosystem/testrail/8.0.6.1019/main/README.md index 60beefcd5..5a44bedfe 100644 --- a/linux/ecosystem/testrail/8.0.6.1019/main/README.md +++ b/linux/ecosystem/testrail/8.0.6.1019/main/README.md @@ -5,7 +5,6 @@ # Compose example ```yml -version: '3.7' services: testrail: image: epicmorg/testrail:8.0.6.1019 diff --git a/linux/ecosystem/testrail/8.0.6.1019/main/docker-compose.yml b/linux/ecosystem/testrail/8.0.6.1019/main/docker-compose.yml index f5de62ab9..ba660e2ee 100644 --- a/linux/ecosystem/testrail/8.0.6.1019/main/docker-compose.yml +++ b/linux/ecosystem/testrail/8.0.6.1019/main/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3.9' services: app: image: "epicmorg/testrail:8.0.6.1019" diff --git a/linux/ecosystem/torrserver/docker-compose.yml b/linux/ecosystem/torrserver/docker-compose.yml index 16928cca8..1aa4604c7 100644 --- a/linux/ecosystem/torrserver/docker-compose.yml +++ b/linux/ecosystem/torrserver/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/torrserver:latest" diff --git a/linux/ecosystem/torrust-index/docker-compose.yml b/linux/ecosystem/torrust-index/docker-compose.yml index 55db7b92d..4b15a8a09 100644 --- a/linux/ecosystem/torrust-index/docker-compose.yml +++ b/linux/ecosystem/torrust-index/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/torrust-index:latest" diff --git a/linux/ecosystem/torrust-tracker/docker-compose.yml b/linux/ecosystem/torrust-tracker/docker-compose.yml index f6b332f00..81822587c 100644 --- a/linux/ecosystem/torrust-tracker/docker-compose.yml +++ b/linux/ecosystem/torrust-tracker/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/torrust-tracker:latest" diff --git a/linux/ecosystem/vk2discord/docker-compose.yml b/linux/ecosystem/vk2discord/docker-compose.yml index aa3e21c15..de8f1f1da 100644 --- a/linux/ecosystem/vk2discord/docker-compose.yml +++ b/linux/ecosystem/vk2discord/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/vk2discord:latest" diff --git a/linux/experimental/redash/docker-compose.example.yml b/linux/experimental/redash/docker-compose.example.yml index bf2ab209b..7aab956bc 100644 --- a/linux/experimental/redash/docker-compose.example.yml +++ b/linux/experimental/redash/docker-compose.example.yml @@ -1,6 +1,6 @@ # This configuration file is for the **development** setup. # For a production example please refer to getredash/setup repository on GitHub. -#version: "2.2" + x-redash-service: &redash-service build: context: . diff --git a/linux/experimental/redash/docker-compose.yml b/linux/experimental/redash/docker-compose.yml index 0cf5962ea..ce51c3b8a 100644 --- a/linux/experimental/redash/docker-compose.yml +++ b/linux/experimental/redash/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/redash:latest" diff --git a/linux/experimental/sentry/latest/docker-compose.yml b/linux/experimental/sentry/latest/docker-compose.yml index f298a41dc..18e91529a 100644 --- a/linux/experimental/sentry/latest/docker-compose.yml +++ b/linux/experimental/sentry/latest/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/sentry:latest" diff --git a/win32/advanced/microsoft-windows-servercore/docker-compose.yml b/win32/advanced/microsoft-windows-servercore/docker-compose.yml index d1037b1aa..2090c3717 100644 --- a/win32/advanced/microsoft-windows-servercore/docker-compose.yml +++ b/win32/advanced/microsoft-windows-servercore/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/win32:2022-core" diff --git a/win32/ecosystem/microsoft/iis/docker-compose.yml b/win32/ecosystem/microsoft/iis/docker-compose.yml index b1b3ceb8b..d636c776a 100644 --- a/win32/ecosystem/microsoft/iis/docker-compose.yml +++ b/win32/ecosystem/microsoft/iis/docker-compose.yml @@ -1,4 +1,3 @@ -#version: '3' services: app: image: "epicmorg/win32-iis:2022-core"