diff --git a/.github/workflows/epicmorg.ecosystem.images.apache2.yml b/.github/workflows/epicmorg.ecosystem.images.apache2.yml index a77ae83d3..b3dd209aa 100644 --- a/.github/workflows/epicmorg.ecosystem.images.apache2.yml +++ b/.github/workflows/epicmorg.ecosystem.images.apache2.yml @@ -14,7 +14,7 @@ jobs: version: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', - '8.0', '8.1', '8.2', '8.3', '8.4' + '8.0', '8.1', '8.2', '8.3', '8.4', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml index d85bd2518..5060d4270 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml @@ -15,7 +15,7 @@ jobs: '1.1.2', '1.2.1', '1.2.4', - '1.3.1' + '1.3.1', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml index 2ebfeb6b3..417d5915d 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml @@ -45,7 +45,7 @@ jobs: '2.12.3', '2.12.4', '2.12.5', - '2.12.6' + '2.12.6', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml index badb05528..01e2a8021 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml @@ -59,7 +59,7 @@ jobs: '3.11.2', '3.11.3', '3.11.4', - '3.11.6' + '3.11.6', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml index a6cc7f016..52f4f5289 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml @@ -74,7 +74,7 @@ jobs: '4.14.9', '4.14.10', '4.14.11', - '4.14.12' + '4.14.12', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml index 4a99a8d84..77e549775 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml @@ -123,7 +123,7 @@ jobs: '5.16.8', '5.16.9', '5.16.10', - '5.16.11' + '5.16.11', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml index 138485d48..4e04ec973 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml @@ -91,7 +91,7 @@ jobs: '6.10.14', '6.10.15', '6.10.16', - '6.10.17' + '6.10.17', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml index 6694bb7e5..ea7bfbaf6 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml @@ -144,7 +144,7 @@ jobs: '7.21.20', '7.21.21', '7.21.22', - '7.21.23' + '7.21.23', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml index bde639ab1..6b3f88675 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml @@ -152,7 +152,7 @@ jobs: '8.19.13', '8.19.14', '8.19.15', - '8.19.16' + '8.19.16', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml index ab1fc0a1b..e700d6bd1 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml @@ -28,7 +28,7 @@ jobs: '9.5.0', '9.5.1', '9.5.2', - '9.6.0' + '9.6.0', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml index 6cc8f4b90..6708d558a 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml @@ -89,7 +89,7 @@ jobs: max_attempts: 15 command: make pip - - name: "Build and Deploy Atlassian crucible ${{ matrix.version }} Image:" + - name: "Build and Deploy Atlassian Crucible ${{ matrix.version }} Image:" uses: nick-fields/retry@v3 with: retry_wait_seconds: 45 diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml index 752a3163d..0817106f4 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml @@ -88,7 +88,7 @@ jobs: max_attempts: 15 command: make pip - - name: "Build and Deploy Atlassian fisheye ${{ matrix.version }} Image:" + - name: "Build and Deploy Atlassian Fisheye ${{ matrix.version }} Image:" uses: nick-fields/retry@v3 with: retry_wait_seconds: 45 diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.02.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.02.yml new file mode 100644 index 000000000..0eeef4e75 --- /dev/null +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.02.yml @@ -0,0 +1,170 @@ +name: EpicMorg Atlassian Fisheye + Crucible 02 Images + +on: + workflow_dispatch: + +jobs: + + build-images: + name: Atlassian Fisheye + Crucible ${{ matrix.version }} Image + runs-on: [ ubuntu-24.04 ] + strategy: + matrix: + version: [ + '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', + ] + + steps: + - uses: actions/checkout@v4 + with: + clean: true + show-progress: true + submodules: true + + - name: Log into docker registry + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin + + - name: Log into Quay.IO registry + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" + + - name: Check buildah + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: buildah --version + + - name: Test Make + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make + + - name: Install requirements.txt + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make pip + + - name: "Build and Deploy Atlassian Fisheye + Crucible ${{ matrix.version }} Image:" + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: cd linux/ecosystem/atlassian/fisheye-crucible/2/${{ matrix.version }} && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make clean diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.03.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.03.yml new file mode 100644 index 000000000..01e56d14e --- /dev/null +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.03.yml @@ -0,0 +1,131 @@ +name: EpicMorg Atlassian Fisheye + Crucible 03 Images + +on: + workflow_dispatch: + +jobs: + + build-images: + name: Atlassian Fisheye + Crucible ${{ matrix.version }} Image + runs-on: [ ubuntu-24.04 ] + strategy: + matrix: + version: [ + '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', + ] + + steps: + - uses: actions/checkout@v4 + with: + clean: true + show-progress: true + submodules: true + + - name: Log into docker registry + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin + + - name: Log into Quay.IO registry + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" + + - name: Check buildah + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: buildah --version + + - name: Test Make + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make + + - name: Install requirements.txt + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make pip + + - name: "Build and Deploy Atlassian Fisheye + Crucible ${{ matrix.version }} Image:" + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: cd linux/ecosystem/atlassian/fisheye-crucible/3/${{ matrix.version }} && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make clean diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.04.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.04.yml new file mode 100644 index 000000000..20d0a4b41 --- /dev/null +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.04.yml @@ -0,0 +1,131 @@ +name: EpicMorg Atlassian Fisheye + Crucible 04 Images + +on: + workflow_dispatch: + +jobs: + + build-images: + name: Atlassian Fisheye + Crucible ${{ matrix.version }} Image + runs-on: [ ubuntu-24.04 ] + strategy: + matrix: + version: [ + '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', + '4.9.1', + ] + + steps: + - uses: actions/checkout@v4 + with: + clean: true + show-progress: true + submodules: true + + - name: Log into docker registry + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin + + - name: Log into Quay.IO registry + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" + + - name: Check buildah + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: buildah --version + + - name: Test Make + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make + + - name: Install requirements.txt + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make pip + + - name: "Build and Deploy Atlassian Fisheye + Crucible ${{ matrix.version }} Image:" + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: cd linux/ecosystem/atlassian/fisheye-crucible/4/${{ matrix.version }} && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + uses: nick-fields/retry@v3 + with: + retry_wait_seconds: 45 + timeout_minutes: 600 + max_attempts: 15 + command: make clean diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml index f2497a17b..a6faaa6c4 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml @@ -27,7 +27,7 @@ jobs: '4.4.1', '4.4.3', '4.4.4', - '4.4.5' + '4.4.5', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml index 9c8441a59..4080c0792 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml @@ -39,7 +39,7 @@ jobs: '5.2.5', '5.2.6', '5.2.7', - '5.2.8' + '5.2.8', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml index 0fe56b21a..8a39e1131 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml @@ -67,7 +67,7 @@ jobs: '6.4.6', '6.4.7', '6.4.8', - '6.4.9' + '6.4.9', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml index 798acf309..93652718b 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml @@ -117,7 +117,7 @@ jobs: '7.8.2', '7.8.4', '7.9.0', - '7.9.2' + '7.9.2', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml index 4388fee47..3e56d9d0f 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml @@ -149,7 +149,7 @@ jobs: '8.8.0', '8.8.1', '8.9.0', - '8.9.1' + '8.9.1', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml index fee94fc3d..9667c71e8 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml @@ -104,7 +104,7 @@ jobs: '9.8.2', '9.9.0', '9.9.1', - '9.9.2' + '9.9.2', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml index d4169d778..74ad04254 100644 --- a/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml +++ b/.github/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml @@ -27,7 +27,7 @@ jobs: '10.4.1', '10.5.0', '10.5.1', - '10.6.0' + '10.6.0', ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.giltab.runners.yml b/.github/workflows/epicmorg.ecosystem.images.giltab.runners.yml index 637469104..36087da41 100644 --- a/.github/workflows/epicmorg.ecosystem.images.giltab.runners.yml +++ b/.github/workflows/epicmorg.ecosystem.images.giltab.runners.yml @@ -121,7 +121,7 @@ jobs: {type: 'php', version: '8.1', path: 'php81'}, {type: 'php', version: '8.2', path: 'php82'}, {type: 'php', version: '8.3', path: 'php83'}, - {type: 'php', version: '8.4', path: 'php84'} + {type: 'php', version: '8.4', path: 'php84'}, ] steps: diff --git a/.github/workflows/epicmorg.ecosystem.images.github.runners.yml b/.github/workflows/epicmorg.ecosystem.images.github.runners.yml index fe735cff2..dfd004eaa 100644 --- a/.github/workflows/epicmorg.ecosystem.images.github.runners.yml +++ b/.github/workflows/epicmorg.ecosystem.images.github.runners.yml @@ -121,7 +121,7 @@ jobs: {type: 'php', version: '8.1', path: 'php81'}, {type: 'php', version: '8.2', path: 'php82'}, {type: 'php', version: '8.3', path: 'php83'}, - {type: 'php', version: '8.4', path: 'php84'} + {type: 'php', version: '8.4', path: 'php84'}, ] steps: diff --git a/Makefile b/Makefile index 55f38c3cd..91525f443 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,9 @@ ansible.gen.crucible: ansible.gen.fisheye: cd `pwd`/bin/ansible && ansible-playbook ./generate.fisheye.yml +ansible.gen.fisheye-crucible: + cd `pwd`/bin/ansible && ansible-playbook ./generate.fisheye-crucible.yml + ansible.gen.bitbucket: cd `pwd`/bin/ansible && ansible-playbook ./generate.bitbucket.yml diff --git a/README.md b/README.md index ab9ce3a72..0ef0594ec 100644 --- a/README.md +++ b/README.md @@ -49,17 +49,17 @@ A collection of docker images for production use. This repo contains 2 types of | # | Bitbucket | Confluence | Jira | Crowd |Crucible + Fisheye |:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|:-------------:| -| `00` | `-` | `-` | `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.00.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.00.yml) | `-` | -| `01` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml) | `-` | `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.01.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crucible.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml) [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.fisheye.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml) | -| `02` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml?label=Status&logo=02&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml) | `-` | `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.02.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.02.yml) | `-` | -| `03` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml?label=Status&logo=03&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml) | `-` | `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.03.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.03.yml) | `-` | -| `04` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml?label=Status&logo=04&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.04.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.04.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.04.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.04.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.04.yml) | `-` | -| `05` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml?label=Status&logo=05&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.05.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.05.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.05.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.05.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.05.yml) | `-` | -| `06` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml?label=Status&logo=06&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.06.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.06.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.06.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.06.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.06.yml) | `-` | -| `07` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml?label=Status&logo=07&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.07.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.07.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.07.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml) | `-` | `-` | -| `08` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml?label=Status&logo=08&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.08.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.08.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.08.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml) | `-` | `-` | -| `09` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml?label=Status&logo=09&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.09.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.09.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.09.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml) | `-` | `-` | -| `10` | `-` | `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.10.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml) | `-` | `-` | +| `00` | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.00.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.00.yml) | :no_entry_sign: | +| `01` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml) | :no_entry_sign: | :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.01.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crucible.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml) [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.fisheye.01.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml) | +| `02` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml?label=Status&logo=02&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml) | :no_entry_sign: | :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.02.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.02.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.fisheye.02.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.02.yml) | +| `03` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml?label=Status&logo=03&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml) | :no_entry_sign: | :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.03.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.03.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.fisheye.03.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.03.yml) | +| `04` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml?label=Status&logo=04&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.04.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.04.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.04.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.04.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.04.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.fisheye.04.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.04.yml) | +| `05` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml?label=Status&logo=05&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.05.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.05.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.05.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.05.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.05.yml) | :no_entry_sign: | +| `06` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml?label=Status&logo=06&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.06.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.06.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.06.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.crowd.06.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.06.yml) | :no_entry_sign: | +| `07` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml?label=Status&logo=07&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.07.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.07.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.07.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml) | :no_entry_sign: | :no_entry_sign: | +| `08` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml?label=Status&logo=08&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.08.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.08.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.08.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml) | :no_entry_sign: | :no_entry_sign: | +| `09` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml?label=Status&logo=09&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.confluence.09.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.09.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.09.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml) | :no_entry_sign: | :no_entry_sign: | +| `10` | :no_entry_sign: | :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.jira.10.yml?label=Status&logo=01&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml) | :no_entry_sign: | :no_entry_sign: | > [!WARNING] > **DEPRECATION WARNING** @@ -102,10 +102,10 @@ For more information - look at `Support Document` to replace this tags and image | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.vscode.images.yml?label=Vscode%20Server%20Images&logo=Vscode%20Server%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.vscode.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.teamcity.agents.yml?label=TeamCity%20Agents%20Images&logo=TeamCity%20Agents%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.teamcity.agents.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.teamcity.servers.yml?label=TeamCity%20Servers&logo=EpicMorg%20TeamCity%20Servers&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.teamcity.servers.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.misc.yml?label=EcoSystem%20Misc%20Images&logo=EcoSystem%20Misc%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.misc.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.cassandra.yml?label=Cassandra&logo=Cassandra&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.cassandra.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.atlassian.latest.yml?label=Atlassian%20Latest%20Images&logo=Atlassian%20Latest%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.latest.yml) -| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.perforce.yml?label=Perfocre%20Images&logo=Perfocre%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.perforce.yml) -| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.giltab.runners.yml?label=Gitlab%20Runner%20Images&logo=Gitlab%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.giltab.runners.yml) -| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.github.runners.yml?label=GitHub%20Runner%20Images&logo=GitHub%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.github.runners.yml) -| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.qbittorrent.yml?label=qBittorrent%20Images&logo=qBittorrent%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.qbittorrent.yml) +| :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.perforce.yml?label=Perfocre%20Images&logo=Perfocre%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.perforce.yml) +| :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.giltab.runners.yml?label=Gitlab%20Runner%20Images&logo=Gitlab%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.giltab.runners.yml) +| :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.github.runners.yml?label=GitHub%20Runner%20Images&logo=GitHub%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.github.runners.yml) +| :no_entry_sign: | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosystem.images.qbittorrent.yml?label=qBittorrent%20Images&logo=qBittorrent%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.qbittorrent.yml) # Few popular products [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B81CUI4) diff --git a/bin/ansible/generate.fisheye-crucible.yml b/bin/ansible/generate.fisheye-crucible.yml new file mode 100644 index 000000000..6b4bc505e --- /dev/null +++ b/bin/ansible/generate.fisheye-crucible.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 Fisheye images + hosts: localhost + connection: local + gather_facts: false + roles: + - atlassian.fisheye-crucible diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/Makefile b/bin/ansible/roles/atlassian.fisheye-crucible/files/Makefile similarity index 100% rename from linux/ecosystem/atlassian/fisheye-crucible/templates/2/Makefile rename to bin/ansible/roles/atlassian.fisheye-crucible/files/Makefile diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/entrypoint.sh b/bin/ansible/roles/atlassian.fisheye-crucible/files/entrypoint.sh old mode 100755 new mode 100644 similarity index 100% rename from linux/ecosystem/atlassian/fisheye-crucible/templates/2/entrypoint.sh rename to bin/ansible/roles/atlassian.fisheye-crucible/files/entrypoint.sh diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.2.jdk6-7.yml b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.2.jdk6-7.yml new file mode 100644 index 000000000..ca5bbf380 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.2.jdk6-7.yml @@ -0,0 +1,59 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/fisheye-crucible/2.jdk6-7.txt" + register: version_output + +- name: Set version variable + set_fact: + fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_fisheye_2 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/.env" + force: true + with_items: "{{ fisheye_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_fisheye_2 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk6.j2" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Dockerfile.jdk7 from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk7.j2" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Dockerfile.jdk7" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Makefile" + force: true + with_items: "{{ fisheye_versions }}" diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.2.jdk6.yml b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.2.jdk6.yml new file mode 100644 index 000000000..fbff53abd --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.2.jdk6.yml @@ -0,0 +1,52 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/fisheye-crucible/2.jdk6.txt" + register: version_output + +- name: Set version variable + set_fact: + fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_fisheye_2 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/.env" + force: true + with_items: "{{ fisheye_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_fisheye_2 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk6.j2" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Makefile" + force: true + with_items: "{{ fisheye_versions }}" diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.3.jdk6-7.yml b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.3.jdk6-7.yml new file mode 100644 index 000000000..c2d4dd357 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.3.jdk6-7.yml @@ -0,0 +1,59 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/fisheye-crucible/3.jdk6-7.txt" + register: version_output + +- name: Set version variable + set_fact: + fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_fisheye_3 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/.env" + force: true + with_items: "{{ fisheye_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_fisheye_3 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk6.j2" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Dockerfile.jdk7 from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk7.j2" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Dockerfile.jdk7" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Makefile" + force: true + with_items: "{{ fisheye_versions }}" diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.3.jdk8.yml b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.3.jdk8.yml new file mode 100644 index 000000000..7eab6393b --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.3.jdk8.yml @@ -0,0 +1,52 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/fisheye-crucible/3.jdk8.txt" + register: version_output + +- name: Set version variable + set_fact: + fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_fisheye_3 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/.env" + force: true + with_items: "{{ fisheye_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_fisheye_3 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk8.j2" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Makefile" + force: true + with_items: "{{ fisheye_versions }}" diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.4.jdk8.yml b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.4.jdk8.yml new file mode 100644 index 000000000..629d0abb4 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/atlassian.fisheye.4.jdk8.yml @@ -0,0 +1,52 @@ +- name: Read versions from file + slurp: + src: "roles/common/files/versions/fisheye-crucible/4.jdk8.txt" + register: version_output + +- name: Set version variable + set_fact: + fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}" + +- name: Create directories for Crowd versions + file: + path: "{{ target_directory_fisheye_4 }}/{{ item }}" + state: directory + mode: '0755' + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy .env with link from template to each version directory + template: + src: "env/template.env.j2" + dest: "{{ target_directory_fisheye_4 }}/{{ item }}/.env" + force: true + with_items: "{{ fisheye_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_fisheye_4 }}/{{ item }}/docker-compose.yml" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Dockerfile from template to each version directory + template: + src: "dockerfile/template.Dockerfile.jdk8.j2" + dest: "{{ target_directory_fisheye_4 }}/{{ item }}/Dockerfile" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy entrypoint.sh from 'files' directory to each version directory + copy: + src: "entrypoint.sh" + dest: "{{ target_directory_fisheye_4 }}/{{ item }}/entrypoint.sh" + mode: "0777" + force: true + with_items: "{{ fisheye_versions }}" + +- name: Copy Makefile from 'files' directory to each version directory + copy: + src: "Makefile" + dest: "{{ target_directory_fisheye_4 }}/{{ item }}/Makefile" + force: true + with_items: "{{ fisheye_versions }}" diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/tasks/main.yml b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/main.yml new file mode 100644 index 000000000..947c49809 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/tasks/main.yml @@ -0,0 +1,14 @@ +#- name: "Generate images for Fisheye + Crucible 2 (jdk6)" +# import_tasks: atlassian.fisheye.2.jdk6.yml +# +#- name: "Generate images for Fisheye + Crucible 2 (jdk6 + jdk7)" +# import_tasks: atlassian.fisheye.2.jdk6-7.yml +# +#- name: "Generate images for Fisheye + Crucible 3 (jdk6 + jdk7)" +# import_tasks: atlassian.fisheye.3.jdk6-7.yml +# +#- name: "Generate images for Fisheye + Crucible 3 (jdk8)" +# import_tasks: atlassian.fisheye.3.jdk8.yml +# +- name: "Generate images for Fisheye + Crucible 4 (jdk8)" + import_tasks: atlassian.fisheye.4.jdk8.yml diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 b/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 new file mode 100644 index 000000000..d21e28bc3 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk6-7.yml.j2 @@ -0,0 +1,15 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:{{ item }}" + build: + context: . + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk6.yml.j2 b/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk6.yml.j2 new file mode 100644 index 000000000..7ec4fd42c --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk6.yml.j2 @@ -0,0 +1,10 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:{{ item }}" + build: + context: . + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk6" + build: + context: . + diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk8.yml.j2 b/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk8.yml.j2 new file mode 100644 index 000000000..f73c543ac --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/templates/docker-compose/template.docker-compose.jdk8.yml.j2 @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:{{ item }}" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk8" + build: + context: . diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk6.j2 b/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk6.j2 new file mode 100644 index 000000000..24dd94365 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk6.j2 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk7.j2 b/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk7.j2 new file mode 100644 index 000000000..7eb905934 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk7.j2 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk8.j2 b/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk8.j2 new file mode 100644 index 000000000..7c027b12f --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/templates/dockerfile/template.Dockerfile.jdk8.j2 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE={{ item }} +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/templates/env/template.env.j2 b/bin/ansible/roles/atlassian.fisheye-crucible/templates/env/template.env.j2 new file mode 100644 index 000000000..75ced8452 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/templates/env/template.env.j2 @@ -0,0 +1,3 @@ +RELEASE={{ item }} +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/bin/ansible/roles/atlassian.fisheye-crucible/vars/main.yml b/bin/ansible/roles/atlassian.fisheye-crucible/vars/main.yml new file mode 100644 index 000000000..6836d2959 --- /dev/null +++ b/bin/ansible/roles/atlassian.fisheye-crucible/vars/main.yml @@ -0,0 +1,4 @@ +# Defaults +target_directory_fisheye_2: "/opt/tmp/fisheye-crucible/2" +target_directory_fisheye_3: "/opt/tmp/fisheye-crucible/3" +target_directory_fisheye_4: "/opt/tmp/fisheye-crucible/4" \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/fisheye-crucible/2.jdk6-7.txt b/bin/ansible/roles/common/files/versions/fisheye-crucible/2.jdk6-7.txt new file mode 100644 index 000000000..6aaa895ac --- /dev/null +++ b/bin/ansible/roles/common/files/versions/fisheye-crucible/2.jdk6-7.txt @@ -0,0 +1,34 @@ +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-crucible/2.txt b/bin/ansible/roles/common/files/versions/fisheye-crucible/2.jdk6.txt similarity index 60% rename from bin/ansible/roles/common/files/versions/fisheye-crucible/2.txt rename to bin/ansible/roles/common/files/versions/fisheye-crucible/2.jdk6.txt index 781698457..332c579f0 100644 --- a/bin/ansible/roles/common/files/versions/fisheye-crucible/2.txt +++ b/bin/ansible/roles/common/files/versions/fisheye-crucible/2.jdk6.txt @@ -54,38 +54,4 @@ 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 +2.6.9 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/fisheye-crucible/3.txt b/bin/ansible/roles/common/files/versions/fisheye-crucible/3.jdk6-7.txt similarity index 55% rename from bin/ansible/roles/common/files/versions/fisheye-crucible/3.txt rename to bin/ansible/roles/common/files/versions/fisheye-crucible/3.jdk6-7.txt index 9eb7a5115..e55dd2cc1 100644 --- a/bin/ansible/roles/common/files/versions/fisheye-crucible/3.txt +++ b/bin/ansible/roles/common/files/versions/fisheye-crucible/3.jdk6-7.txt @@ -27,26 +27,4 @@ 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 +3.4.7 \ No newline at end of file diff --git a/bin/ansible/roles/common/files/versions/fisheye-crucible/3.jdk8.txt b/bin/ansible/roles/common/files/versions/fisheye-crucible/3.jdk8.txt new file mode 100644 index 000000000..9b9f103eb --- /dev/null +++ b/bin/ansible/roles/common/files/versions/fisheye-crucible/3.jdk8.txt @@ -0,0 +1,22 @@ +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-crucible/4.txt b/bin/ansible/roles/common/files/versions/fisheye-crucible/4.jdk8.txt similarity index 96% rename from bin/ansible/roles/common/files/versions/fisheye-crucible/4.txt rename to bin/ansible/roles/common/files/versions/fisheye-crucible/4.jdk8.txt index 3d9656aa3..cfa3b4507 100644 --- a/bin/ansible/roles/common/files/versions/fisheye-crucible/4.txt +++ b/bin/ansible/roles/common/files/versions/fisheye-crucible/4.jdk8.txt @@ -48,4 +48,5 @@ 4.8.14 4.8.15 4.8.16 -4.9.0 \ No newline at end of file +4.9.0 +4.9.1 \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/.env index b3e452724..b678a2863 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.0.B3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.B3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Dockerfile index 5182252b5..16df68c8b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.0.B3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.B3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..3af75295f 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.B3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.B3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/.env index f5b8f82d5..29f2131d4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.0.RC1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Dockerfile index 5182252b5..d09c469ec 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.0.RC1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..d4396418d 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/.env index 127c3ce81..e42eb0a9a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.0.RC2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Dockerfile index 5182252b5..88d017963 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.0.RC2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e8cfee489 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC2-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/.env index 8f0acb4ef..0721f8c15 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.0.RC3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Dockerfile index 5182252b5..f6c183ba6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.0.RC3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0.RC3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..3dc822ab7 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/.env index 52eca6c5d..085be0fb9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Dockerfile index 5182252b5..acf904eac 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..4e690cc2d 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.0-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/.env index 43d4f4c16..16ceace2b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Dockerfile index 5182252b5..e7a4b9ead 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e9f00d44f 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/.env index 76a232dbc..ca4fcb956 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Dockerfile index 5182252b5..98605eafa 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..03bf1d54a 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.2-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/.env index 4d965adc3..fc13a74d2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Dockerfile index 5182252b5..79343327c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..05d2f28c5 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/.env index 94bf5ef15..f4e857e3d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Dockerfile index 5182252b5..7b9179e16 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6408ce979 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.4-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/.env index 76f47386e..2c2476b51 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Dockerfile index 5182252b5..cf3e0ea73 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..106dcf2c4 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.5-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/.env index ad6500ab0..f90deb706 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/.env @@ -1,3 +1,3 @@ - RELEASE=2.0.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Dockerfile index 5182252b5..999674ddb 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.0.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.0.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..4fa980fe8 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.0.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.0.6-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/.env index 8a53688ff..5cfe80688 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/.env @@ -1,3 +1,3 @@ - RELEASE=2.1.0.M2cc -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.M2cc.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Dockerfile index 5182252b5..c044859c2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.1.0.M2cc +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.M2cc/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..95edb0e82 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.1.0.M2cc" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.1.0.M2cc-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/.env index 84b9e6629..219ec1c9f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/.env @@ -1,3 +1,3 @@ - RELEASE=2.1.0.RC1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.RC1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Dockerfile index 5182252b5..0bb247173 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.1.0.RC1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0.RC1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c308622a0 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.1.0.RC1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.1.0.RC1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/.env index da9f328ea..9dba3bd49 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.1.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Dockerfile index 5182252b5..fcbdfb403 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..67df97712 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.1.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.1.0-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/.env index b58495636..899e3c4ba 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.1.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Dockerfile index 5182252b5..21a37e7c5 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c54476b92 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.1.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.1.1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/.env index a2240bd5c..f898e9a4b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.1.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Dockerfile index 5182252b5..794db7383 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..0cced86f0 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.1.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.1.2-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/.env index 5d256fc5b..68a4bae50 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.1.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Dockerfile index 5182252b5..c36120761 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..8b7bbcbe8 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.1.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.1.3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/.env index 11e3f491c..118041622 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.1.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Dockerfile index 5182252b5..b1227f518 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.1.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.1.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..7db5cd3e7 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.1.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.1.4-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/.env index 390976cc5..123bd27c8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Dockerfile index 5182252b5..a0b9407d6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Dockerfile.jdk7 new file mode 100644 index 000000000..ce93f914b --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..617f10392 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/.env index 57f64a28c..54186e6ba 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Dockerfile index 5182252b5..119b42b12 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Dockerfile.jdk7 new file mode 100644 index 000000000..49ff8a581 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6b10f20eb 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/.env index 532796441..b43269381 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Dockerfile index 5182252b5..d2e53cb60 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Dockerfile.jdk7 new file mode 100644 index 000000000..b937b3138 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..a397e7cbf 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/.env index 9c77750e7..fceb8cf96 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Dockerfile index 5182252b5..3e046bc19 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Dockerfile.jdk7 new file mode 100644 index 000000000..c49343867 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..fa237c8d6 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.3-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/.env index 1674063d6..7e282a35e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Dockerfile index 5182252b5..a8efdedfe 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Dockerfile.jdk7 new file mode 100644 index 000000000..6e503ee52 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..ead0b77e0 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.4-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/.env index beda9717e..bd4b9e8dc 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Dockerfile index 5182252b5..dc3552752 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Dockerfile.jdk7 new file mode 100644 index 000000000..14a802636 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..f6362c57c 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.5-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.5-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/.env index 2313fc602..ef2559b12 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Dockerfile index 5182252b5..0ddec0f7c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Dockerfile.jdk7 new file mode 100644 index 000000000..582763a55 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..fb9f80d5c 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.6-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.6-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/.env index ec759bcee..729190a73 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Dockerfile index 5182252b5..ace777acf 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Dockerfile.jdk7 new file mode 100644 index 000000000..2cf309242 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c83bbeabc 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.7" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.7-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.7-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/.env index e15b6d392..f235d1e0f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/.env @@ -1,3 +1,3 @@ - RELEASE=2.10.8 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.10.8.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Dockerfile index 5182252b5..5ac85fbb8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.10.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Dockerfile.jdk7 new file mode 100644 index 000000000..ce06a22f0 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.10.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.10.8/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e7ab5cf99 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.10.8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.10.8-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.10.8-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/.env index 55110048f..dadaaca46 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.2.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Dockerfile index 5182252b5..a6a8180c9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..99208c083 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.2.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.2.0-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/.env index 1cdb59923..52aa845cb 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.2.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Dockerfile index 5182252b5..2eb3e0bbe 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..01ede799d 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.2.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.2.1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/.env index 5706f96dc..6d2803ccc 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.2.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.2.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Dockerfile index 5182252b5..9de63083b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.2.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..a54c4e2b2 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.2.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.2.3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/.env index 83ade4f92..ecb066d0d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Dockerfile index 5182252b5..174758fb8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..d92d38861 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.0-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/.env index 39664602a..7b1e220c0 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Dockerfile index 5182252b5..af3a8c7af 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..4eb4960c0 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/.env index e63628c7f..a0e5508ae 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Dockerfile index 5182252b5..12591b0a3 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9c33e70be 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.2-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/.env index 76199a669..c3bf1be94 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Dockerfile index 5182252b5..dd8957a7b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..a9d7ef422 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/.env index 014d19107..ab68de63b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Dockerfile index 5182252b5..4da9b0eda 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..b9704d30f 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.4-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/.env index eb650ebd3..7595fe512 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Dockerfile index 5182252b5..c6a092cc5 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1743bf5c6 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.5-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/.env index a983392bb..0e3c30884 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Dockerfile index 5182252b5..3f1ca8c26 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1907e7650 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.6-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/.env index bf39d8cdf..d5b92d64a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Dockerfile index 5182252b5..b71ac3d5d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..7b4a0e63f 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.7" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.7-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/.env index 3e14eab93..470099d83 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/.env @@ -1,3 +1,3 @@ - RELEASE=2.3.8 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.3.8.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Dockerfile index 5182252b5..02a7b120f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.3.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.3.8/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..5747a18ef 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.3.8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.3.8-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/.env index a4548f80a..06aa08085 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.4.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.4.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Dockerfile index 5182252b5..01e95abf2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..bfa09582e 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.4.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.4.0-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/.env index a0dc8192e..1a0e18e2a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.4.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.4.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Dockerfile index 5182252b5..a96e849db 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..0d3641b05 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.4.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.4.1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/.env index e49445818..00812809c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.4.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.4.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Dockerfile index 5182252b5..cf95f3ed2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..feae310c2 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.4.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.4.2-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/.env index a5bd4ffe7..45e5b3a8e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.4.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.4.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Dockerfile index 5182252b5..6df119ee2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..bf1c53945 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.4.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.4.3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/.env index 4298309ba..ad7bf347a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.4.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.4.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Dockerfile index 5182252b5..283f45c89 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..ff492e164 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.4.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.4.4-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/.env index 3557d0440..ca6d1ffba 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/.env @@ -1,3 +1,3 @@ - RELEASE=2.4.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.4.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Dockerfile index 5182252b5..183dd9e97 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..97fbbc37c 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.4.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.4.5-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/.env index a72fcb1d1..7dacb868b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/.env @@ -1,3 +1,3 @@ - RELEASE=2.4.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.4.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Dockerfile index 5182252b5..5e55aaa1c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.4.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.4.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c0a9ed300 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.4.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.4.6-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/.env index 1ee4a3b79..5d8c785e8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Dockerfile index 5182252b5..629a5e217 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..180ee1ef1 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.0-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/.env index 075bce268..4dcbfe964 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Dockerfile index 5182252b5..7946baf63 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..24fc03fe8 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/.env index 2c36fc568..0312900ee 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Dockerfile index 5182252b5..716809490 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..ea67db24b 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.2-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/.env index 58730891c..4bd913f80 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Dockerfile index 5182252b5..0e03b95a0 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..a4a82f9c0 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/.env index 53c77473d..c1946454a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Dockerfile index 5182252b5..dd6975995 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..2046f6474 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.4-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/.env index c727ad8ea..59dc9b9b7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Dockerfile index 5182252b5..b4b1c4e86 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..4f33c0f90 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.5-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/.env index 15ade1f14..fcfed4235 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Dockerfile index 5182252b5..677eee1a8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..b8bc1e16f 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.6-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/.env index e894f3fe2..594ff7cbe 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Dockerfile index 5182252b5..f380db379 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1e80ecb7c 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.7" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.7-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/.env index d088cc0b7..0de61a60d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.8 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.8.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Dockerfile index 5182252b5..b0b3009a6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.8/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1c8a91bb7 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.8-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/.env index 1175a188b..9f21180c6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/.env @@ -1,3 +1,3 @@ - RELEASE=2.5.9 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.5.9.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Dockerfile index 5182252b5..661ae4b7b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.5.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.5.9/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..79a8433a4 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.5.9" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.5.9-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/.env index 3864b6548..7815e3d23 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Dockerfile index 5182252b5..a73d48315 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6989863d0 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.0-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/.env index 86671ae1b..d7fd158d2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Dockerfile index 5182252b5..5c9f53a55 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..0c2d231ae 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.1-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/.env index 91d622b11..c7a133ca4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Dockerfile index 5182252b5..6c1b5c703 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..cb1c75fda 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.2-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/.env index 2352b88cb..8b84f1ee2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Dockerfile index 5182252b5..f83395f86 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9806d6d32 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.3-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/.env index fe333de81..649cc3a9b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Dockerfile index 5182252b5..86aa32122 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c91551bd1 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.4-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/.env index 4ea40b688..6aa425899 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Dockerfile index 5182252b5..08a08ae36 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..83c360955 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.5-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/.env index 92afb3313..1487de72d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Dockerfile index 5182252b5..a4a3e6644 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6045364b5 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.6-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/.env index 0fbd56caa..3346aabf3 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Dockerfile index 5182252b5..bf20886a1 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..7d12c12bc 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.7" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.7-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/.env index 3a6d2e4ef..47abc2a1f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.8 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.8.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Dockerfile index 5182252b5..6ead52c46 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.8/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c4b50fe3e 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.8-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/.env index 70ffb90b0..b7dcd1a84 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/.env @@ -1,3 +1,3 @@ - RELEASE=2.6.9 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.6.9.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Dockerfile index 5182252b5..0fbac4ef1 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.6.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.6.9/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1d6ed58a6 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,8 +1,10 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.6.9" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.6.9-jdk6" + build: + context: . + diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/.env index cd9e13cbd..a0c21fdf2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.0-EAP-1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.0-EAP-1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Dockerfile index 5182252b5..eb81246db 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.0-EAP-1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Dockerfile.jdk7 new file mode 100644 index 000000000..44365158d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.0-EAP-1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..7b143ca1b 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-EAP-1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-EAP-1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-EAP-1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/.env index a41cfffba..076e0463b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.0-EAP-2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.0-EAP-2.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Dockerfile index 5182252b5..046956cc0 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.0-EAP-2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Dockerfile.jdk7 new file mode 100644 index 000000000..16ffebd62 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.0-EAP-2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0-EAP-2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..d0841d292 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-EAP-2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-EAP-2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-EAP-2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/.env index d471d3a50..c81204f61 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Dockerfile index 5182252b5..2e49b60c9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Dockerfile.jdk7 new file mode 100644 index 000000000..1c48c1168 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9bb8a0889 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/.env index e3c1a0e15..0cd3df301 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Dockerfile index 5182252b5..49bb0b218 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Dockerfile.jdk7 new file mode 100644 index 000000000..51b71d1b3 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..95625cbf6 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/.env index 3af564275..7bac2f05d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.10 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.10.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Dockerfile index 5182252b5..e12830ff2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Dockerfile.jdk7 new file mode 100644 index 000000000..8b57c352c --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.10/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..343f4ccd7 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.10" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.10-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.10-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/.env index 9299bc0cf..dcb940231 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.11 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.11.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Dockerfile index 5182252b5..86d6989f6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Dockerfile.jdk7 new file mode 100644 index 000000000..545df38ea --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.11/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..08016bca4 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.11" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.11-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.11-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/.env index d0dc63400..b153895f2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.12 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.12.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Dockerfile index 5182252b5..cf814ab19 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Dockerfile.jdk7 new file mode 100644 index 000000000..f205f03df --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.12/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..858ebffdd 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.12" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.12-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.12-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/.env index e39e5e5e4..04f6ecdb9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.13 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.13.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Dockerfile index 5182252b5..3afcda1d4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Dockerfile.jdk7 new file mode 100644 index 000000000..24d94aedc --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.13/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..b773191b9 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.13" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.13-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.13-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/.env index 7e5b79810..968c95ce6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.14 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.14.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Dockerfile index 5182252b5..7356b0862 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Dockerfile.jdk7 new file mode 100644 index 000000000..4a30ca56d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.14/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e1c462e4b 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.14" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.14-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.14-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/.env index c97544c9e..2dbb9a4f8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.15 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.15.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Dockerfile index 5182252b5..ad2efccea 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Dockerfile.jdk7 new file mode 100644 index 000000000..f779aecda --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.15/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..f1a20998f 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.15" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.15-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.15-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/.env index 6b210a2c8..ca3d85bdc 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Dockerfile index 5182252b5..5bb6d1377 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Dockerfile.jdk7 new file mode 100644 index 000000000..16119b82c --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..50207b23b 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/.env index 068228e13..e743f19ef 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Dockerfile index 5182252b5..d03ee236c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Dockerfile.jdk7 new file mode 100644 index 000000000..baa455dda --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..ec4f6bae1 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.3-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/.env index 20db3d5f7..70094c88c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Dockerfile index 5182252b5..7c46275d2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Dockerfile.jdk7 new file mode 100644 index 000000000..70421c7fa --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e47dc944f 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.4-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/.env index d8690f40f..acc9f8ddb 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Dockerfile index 5182252b5..d25e05c20 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Dockerfile.jdk7 new file mode 100644 index 000000000..b9e916788 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..43c560ae3 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.5-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.5-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/.env index 6f8f85b36..fc334cc8c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Dockerfile index 5182252b5..40cc148ee 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Dockerfile.jdk7 new file mode 100644 index 000000000..dac55475d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e32e73fa5 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.6-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.6-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/.env index 6c0b304a3..d7238fba5 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Dockerfile index 5182252b5..fe4637fda 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Dockerfile.jdk7 new file mode 100644 index 000000000..94a4543e5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..947144185 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.7" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.7-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.7-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/.env index 8fdb84817..94132b51f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.8 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.8.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Dockerfile index 5182252b5..6c8f316e5 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Dockerfile.jdk7 new file mode 100644 index 000000000..9b986d66b --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.8/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..39474f9cc 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.8-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.8-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/.env index 7888cf497..9e082309a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/.env @@ -1,3 +1,3 @@ - RELEASE=2.7.9 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.7.9.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Dockerfile index 5182252b5..2901b933e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.7.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Dockerfile.jdk7 new file mode 100644 index 000000000..675c5adab --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.7.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.7.9/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..f6fbc66ed 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.7.9" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.7.9-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.7.9-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/.env index c40c75472..76ea0aa4c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/.env @@ -1,3 +1,3 @@ - RELEASE=2.8.0-m1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.8.0-m1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Dockerfile index 5182252b5..90b63b493 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.8.0-m1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Dockerfile.jdk7 new file mode 100644 index 000000000..5aada980d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.8.0-m1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0-m1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..51c590c7b 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.8.0-m1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.8.0-m1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.8.0-m1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/.env index 2932de805..c61617995 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.8.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.8.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Dockerfile index 5182252b5..61dbae947 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Dockerfile.jdk7 new file mode 100644 index 000000000..38d877935 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..8f94d9156 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.8.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.8.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.8.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/.env index 7a4ffa6b8..6ab4956d9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.8.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.8.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Dockerfile index 5182252b5..d964c2ccd 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.8.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Dockerfile.jdk7 new file mode 100644 index 000000000..335007022 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.8.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e1b84f64c 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.8.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.8.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.8.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/.env index a15a063c4..cfb41b1df 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.8.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.8.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Dockerfile index 5182252b5..cb1faa628 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.8.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Dockerfile.jdk7 new file mode 100644 index 000000000..91fe4398b --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.8.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.8.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9c55d5705 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.8.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.8.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.8.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/.env index b1a55c31a..6b75bf31e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/.env @@ -1,3 +1,3 @@ - RELEASE=2.9.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.9.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Dockerfile index 5182252b5..4a552111f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Dockerfile.jdk7 new file mode 100644 index 000000000..5a450dc34 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..857a7f90a 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.9.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.9.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.9.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/.env index af27c534a..b80b13096 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/.env @@ -1,3 +1,3 @@ - RELEASE=2.9.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.9.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Dockerfile index 5182252b5..aeaabffb8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Dockerfile.jdk7 new file mode 100644 index 000000000..d3b49def9 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..0d635dd71 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.9.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.9.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.9.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/.env index f2b745c9d..25ac1705a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/.env @@ -1,3 +1,3 @@ - RELEASE=2.9.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.9.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Dockerfile index 5182252b5..567acce2d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk7 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=2.9.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Dockerfile.jdk7 new file mode 100644 index 000000000..6c23e7e10 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=2.9.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/2/2.9.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..2b84f07c8 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:2.9.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:2.9.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:2.9.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/.env index 0e54202ca..e37c1ceda 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.0.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.0.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Dockerfile index e01fbe3dd..f363dd8e1 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.0.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Dockerfile.jdk7 new file mode 100644 index 000000000..e4f3688d1 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.0.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..2e349a82a 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.0.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.0.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.0.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/.env index 7ea35acda..37f844f50 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.0.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.0.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Dockerfile index e01fbe3dd..f5be1659b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Dockerfile.jdk7 new file mode 100644 index 000000000..a5c2ae3fa --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.0.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..fc5397688 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.0.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.0.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.0.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/.env index 5a9435537..f77c8ddcf 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.0.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.0.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Dockerfile index e01fbe3dd..d701b4c24 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Dockerfile.jdk7 new file mode 100644 index 000000000..2e89aa04c --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..82704f7fa 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.0.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.0.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.0.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/.env index ffb8637b7..ed4232e0d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.0.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.0.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Dockerfile index e01fbe3dd..5a4c5618c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Dockerfile.jdk7 new file mode 100644 index 000000000..06b7a63d8 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..69c9fd786 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.0.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.0.3-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.0.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/.env index 7148f15f3..e71bc44f9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.0.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.0.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Dockerfile index e01fbe3dd..9dc28f6e0 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Dockerfile.jdk7 new file mode 100644 index 000000000..4a634b57b --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.0.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..3a0b95875 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.0.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.0.4-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.0.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/.env index 7464d5e69..a95203fbb 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Dockerfile index e01fbe3dd..b5d19a182 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Dockerfile.jdk7 new file mode 100644 index 000000000..66f41a72f --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6dbd9b38d 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/.env index 111df2c12..5ed970823 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Dockerfile index e01fbe3dd..72f2a14c4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Dockerfile.jdk7 new file mode 100644 index 000000000..1c60e7ea3 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c732fe03f 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/.env index bfaf35ed8..0e4905b30 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Dockerfile index e01fbe3dd..3f80ab85a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Dockerfile.jdk7 new file mode 100644 index 000000000..20b7ce0bc --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1ec5c9412 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/.env index af211e4ac..83a4a068d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Dockerfile index e01fbe3dd..bbcf6a449 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Dockerfile.jdk7 new file mode 100644 index 000000000..a06eab418 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..97b65a486 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.3-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/.env index 1a7df2bb3..3be8cd765 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Dockerfile index e01fbe3dd..055e48967 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Dockerfile.jdk7 new file mode 100644 index 000000000..57fb59cdd --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1fdbd512f 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.4-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/.env index bc45e4d9a..9b71d2d70 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Dockerfile index e01fbe3dd..5998a1893 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Dockerfile.jdk7 new file mode 100644 index 000000000..3efb4dc3e --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..74fae1471 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.5-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.5-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/.env index 37dd08966..80febe931 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Dockerfile index e01fbe3dd..252d44544 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Dockerfile.jdk7 new file mode 100644 index 000000000..49aa15872 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..95279e9de 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.6-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.6-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/.env index 72b5062fe..de3ff57d9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/.env @@ -1,3 +1,3 @@ - RELEASE=3.1.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.1.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Dockerfile index e01fbe3dd..b32c27b8a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.1.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Dockerfile.jdk7 new file mode 100644 index 000000000..f787fd836 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.1.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.1.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..18899cb94 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.1.7" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.1.7-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.1.7-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/.env index f0804c230..715d13239 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.10.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.10.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Dockerfile index e01fbe3dd..9e63b3279 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.10.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..44d522628 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.10.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.10.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/.env index ab8e2638b..82d649b27 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.10.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.10.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Dockerfile index e01fbe3dd..acae61688 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.10.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..5e4d1fbf4 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.10.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.10.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/.env index ce1837b5b..3e259ed24 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.10.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.10.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Dockerfile index e01fbe3dd..17b91faa4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.10.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..29b7dc412 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.10.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.10.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/.env index 4da70fe3b..e8b3d993e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.10.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.10.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Dockerfile index e01fbe3dd..531a55357 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.10.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.10.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..13ded2eaf 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.10.4" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.10.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/.env index 9fc230804..2de3fcf2e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.2.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Dockerfile index e01fbe3dd..4a880c56e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Dockerfile.jdk7 new file mode 100644 index 000000000..49796d5f1 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..57c648764 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.2.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.2.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.2.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/.env index 0907424e3..fe84fb39c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.2.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Dockerfile index e01fbe3dd..2ebc7b99d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Dockerfile.jdk7 new file mode 100644 index 000000000..5d5679f89 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..269782af2 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.2.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.2.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.2.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/.env index fc31c5e1e..eb3edc729 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.2.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.2.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Dockerfile index e01fbe3dd..38330a232 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Dockerfile.jdk7 new file mode 100644 index 000000000..f4aceeb10 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..028f67592 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.2.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.2.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.2.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/.env index 8fbf74253..95dd30059 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.2.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.2.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Dockerfile index e01fbe3dd..bea35e939 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Dockerfile.jdk7 new file mode 100644 index 000000000..6641dd4cc --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e4222234d 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.2.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.2.3-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.2.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/.env index a39b1c14c..9587573d7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.2.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.2.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Dockerfile index e01fbe3dd..5e5a58358 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.2.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Dockerfile.jdk7 new file mode 100644 index 000000000..9feefdc14 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.2.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..a870be2e3 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.2.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.2.4-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.2.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/.env index 35ef1a788..c830e2dcf 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/.env @@ -1,3 +1,3 @@ - RELEASE=3.2.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.2.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Dockerfile index e01fbe3dd..e4324903c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.2.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Dockerfile.jdk7 new file mode 100644 index 000000000..e11c0c572 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.2.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.2.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..f6e672402 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.2.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.2.5-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.2.5-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/.env index 351453d62..101620e19 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.3.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.3.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Dockerfile index e01fbe3dd..aac769e2c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.3.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Dockerfile.jdk7 new file mode 100644 index 000000000..89c6120e3 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.3.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..8aade38e8 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.3.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.3.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.3.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/.env index deffdb2f8..e5e6486d1 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.3.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Dockerfile index e01fbe3dd..51c006581 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Dockerfile.jdk7 new file mode 100644 index 000000000..0aa13d327 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..8d35f926c 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.3.1" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.3.1-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.3.1-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/.env index 26fe5340f..7a27c67db 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.3.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Dockerfile index e01fbe3dd..6e2dddb0f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Dockerfile.jdk7 new file mode 100644 index 000000000..3df1fcd69 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..f093e72e0 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.3.2" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.3.2-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.3.2-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/.env index 46009a92c..3f2cb3d59 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.3.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.3.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Dockerfile index e01fbe3dd..f36ba3043 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Dockerfile.jdk7 new file mode 100644 index 000000000..f22c4405f --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..028e4d380 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.3.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.3.3-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.3.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/.env index 94a1c1d47..9a54cf15e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.3.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.3.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Dockerfile index e01fbe3dd..9e8e2a52d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Dockerfile.jdk7 new file mode 100644 index 000000000..35577760c --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.3.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.3.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..d135fba93 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.3.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.3.4-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.3.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/.env index c60c561dd..9d9977b3c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.4.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.4.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Dockerfile index e01fbe3dd..f79d811a2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Dockerfile.jdk7 new file mode 100644 index 000000000..8a4a4d93e --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..b9a9f7f52 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.4.0" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.4.0-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.4.0-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/.env index 9565a266b..b3401d2f1 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.4.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.4.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Dockerfile index e01fbe3dd..f564ed293 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Dockerfile.jdk7 new file mode 100644 index 000000000..37a170ac6 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c1d60689e 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.4.3" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.4.3-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.4.3-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/.env index e44650c82..dde6b8ef7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.4.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.4.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Dockerfile index e01fbe3dd..5c27db9c8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Dockerfile.jdk7 new file mode 100644 index 000000000..c0eb7697d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.4.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..3485dceba 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.4.4" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.4.4-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.4.4-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/.env index f48da9e6e..d2f610b9e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/.env @@ -1,3 +1,3 @@ - RELEASE=3.4.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.4.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Dockerfile index e01fbe3dd..8fd1bcdd1 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Dockerfile.jdk7 new file mode 100644 index 000000000..5e575cffe --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..bfc02a256 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.4.5" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.4.5-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.4.5-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/.env index d5a442720..8118b8da7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/.env @@ -1,3 +1,3 @@ - RELEASE=3.4.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.4.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Dockerfile index e01fbe3dd..f928251b7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.4.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Dockerfile.jdk7 new file mode 100644 index 000000000..76c1583a1 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.4.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..f09966e22 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.4.6" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.4.6-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.4.6-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/.env index f4b84beac..da4470aa8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/.env @@ -1,3 +1,3 @@ - RELEASE=3.4.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.4.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Dockerfile index e01fbe3dd..740a56cf4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk6 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.4.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Dockerfile.jdk7 b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Dockerfile.jdk7 new file mode 100644 index 000000000..ab19960dd --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Dockerfile.jdk7 @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk7 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=3.4.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.4.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1ed3df12d 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,8 +1,15 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.4.7" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + dockerfile: Dockerfile.jdk7 + app-jdk6: + image: "quay.io/epicmorg/fisheye-crucible:3.4.7-jdk6" + build: + context: . + app-jdk7: + image: "quay.io/epicmorg/fisheye-crucible:3.4.7-jdk7" + build: + context: . + dockerfile: Dockerfile.jdk7 diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/.env index d0b4b7613..b4b2a289d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.5.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.5.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Dockerfile index e01fbe3dd..d9ca029f8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9df56823e 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.5.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.5.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/.env index f402ad46d..945f22757 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.5.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.5.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Dockerfile index e01fbe3dd..8edf3605d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9dd0ba495 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.5.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.5.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/.env index f3fa76061..8c02c97e7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.5.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.5.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Dockerfile index e01fbe3dd..348501fe6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..5c1d58f70 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.5.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.5.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/.env index ab8be3503..16f39f5b8 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.5.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.5.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Dockerfile index e01fbe3dd..9ca4d0f6d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c730b9416 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.5.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.5.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/.env index f0659f2a8..30a25a34c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.5.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.5.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Dockerfile index e01fbe3dd..909156317 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.5.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6236b800b 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.5.4" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.5.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/.env index 6620d8890..22d455b45 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/.env @@ -1,3 +1,3 @@ - RELEASE=3.5.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.5.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Dockerfile index e01fbe3dd..ceaa8a132 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.5.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.5.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..8eb3cc3eb 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.5.5" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.5.5-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/.env index c16ec55f9..e7914bb88 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.6.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.6.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Dockerfile index e01fbe3dd..af3afd29e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..3591ffdb0 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.6.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.6.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/.env index ce7a5816b..3e839207f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.6.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.6.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Dockerfile index e01fbe3dd..88ca0d899 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..a59b56dd5 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.6.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.6.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/.env index 1b87324db..c3adc9d5e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.6.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.6.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Dockerfile index e01fbe3dd..251fa9505 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.6.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..739be69bc 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.6.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.6.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/.env index 237b876ea..614dda81e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/.env @@ -1,3 +1,3 @@ - RELEASE=3.6.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.6.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Dockerfile index e01fbe3dd..4fd9f7676 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.6.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..040d543d8 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.6.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.6.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/.env index 7d627b28f..87978ac38 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/.env @@ -1,3 +1,3 @@ - RELEASE=3.6.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.6.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Dockerfile index e01fbe3dd..7b951f536 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.6.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.6.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..2c4765b9d 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.6.4" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.6.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/.env index 8b1834064..3fff5ba4f 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.7.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.7.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Dockerfile index e01fbe3dd..bda6d1e80 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.7.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..af9f61290 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.7.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.7.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/.env index 7af1999e4..da9c45ccf 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.7.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.7.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Dockerfile index e01fbe3dd..eb745bf2a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.7.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..42efbca1c 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.7.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.7.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/.env index b9ff2a8f4..f89f33cc6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.8.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.8.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Dockerfile index e01fbe3dd..b6732a220 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..ecc428061 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.8.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.8.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/.env index 1317ea9f3..d44d62718 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.8.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.8.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Dockerfile index e01fbe3dd..d7fb99e42 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.8.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.8.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..43458e97b 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.8.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.8.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/.env index b67b72ee4..e5edf3efe 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/.env @@ -1,3 +1,3 @@ - RELEASE=3.9.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.9.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Dockerfile index e01fbe3dd..1ec182854 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c6d395924 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.9.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.9.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/.env index c97bfd2b5..a2822a2d6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/.env @@ -1,3 +1,3 @@ - RELEASE=3.9.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.9.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Dockerfile index e01fbe3dd..e3e18af81 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..ec3499c94 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.9.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.9.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/.env index abb8b54b4..7ee2473db 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/.env @@ -1,3 +1,3 @@ - RELEASE=3.9.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-3.9.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Dockerfile index e01fbe3dd..83c46a432 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=3.9.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/3/3.9.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..067a1f357 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:3.9.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:3.9.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/.env index c8444aaed..7b9b3942a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.0.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.0.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Dockerfile index e01fbe3dd..3a5a99dd3 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.0.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..a5efc4ed1 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.0.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.0.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/.env index 8ff330983..348bd459d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.0.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.0.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Dockerfile index e01fbe3dd..34d9b52cc 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.0.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..bf036dd64 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.0.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.0.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/.env index 8726434dc..b2ce5cd43 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/.env @@ -1,3 +1,3 @@ - RELEASE=4.0.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.0.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Dockerfile index e01fbe3dd..5d2d7ec78 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.0.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.0.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..667289a39 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.0.4" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.0.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/.env index d7ceda074..a971a4abc 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.1.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.1.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Dockerfile index e01fbe3dd..c4dab66fe 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.1.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9c1b04fe8 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.1.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.1.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/.env index dd9118d58..eb3391860 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.1.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.1.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Dockerfile index e01fbe3dd..7bb23a63c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.1.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..4919683cd 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.1.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.1.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/.env index 23d06111e..966b7c05c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.1.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.1.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Dockerfile index e01fbe3dd..5dfc715c4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.1.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..4be7d642b 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.1.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.1.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/.env index 382f74c0a..eae1ba7d5 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.1.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.1.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Dockerfile index e01fbe3dd..625cae434 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.1.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.1.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..41222fca3 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.1.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.1.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/.env index 78116647a..d95eae6f3 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.2.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.2.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Dockerfile index e01fbe3dd..3115b9b93 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.2.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..ac8d31c20 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.2.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.2.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/.env index 769cc6f64..c0e5e58b9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.2.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.2.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Dockerfile index e01fbe3dd..0da21570b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.2.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..03a80c8ac 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.2.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.2.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/.env index 360c3089a..005d35575 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.2.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.2.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Dockerfile index e01fbe3dd..5a2bc79a6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.2.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..caadad78b 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.2.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.2.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/.env index 84db9d4c1..8ca392d43 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.2.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.2.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Dockerfile index e01fbe3dd..71fdd9999 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.2.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.2.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..acdfeb04e 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.2.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.2.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/.env index b2a6ec7a3..bd2720434 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.3.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.3.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Dockerfile index e01fbe3dd..7cb0fd48b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.3.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6809699dc 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.3.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.3.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/.env index 3f20ff446..8c62fc721 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.3.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.3.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Dockerfile index e01fbe3dd..c9ab1f29a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.3.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..1560b7c0e 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.3.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.3.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/.env index 18d001fae..3025f76b7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.3.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.3.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Dockerfile index e01fbe3dd..a0bdef50e 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.3.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e594a874f 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.3.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.3.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/.env index 9cb64d3e0..6bd1e319c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.3.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.3.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Dockerfile index e01fbe3dd..c3b5ff532 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.3.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.3.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..b1c407111 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.3.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.3.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/.env index 65585361e..381ce451b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.4.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.4.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Dockerfile index e01fbe3dd..cb3aeb5e4 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.4.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..393b50d0b 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.4.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.4.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/.env index 47a462c99..53d60bcf2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.4.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.4.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Dockerfile index e01fbe3dd..03e026730 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.4.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..76a198abb 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.4.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.4.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/.env index 3697f5cd2..c834a47a9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.4.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.4.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Dockerfile index e01fbe3dd..7b66cdffe 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.4.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..5b107f67c 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.4.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.4.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/.env index a94115d5d..67cd6534b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.4.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.4.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Dockerfile index e01fbe3dd..6136a2057 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.4.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..5fbf62c14 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.4.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.4.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/.env index 22bd3119d..7d928dd65 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/.env @@ -1,3 +1,3 @@ - RELEASE=4.4.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.4.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Dockerfile index e01fbe3dd..ce329800d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.4.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e16e670e6 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.4.5" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.4.5-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/.env index 929e52514..175e52581 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/.env @@ -1,3 +1,3 @@ - RELEASE=4.4.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.4.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Dockerfile index e01fbe3dd..da97bc13d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.4.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c3977c06d 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.4.6" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.4.6-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/.env index b86d4eccc..2f047f2b6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/.env @@ -1,3 +1,3 @@ - RELEASE=4.4.7 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.4.7.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Dockerfile index e01fbe3dd..e818fdbc7 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.4.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.4.7/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..d4dccfbe3 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.4.7" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.4.7-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/.env index 99b0f6ac4..bc0c7a2e2 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.5.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.5.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Dockerfile index e01fbe3dd..b40fb1b2b 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.5.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..3d3fe4ae2 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.5.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.5.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/.env index ac456f740..537f67eb1 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.5.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.5.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Dockerfile index e01fbe3dd..f157b4776 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.5.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..920e1d9ff 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.5.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.5.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/.env index add195b68..6d22faa49 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.5.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.5.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Dockerfile index e01fbe3dd..f570f26ac 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.5.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..69b260192 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.5.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.5.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/.env index d300002c8..e9b5a9500 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.5.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.5.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Dockerfile index e01fbe3dd..bb3ebe3d3 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.5.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..9a16748b9 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.5.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.5.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/.env index 26463d78e..6fdc54593 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/.env @@ -1,3 +1,3 @@ - RELEASE=4.5.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.5.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Dockerfile index e01fbe3dd..55846ddcd 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.5.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.5.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..95d5e5490 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.5.4" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.5.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/.env index 1838c04b6..0710cb065 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.6.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.6.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Dockerfile index e01fbe3dd..00f8f0acd 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.6.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..6969013a4 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.6.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.6.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/.env index 2a94287ed..1b80e8a27 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.6.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.6.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Dockerfile index e01fbe3dd..8d121b7e5 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.6.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.6.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..dd1234112 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.6.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.6.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/.env index 0e1fcf2a6..ba14b673d 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.7.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.7.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Dockerfile index e01fbe3dd..4a95bcf58 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.7.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..2faac6151 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.7.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.7.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/.env index cb7af87cb..cb63766f6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.7.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.7.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Dockerfile index e01fbe3dd..9dc539dce 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.7.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..11c72c0b7 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.7.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.7.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/.env index c760b7de3..455eff276 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.7.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.7.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Dockerfile index e01fbe3dd..80fa3521a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.7.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..80de1f9e0 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.7.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.7.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/.env index 4073ee327..0381f2701 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.7.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.7.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Dockerfile index e01fbe3dd..2f330266a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.7.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.7.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..5c4e8c783 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.7.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.7.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/.env index fe4acccd8..fd4bc1724 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/.env @@ -1,3 +1,3 @@ - RELEASE=4.8.0 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.0.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Dockerfile index e01fbe3dd..657cce21c 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.8.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.0/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..7bf8362ba 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.8.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.0-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/.env index 3c55bf46e..66eca074a 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/.env @@ -1,3 +1,3 @@ - RELEASE=4.8.1 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.1.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Dockerfile index e01fbe3dd..fb93c35d3 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.8.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.1/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e42d72a19 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.8.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.1-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/.env new file mode 100644 index 000000000..294c34fe3 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.10 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/Dockerfile new file mode 100644 index 000000000..b3d7fc7c5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.10 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/Makefile similarity index 100% rename from linux/ecosystem/atlassian/fisheye-crucible/templates/3/Makefile rename to linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/Makefile diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/docker-compose.yml new file mode 100644 index 000000000..87ddb0db0 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.10" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.10-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/entrypoint.sh similarity index 100% rename from linux/ecosystem/atlassian/fisheye-crucible/templates/3/entrypoint.sh rename to linux/ecosystem/atlassian/fisheye-crucible/4/4.8.10/entrypoint.sh diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/.env new file mode 100644 index 000000000..e9f74eeab --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.11 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/Dockerfile new file mode 100644 index 000000000..ca84b76df --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.11 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/Makefile similarity index 100% rename from linux/ecosystem/atlassian/fisheye-crucible/templates/4/Makefile rename to linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/Makefile diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/docker-compose.yml new file mode 100644 index 000000000..b1af58fb6 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.11" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.11-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/entrypoint.sh similarity index 100% rename from linux/ecosystem/atlassian/fisheye-crucible/templates/4/entrypoint.sh rename to linux/ecosystem/atlassian/fisheye-crucible/4/4.8.11/entrypoint.sh diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/.env new file mode 100644 index 000000000..f60a7bf3b --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.12 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/Dockerfile new file mode 100644 index 000000000..1b3fcbaff --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.12 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/docker-compose.yml new file mode 100644 index 000000000..e64265303 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.12" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.12-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.12/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/.env new file mode 100644 index 000000000..47cef8f9d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.13 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/Dockerfile new file mode 100644 index 000000000..6f49c988b --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.13 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/docker-compose.yml new file mode 100644 index 000000000..e6d991968 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.13" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.13-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.13/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/.env new file mode 100644 index 000000000..543b17f91 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.14 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/Dockerfile new file mode 100644 index 000000000..aad2c76a8 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.14 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/docker-compose.yml new file mode 100644 index 000000000..46ed461e4 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.14" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.14-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.14/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/.env new file mode 100644 index 000000000..83ba83b4e --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.15 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/Dockerfile new file mode 100644 index 000000000..9fca6fc49 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.15 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/docker-compose.yml new file mode 100644 index 000000000..cfef7e972 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.15" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.15-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.15/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/.env new file mode 100644 index 000000000..473f73747 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.16 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/Dockerfile new file mode 100644 index 000000000..653716c4d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.16 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/docker-compose.yml new file mode 100644 index 000000000..bd37fe372 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.16" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.16-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.16/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/.env index 1f020413d..f8f7bddcc 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/.env @@ -1,3 +1,3 @@ - RELEASE=4.8.2 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.2.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Dockerfile index e01fbe3dd..35db88752 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.8.2 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.2/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..f66e4fcba 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.8.2" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.2-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/.env index d1e9bb0fd..717bcffe0 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/.env @@ -1,3 +1,3 @@ - RELEASE=4.8.3 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.3.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Dockerfile index e01fbe3dd..b6a5737c6 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.8.3 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.3/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..e5d465257 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.8.3" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.3-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/.env index b089fcc01..2b26edbf3 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/.env @@ -1,3 +1,3 @@ - RELEASE=4.8.4 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.4.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Dockerfile index e01fbe3dd..2e3d32d57 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.8.4 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.4/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..c52843f54 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.8.4" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.4-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/.env index c5b045f1b..90f301471 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/.env @@ -1,3 +1,3 @@ - RELEASE=4.8.5 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.5.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Dockerfile index e01fbe3dd..3bf0e5b73 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.8.5 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.5/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..3ded5525e 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.8.5" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.5-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/.env index cc3d229c4..0a82f4514 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/.env @@ -1,3 +1,3 @@ - RELEASE=4.8.6 -DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.6.zip +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Dockerfile index e01fbe3dd..755f91ba9 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Dockerfile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Dockerfile @@ -1,12 +1,13 @@ -FROM quay.io/epicmorg/debian:bullseye-jdk8 -LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ARG RELEASE -ARG DOWNLOAD_URL +ARG RELEASE=4.8.6 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip ################################################################## # Setup @@ -27,21 +28,36 @@ EXPOSE 8060 ################################################################## # Installing ################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb +ADD ${DOWNLOAD_URL} /tmp -COPY entrypoint.sh /entrypoint.sh +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Makefile index 483fa77b8..1e4371492 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Makefile +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.6/Makefile @@ -1,7 +1,44 @@ -PIP_BREAK_SYSTEM_PACKAGES=1 - all: app app: - docker-compose build --compress + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file 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 18af9c6d7..559235a4e 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,8 +1,9 @@ services: app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" + image: "quay.io/epicmorg/fisheye-crucible:4.8.6" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.6-jdk8" build: context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/.env new file mode 100644 index 000000000..3997561d0 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.7 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/Dockerfile new file mode 100644 index 000000000..a94b8a540 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.7 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/docker-compose.yml new file mode 100644 index 000000000..9936fc06b --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.7" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.7-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.7/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/.env new file mode 100644 index 000000000..51493a726 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.8 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/Dockerfile new file mode 100644 index 000000000..80cdcb7dc --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.8 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/docker-compose.yml new file mode 100644 index 000000000..82dfe2299 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.8" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.8-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.8/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/.env new file mode 100644 index 000000000..84ea938f9 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/.env @@ -0,0 +1,3 @@ +RELEASE=4.8.9 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/Dockerfile new file mode 100644 index 000000000..fe676f1ce --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.8.9 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/docker-compose.yml new file mode 100644 index 000000000..7de07ec8f --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.8.9" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.8.9-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.8.9/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/.env new file mode 100644 index 000000000..467350f76 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/.env @@ -0,0 +1,3 @@ +RELEASE=4.9.0 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/Dockerfile new file mode 100644 index 000000000..ebea51b67 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.9.0 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/docker-compose.yml new file mode 100644 index 000000000..347c0257a --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.9.0" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.9.0-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.0/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/.env b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/.env new file mode 100644 index 000000000..22229d724 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/.env @@ -0,0 +1,3 @@ +RELEASE=4.9.1 +DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/Dockerfile new file mode 100644 index 000000000..cbd03e51a --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/Dockerfile @@ -0,0 +1,63 @@ +FROM quay.io/epicmorg/debian:bookworm-jdk8 +LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ARG RELEASE=4.9.1 +ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html +ENV FISHEYE_HOME /opt/atlassian/fecru +ENV FISHEYE_INST /var/atlassian/application-data/fecru + +VOLUME ["${FISHEYE_INST}"] +WORKDIR $FISHEYE_INST + +# Expose HTTP port +EXPOSE 8060 + +################################################################## +# Installing +################################################################## +ADD ${DOWNLOAD_URL} /tmp + +RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \ + 7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \ + mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /root/tmp/* && \ + rm -rfv /tmp/* + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh && \ + chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoremove -y && \ + 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", "run"] +ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/Makefile b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/Makefile new file mode 100644 index 000000000..1e4371492 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/docker-compose.yml new file mode 100644 index 000000000..f2637bb5d --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/docker-compose.yml @@ -0,0 +1,9 @@ +services: + app: + image: "quay.io/epicmorg/fisheye-crucible:4.9.1" + build: + context: . + app-jdk8: + image: "quay.io/epicmorg/fisheye-crucible:4.9.1-jdk8" + build: + context: . diff --git a/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/entrypoint.sh b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/entrypoint.sh new file mode 100755 index 000000000..5559ebcb5 --- /dev/null +++ b/linux/ecosystem/atlassian/fisheye-crucible/4/4.9.1/entrypoint.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -euo pipefail + +# Set up FISHEYE_OPTS +: ${JVM_MINIMUM_MEMORY:=} +: ${JVM_MAXIMUM_MEMORY:=} +: ${JVM_SUPPORT_RECOMMENDED_ARGS:=} + +: ${FISHEYE_OPTS:=} + +if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}" +fi +if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then + FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}" +fi + +export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}" + +# 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" "${FISHEYE_INST}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${FISHEYE_INST}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@" +else + exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/fisheye-crucible/latest/.env b/linux/ecosystem/atlassian/fisheye-crucible/latest/.env index ad0818826..22229d724 100644 --- a/linux/ecosystem/atlassian/fisheye-crucible/latest/.env +++ b/linux/ecosystem/atlassian/fisheye-crucible/latest/.env @@ -1,2 +1,3 @@ -RELEASE=4.8.6 +RELEASE=4.9.1 DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip +TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/templates/2/Dockerfile deleted file mode 100644 index 5182252b5..000000000 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM quay.io/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/fisheye/fisheye-folder-layout-298976940.html -ENV FISHEYE_HOME /opt/atlassian/fecru -ENV FISHEYE_INST /var/atlassian/application-data/fecru - -VOLUME ["${FISHEYE_INST}"] -WORKDIR $FISHEYE_INST - -# Expose HTTP port -EXPOSE 8060 - -################################################################## -# Installing -################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb - -COPY entrypoint.sh /entrypoint.sh - -CMD ["/entrypoint.sh", "run"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/templates/2/docker-compose.yml deleted file mode 100644 index 18af9c6d7..000000000 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/2/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -services: - app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" - build: - context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/templates/3/Dockerfile deleted file mode 100644 index e01fbe3dd..000000000 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM quay.io/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/fisheye/fisheye-folder-layout-298976940.html -ENV FISHEYE_HOME /opt/atlassian/fecru -ENV FISHEYE_INST /var/atlassian/application-data/fecru - -VOLUME ["${FISHEYE_INST}"] -WORKDIR $FISHEYE_INST - -# Expose HTTP port -EXPOSE 8060 - -################################################################## -# Installing -################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb - -COPY entrypoint.sh /entrypoint.sh - -CMD ["/entrypoint.sh", "run"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/templates/3/docker-compose.yml deleted file mode 100644 index 18af9c6d7..000000000 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/3/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -services: - app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" - build: - context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/Dockerfile b/linux/ecosystem/atlassian/fisheye-crucible/templates/4/Dockerfile deleted file mode 100644 index e01fbe3dd..000000000 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM quay.io/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/fisheye/fisheye-folder-layout-298976940.html -ENV FISHEYE_HOME /opt/atlassian/fecru -ENV FISHEYE_INST /var/atlassian/application-data/fecru - -VOLUME ["${FISHEYE_INST}"] -WORKDIR $FISHEYE_INST - -# Expose HTTP port -EXPOSE 8060 - -################################################################## -# Installing -################################################################## -RUN mkdir -p ${FISHEYE_HOME} \ - && wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \ - && unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \ - && mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \ - && chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \ - && chmod +x /usr/bin/p4 \ - && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \ - && apt-get clean -y \ - && apt-get autoclean -y \ - && rm -rfv /tmp/fisheye-${RELEASE}.zip \ - && rm -rfv /tmp/fecru-${RELEASE} \ - && rm -rfv /var/lib/apt/lists/* \ - && rm -rfv /var/cache/apt/archives/*.deb - -COPY entrypoint.sh /entrypoint.sh - -CMD ["/entrypoint.sh", "run"] -ENTRYPOINT ["/usr/bin/tini", "--"] diff --git a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/docker-compose.yml b/linux/ecosystem/atlassian/fisheye-crucible/templates/4/docker-compose.yml deleted file mode 100644 index 18af9c6d7..000000000 --- a/linux/ecosystem/atlassian/fisheye-crucible/templates/4/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -services: - app: - image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}" - build: - context: . - args: - RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file