mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-04-29 16:39:26 +03:00
fisheye
This commit is contained in:
parent
964833a23a
commit
9d090f226d
107
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml
vendored
Normal file
107
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml
vendored
Normal file
@ -0,0 +1,107 @@
|
||||
name: EpicMorg Atlassian Fisheye 01 Images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
build-images:
|
||||
name: Atlassian Fisheye ${{ matrix.version }} Image
|
||||
runs-on: [ ubuntu-24.04 ]
|
||||
strategy:
|
||||
matrix:
|
||||
version: [
|
||||
'1.0.1a',
|
||||
'1.1.3',
|
||||
'1.2.5',
|
||||
'1.3.3',
|
||||
'1.3.4',
|
||||
'1.3.5',
|
||||
'1.3.6',
|
||||
'1.3.7',
|
||||
'1.3.8',
|
||||
'1.4',
|
||||
'1.4.1',
|
||||
'1.4.2',
|
||||
'1.4.3',
|
||||
'1.5',
|
||||
'1.5.1',
|
||||
'1.5.2',
|
||||
'1.5.3',
|
||||
'1.5.4',
|
||||
'1.6.0',
|
||||
'1.6.0.beta1',
|
||||
'1.6.0.beta2',
|
||||
'1.6.1',
|
||||
'1.6.3',
|
||||
'1.6.4',
|
||||
'1.6.5',
|
||||
'1.6.5.a',
|
||||
'1.6.5a',
|
||||
'1.6.6',
|
||||
]
|
||||
|
||||
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 ${{ 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/1/${{ 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
|
@ -3,6 +3,7 @@
|
||||
## 2025
|
||||
|
||||
* `apr`
|
||||
* added `fisheye` images to `gha`.
|
||||
* added `crucible` images to `gha`.
|
||||
* added `GitHub Actions` to `Bitbucket` images.
|
||||
* added new `telegram` `bot` with `quotes`.
|
||||
|
3
Makefile
3
Makefile
@ -41,6 +41,9 @@ ansible.gen.crowd:
|
||||
ansible.gen.crucible:
|
||||
cd `pwd`/bin/ansible && ansible-playbook ./generate.crucible.yml
|
||||
|
||||
ansible.gen.fisheye:
|
||||
cd `pwd`/bin/ansible && ansible-playbook ./generate.fisheye.yml
|
||||
|
||||
ansible.gen.bitbucket:
|
||||
cd `pwd`/bin/ansible && ansible-playbook ./generate.bitbucket.yml
|
||||
|
||||
|
@ -50,7 +50,7 @@ A collection of docker images for production use. This repo contains 2 types of
|
||||
| # | Bitbucket | Confluence | Jira | Crowd |Crucible + Fisheye
|
||||
|:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|
|
||||
| `00` | `-` | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.00.yml) | `-` |
|
||||
| `01` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml) | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.01.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml) |
|
||||
| `01` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml) | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.01.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml) [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml) |
|
||||
| `02` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml) | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.02.yml) | `-` |
|
||||
| `03` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml) | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.03.yml) | `-` |
|
||||
| `04` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.04.yml) | `-` |
|
||||
|
21
bin/ansible/generate.fisheye.yml
Normal file
21
bin/ansible/generate.fisheye.yml
Normal file
@ -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
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
0
linux/ecosystem/atlassian/fisheye/1/1.0.1a/entrypoint.sh → bin/ansible/roles/atlassian.fisheye/files/entrypoint.sh
Executable file → Normal file
0
linux/ecosystem/atlassian/fisheye/1/1.0.1a/entrypoint.sh → bin/ansible/roles/atlassian.fisheye/files/entrypoint.sh
Executable file → Normal file
@ -0,0 +1,52 @@
|
||||
- name: Read versions from file
|
||||
slurp:
|
||||
src: "roles/common/files/versions/fisheye/1.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_1 }}/{{ 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_1 }}/{{ 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_1 }}/{{ 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_1 }}/{{ 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_1 }}/{{ 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_1 }}/{{ item }}/Makefile"
|
||||
force: true
|
||||
with_items: "{{ fisheye_versions }}"
|
2
bin/ansible/roles/atlassian.fisheye/tasks/main.yml
Normal file
2
bin/ansible/roles/atlassian.fisheye/tasks/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
- name: "Generate images for Fisheye 1 (jdk16)"
|
||||
import_tasks: atlassian.fisheye.1.jdk6.yml
|
@ -0,0 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:{{ item }}"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:{{ item }}-jdk6"
|
||||
build:
|
||||
context: .
|
@ -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/fisheye
|
||||
ENV FISHEYE_INST /var/atlassian/application-data/fisheye
|
||||
|
||||
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", "--"]
|
3
bin/ansible/roles/atlassian.fisheye/templates/env/template.env.j2
vendored
Normal file
3
bin/ansible/roles/atlassian.fisheye/templates/env/template.env.j2
vendored
Normal file
@ -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
|
2
bin/ansible/roles/atlassian.fisheye/vars/main.yml
Normal file
2
bin/ansible/roles/atlassian.fisheye/vars/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
# Defaults
|
||||
target_directory_fisheye_1: "/opt/tmp/fisheye/1"
|
@ -1,4 +1,4 @@
|
||||
1.0.1a
|
||||
1.0.1a-build-br78-94
|
||||
1.1.3
|
||||
1.2.5
|
||||
1.3.3
|
||||
@ -17,8 +17,8 @@
|
||||
1.5.3
|
||||
1.5.4
|
||||
1.6.0
|
||||
1.6.0Beta1
|
||||
1.6.0Beta2
|
||||
1.6.0.beta1
|
||||
1.6.0.beta2
|
||||
1.6.1
|
||||
1.6.3
|
||||
1.6.4
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# ARGuments
|
||||
##################################################################
|
||||
ARG RELEASE=1.6.0Beta1
|
||||
ARG RELEASE=1.6.0.beta1
|
||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/crucible/downloads/binary/crucible-${RELEASE}.zip
|
||||
ARG TEMP_ARCHIVE=/tmp/crucible-${RELEASE}.zip
|
||||
|
||||
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -1,9 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/crucible:1.6.0Beta1"
|
||||
image: "quay.io/epicmorg/crucible:1.6.0.beta1"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/crucible:1.6.0Beta1-jdk6"
|
||||
image: "quay.io/epicmorg/crucible:1.6.0.beta1-jdk6"
|
||||
build:
|
||||
context: .
|
||||
|
0
linux/ecosystem/atlassian/crucible/1/1.6.0.beta1/entrypoint.sh
Normal file → Executable file
0
linux/ecosystem/atlassian/crucible/1/1.6.0.beta1/entrypoint.sh
Normal file → Executable file
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -1,9 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/crucible:1.6.0Beta2"
|
||||
image: "quay.io/epicmorg/crucible:1.6.0.beta2"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/crucible:1.6.0Beta2-jdk6"
|
||||
image: "quay.io/epicmorg/crucible:1.6.0.beta2-jdk6"
|
||||
build:
|
||||
context: .
|
||||
|
0
linux/ecosystem/atlassian/crucible/1/1.6.0.beta2/entrypoint.sh
Normal file → Executable file
0
linux/ecosystem/atlassian/crucible/1/1.6.0.beta2/entrypoint.sh
Normal file → Executable file
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -42,7 +42,7 @@ RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||
@ -59,7 +59,5 @@ RUN echo "clean up" && \
|
||||
rm -rfv /root/tmp/* && \
|
||||
rm -rfv /tmp/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh", "run"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
@ -0,0 +1,3 @@
|
||||
RELEASE=1.0.1a-build-br78-94
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
@ -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=1.0.1a-build-br78-94
|
||||
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/fisheye
|
||||
ENV FISHEYE_INST /var/atlassian/application-data/fisheye
|
||||
|
||||
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", "--"]
|
@ -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
|
@ -0,0 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:1.0.1a-build-br78-94"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.0.1a-build-br78-94-jdk6"
|
||||
build:
|
||||
context: .
|
@ -1,3 +0,0 @@
|
||||
|
||||
RELEASE=1.0.1a
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.0.1a-build-br78-94.zip
|
@ -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/fisheye
|
||||
ENV FISHEYE_INST /var/atlassian/application-data/fisheye
|
||||
|
||||
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/fisheye-${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/fisheye-${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", "--"]
|
@ -1,7 +0,0 @@
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
docker-compose build --compress
|
||||
docker-compose push
|
@ -1,8 +0,0 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.1.3
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.1.3-build-1.1-119c.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.1.3"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.1.3-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.2.5
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.2.5-build-201.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.2.5"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.2.5-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.3.3
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.3.3.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.3.3"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.3.3-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.3.4
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.3.4.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.3.4"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.3.4-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.3.5
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.3.5.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.3.5"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.3.5-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.3.6
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.3.6.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.3.6"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.3.6-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.3.7
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.3.7.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.3.7"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.3.7-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.3.8
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.3.8.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.3.8"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.3.8-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.4.1
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.4.1.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.4.1"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.4.1-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.4.2
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.4.2.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
@ -1,8 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
image: "quay.io/epicmorg/fisheye:${RELEASE}"
|
||||
image: "quay.io/epicmorg/fisheye:1.4.2"
|
||||
build:
|
||||
context: .
|
||||
app-jdk6:
|
||||
image: "quay.io/epicmorg/fisheye:1.4.2-jdk6"
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
RELEASE: ${RELEASE}
|
||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
@ -1,3 +1,3 @@
|
||||
|
||||
RELEASE=1.4.3
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-1.4.3.zip
|
||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||
|
@ -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=1.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/fisheye-${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/fisheye-${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", "--"]
|
||||
|
@ -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
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user