diff --git a/linux/ecosystem/atlassian/jira/7/7.0.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.0.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.0.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.0.10/Makefile b/linux/ecosystem/atlassian/jira/7/7.0.10/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.10/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.0.10/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.10/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.0.11/Makefile b/linux/ecosystem/atlassian/jira/7/7.0.11/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.11/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.0.11/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.11/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.0.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.0.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.0.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.0.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.0.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.0.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.0.5/Makefile b/linux/ecosystem/atlassian/jira/7/7.0.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.5/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.0.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.0.5/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.10/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.10/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.10/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.10/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.10/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.6/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.6/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.6/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.7/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.7/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.7/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.7/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.7/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.8/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.8/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.8/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.8/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.8/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.1.9/Makefile b/linux/ecosystem/atlassian/jira/7/7.1.9/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.9/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.1.9/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.1.9/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.10.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.10.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.10.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.10.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.10.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.10.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.10.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.10.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.10.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.10.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.10.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.10.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.11.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.11.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.11.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.11.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.11.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.11.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.11.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.11.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.11.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.11.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.11.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.11.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.12.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.12.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.12.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.12.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.12.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.12.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.12.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.12.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.12.3/Makefile b/linux/ecosystem/atlassian/jira/7/7.12.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.3/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.12.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.12.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.11/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.11/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.11/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.11/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.11/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.12/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.12/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.12/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.12/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.12/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.13/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.13/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.13/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.13/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.13/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.14/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.14/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.14/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.14/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.14/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.15/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.15/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.15/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.15/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.15/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.16/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.16/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.16/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.16/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.16/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.17/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.17/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.17/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.17/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.17/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.18/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.18/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.18/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.18/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.18/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.3/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.3/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.5/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.5/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.5/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.6/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.6/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.6/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.8/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.8/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.8/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.8/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.8/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.13.9/Makefile b/linux/ecosystem/atlassian/jira/7/7.13.9/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.9/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.13.9/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.13.9/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.10/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.10/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.10/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.10/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.10/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.11/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.11/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.11/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.11/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.11/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.12/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.12/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.12/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.12/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.12/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.13/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.13/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.13/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.13/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.13/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.14/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.14/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.14/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.14/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.14/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.15/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.15/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.15/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.15/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.15/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.3/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.3/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.6/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.6/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.6/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.7/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.7/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.7/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.7/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.7/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.8/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.8/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.8/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.8/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.8/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.2.9/Makefile b/linux/ecosystem/atlassian/jira/7/7.2.9/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.9/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.2.9/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.2.9/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.3/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.3/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.5/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.5/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.5/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.6/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.6/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.6/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.7/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.7/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.7/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.7/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.7/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.8/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.8/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.8/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.8/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.8/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.3.9/Makefile b/linux/ecosystem/atlassian/jira/7/7.3.9/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.9/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.3.9/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.3.9/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.4.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.4.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.4.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.4.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.4.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.4.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.4.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.4.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.4.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.4.3/Makefile b/linux/ecosystem/atlassian/jira/7/7.4.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.3/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.4.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.4.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.4.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.4.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.4.5/Makefile b/linux/ecosystem/atlassian/jira/7/7.4.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.5/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.4.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.5/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.4.6/Makefile b/linux/ecosystem/atlassian/jira/7/7.4.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.6/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.4.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.4.6/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.5.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.5.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.5.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.5.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.5.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.5.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.5.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.5.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.5.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.5.3/Makefile b/linux/ecosystem/atlassian/jira/7/7.5.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.3/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.5.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.5.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.5.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.5.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.5.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.10/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.10/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.10/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.10/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.10/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.11/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.11/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.11/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.11/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.11/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.12/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.12/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.12/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.12/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.12/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.13/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.13/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.13/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.13/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.13/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.14/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.14/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.14/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.14/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.14/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.15/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.15/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.15/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.15/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.15/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.16/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.16/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.16/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.16/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.16/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.17/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.17/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.17/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.17/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.17/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.3/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.3/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.6/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.6/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.6/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.7/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.7/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.7/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.7/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.7/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.8/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.8/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.8/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.8/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.8/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.6.9/Makefile b/linux/ecosystem/atlassian/jira/7/7.6.9/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.9/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.6.9/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.6.9/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.7.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.7.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.7.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.7.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.7.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.7.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.7.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.7.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.7.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.7.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.7.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.7.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.7.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.8.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.8.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.8.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.8.1/Makefile b/linux/ecosystem/atlassian/jira/7/7.8.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.1/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.8.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.8.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.8.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.8.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.8.4/Makefile b/linux/ecosystem/atlassian/jira/7/7.8.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.4/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.8.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.8.4/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.9.0/Makefile b/linux/ecosystem/atlassian/jira/7/7.9.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.0/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.9.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.9.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/7/7.9.2/Makefile b/linux/ecosystem/atlassian/jira/7/7.9.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.2/Makefile +++ b/linux/ecosystem/atlassian/jira/7/7.9.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/7/7.9.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.0.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.0.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.0.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.0.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.0.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.0.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.0.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml index 4269f77ac..ed71c1649 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.0.2/docker-compose.yml @@ -6,4 +6,5 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} + diff --git a/linux/ecosystem/atlassian/jira/8/8.0.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.0.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.0.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.0.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.1.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.1.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.1.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.0/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.1.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.1.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.1.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.1/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.1.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.1.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.1.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.2/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.1.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.1.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.1.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.1.3/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.10.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.10.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.10.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.10.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.10.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.10.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.10.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.10.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.11.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.11.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.11.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.11.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.11.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.11.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.11.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.11.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.12.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.12.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.12.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.12.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.12.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.12.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.12.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.12.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.12.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.2/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.12.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.12.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.12.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.12.3/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/.env b/linux/ecosystem/atlassian/jira/8/8.13.10/.env new file mode 100644 index 000000000..0ba9d6f91 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/.env @@ -0,0 +1,3 @@ + +RELEASE=8.13.10 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.10.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.10/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.10/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.10/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.13.10/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.10/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/.env b/linux/ecosystem/atlassian/jira/8/8.13.11/.env new file mode 100644 index 000000000..680af6451 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/.env @@ -0,0 +1,3 @@ + +RELEASE=8.13.11 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.11.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.11/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.11/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.11/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.13.11/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.11/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/.env b/linux/ecosystem/atlassian/jira/8/8.13.12/.env new file mode 100644 index 000000000..ed44a3ef5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/.env @@ -0,0 +1,3 @@ + +RELEASE=8.13.12 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.12.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.12/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.12/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.12/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.13.12/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.12/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/.env b/linux/ecosystem/atlassian/jira/8/8.13.13/.env new file mode 100644 index 000000000..f814057f1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/.env @@ -0,0 +1,3 @@ + +RELEASE=8.13.13 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.13.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.13/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.13/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.13/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.13.13/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.13/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.13.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.2/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.3/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.4/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.4/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.4/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.5/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.5/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.5/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.6/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.6/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.6/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.7/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.7/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.7/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.7/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.7/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.8/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.8/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.8/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.13.8/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.13.8/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/.env b/linux/ecosystem/atlassian/jira/8/8.13.9/.env new file mode 100644 index 000000000..0ae21d2dd --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/.env @@ -0,0 +1,3 @@ + +RELEASE=8.13.9 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.9.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/Makefile b/linux/ecosystem/atlassian/jira/8/8.13.9/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.13.9/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.13.9/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.13.9/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.13.9/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.14.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.14.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.14.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.14.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.14.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.14.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.14.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.14.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.15.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.15.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.15.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.15.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.15.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.15.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.15.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.15.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.16.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.16.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.16.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.16.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.16.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.16.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.16.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.16.2/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.17.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.17.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.17.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.17.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.17.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.17.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.17.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.17.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/.env b/linux/ecosystem/atlassian/jira/8/8.18.1/.env new file mode 100644 index 000000000..a1b28953a --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/.env @@ -0,0 +1,3 @@ + +RELEASE=8.18.1 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.18.1.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.18.1/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.18.1/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.18.1/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.18.1/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.1/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/.env b/linux/ecosystem/atlassian/jira/8/8.18.2/.env new file mode 100644 index 000000000..ef6ecd6c9 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/.env @@ -0,0 +1,3 @@ + +RELEASE=8.18.2 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.18.2.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.18.2/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.18.2/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.18.2/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.18.2/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.18.2/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/.env b/linux/ecosystem/atlassian/jira/8/8.19.0/.env new file mode 100644 index 000000000..8ae6a2bf6 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/.env @@ -0,0 +1,3 @@ + +RELEASE=8.19.0 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.19.0.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.19.0/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.19.0/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.19.0/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.19.0/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.0/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/.env b/linux/ecosystem/atlassian/jira/8/8.19.1/.env new file mode 100644 index 000000000..eb7270698 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/.env @@ -0,0 +1,3 @@ + +RELEASE=8.19.1 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.19.1.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.19.1/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.19.1/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.19.1/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.19.1/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.19.1/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.2.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.2.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.2.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.2.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.2.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.2.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.2.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.2.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.2.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.2/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.2.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.2.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.2.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.3/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.2.4/Makefile b/linux/ecosystem/atlassian/jira/8/8.2.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.4/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.2.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.4/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.2.5/Makefile b/linux/ecosystem/atlassian/jira/8/8.2.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.5/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.2.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.5/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.2.6/Makefile b/linux/ecosystem/atlassian/jira/8/8.2.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.6/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.2.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.2.6/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/.env b/linux/ecosystem/atlassian/jira/8/8.20.0/.env new file mode 100644 index 000000000..4c0adf9a4 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/.env @@ -0,0 +1,3 @@ + +RELEASE=8.20.0 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.20.0.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.20.0/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.20.0/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.20.0/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.20.0/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.20.0/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.3.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.3.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.3.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.3.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.3.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.3.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.3.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.3.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.3.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.2/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.3.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.3.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.3.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.3/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.3.4/Makefile b/linux/ecosystem/atlassian/jira/8/8.3.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.4/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.3.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.4/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.3.5/Makefile b/linux/ecosystem/atlassian/jira/8/8.3.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.5/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.3.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.3.5/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.4.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.4.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.4.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.4.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.4.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.4.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.4.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.4.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.4.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.2/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.4.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.4.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.4.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.4.3/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.10/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.10/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.10/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.10/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.10/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.11/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.11/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.11/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.11/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.11/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.12/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.12/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.12/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.12/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.12/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.13/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.13/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.13/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.13/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.13/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.14/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.14/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.14/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.14/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.14/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.15/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.15/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.15/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.15/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.15/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.16/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.16/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.16/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.16/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.16/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/.env b/linux/ecosystem/atlassian/jira/8/8.5.17/.env new file mode 100644 index 000000000..cab1b50b9 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/.env @@ -0,0 +1,3 @@ + +RELEASE=8.5.17 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.5.17.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.17/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.17/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.17/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.5.17/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.17/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/.env b/linux/ecosystem/atlassian/jira/8/8.5.18/.env new file mode 100644 index 000000000..f30cdc0b4 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/.env @@ -0,0 +1,3 @@ + +RELEASE=8.5.18 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.5.18.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.18/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.18/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.18/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.5.18/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.18/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/.env b/linux/ecosystem/atlassian/jira/8/8.5.19/.env new file mode 100644 index 000000000..c5add83d3 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/.env @@ -0,0 +1,3 @@ + +RELEASE=8.5.19 +DOWNLOAD_URL=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.5.19.tar.gz diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile new file mode 100644 index 000000000..eeec7c1d8 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk8 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile.jdk11 b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile.jdk11 new file mode 100644 index 000000000..a98a20e49 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/Dockerfile.jdk11 @@ -0,0 +1,49 @@ +FROM epicmorg/prod:jdk11 +LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG RELEASE +ARG DOWNLOAD_URL + + +################################################################## +# Setup +################################################################## +ENV RUN_USER daemon +ENV RUN_GROUP daemon + +# https://confluence.atlassian.com/display/JSERVERM/Important+directories+and+files +ENV JIRA_HOME /var/atlassian/application-data/jira +ENV JIRA_INSTALL_DIR /opt/atlassian/jira + +VOLUME ["${JIRA_HOME}"] +WORKDIR $JIRA_HOME + +# Expose HTTP port +EXPOSE 8080 + +################################################################## +# Installing +################################################################## +RUN mkdir -p ${JIRA_INSTALL_DIR} \ + && curl -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "$JIRA_INSTALL_DIR" \ + && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ \ + && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh \ + && sed -i -e 's/grep "java version"/grep -E "(openjdk|java) version"/g' ${JIRA_INSTALL_DIR}/bin/check-java.sh \ + && sed -i -e 's/port="8080"/port="8080" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"/' ${JIRA_INSTALL_DIR}/conf/server.xml && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ + apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] +COPY entrypoint.sh /entrypoint.sh +COPY . /tmp diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.19/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.19/docker-compose.yml new file mode 100644 index 000000000..81592d775 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.9' +services: + app: + image: "epicmorg/jira:${RELEASE}" + build: + context: . + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} + app-jdk11: + image: "epicmorg/jira:${RELEASE}-jdk11" + build: + context: . + dockerfile: Dockerfile.jdk11 + args: + RELEASE: ${RELEASE} + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.19/entrypoint.sh b/linux/ecosystem/atlassian/jira/8/8.5.19/entrypoint.sh new file mode 100644 index 000000000..50ee4ecd1 --- /dev/null +++ b/linux/ecosystem/atlassian/jira/8/8.5.19/entrypoint.sh @@ -0,0 +1,89 @@ +#!/bin/bash +set -euo pipefail + +export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +export JRE_HOME="$JAVA_HOME/jre" +export JAVA_BINARY="$JRE_HOME/bin/java" +export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}') + +# Setup Catalina Opts +: ${CATALINA_CONNECTOR_PROXYNAME:=} +: ${CATALINA_CONNECTOR_PROXYPORT:=} +: ${CATALINA_CONNECTOR_SCHEME:=http} +: ${CATALINA_CONNECTOR_SECURE:=false} + +: ${CATALINA_OPTS:=} + +: ${JAVA_OPTS:=} + +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}" +CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}" + +export JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}" + +# Setup Data Center configuration +if [ ! -f "/etc/container_id" ]; then + uuidgen > /etc/container_id +fi +CONTAINER_ID=$(cat /etc/container_id) +CONTAINER_SHORT_ID=${CONTAINER_ID::8} + +: ${CLUSTERED:=false} +: ${JIRA_NODE_ID:=jira_node_${CONTAINER_SHORT_ID}} +: ${JIRA_SHARED_HOME:=${JIRA_HOME}/shared} +: ${EHCACHE_PEER_DISCOVERY:=} +: ${EHCACHE_LISTENER_HOSTNAME:=} +: ${EHCACHE_LISTENER_PORT:=} +: ${EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS:=} +: ${EHCACHE_MULTICAST_ADDRESS:=} +: ${EHCACHE_MULTICAST_PORT:=} +: ${EHCACHE_MULTICAST_TIMETOLIVE:=} +: ${EHCACHE_MULTICAST_HOSTNAME:=} + +# Cleanly set/unset values in cluster.properties +function set_cluster_property { + if [ -z $2 ]; then + if [ -f "${JIRA_HOME}/cluster.properties" ]; then + sed -i -e "/^${1}/d" "${JIRA_HOME}/cluster.properties" + fi + return + fi + if [ ! -f "${JIRA_HOME}/cluster.properties" ]; then + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + elif grep "^${1}" "${JIRA_HOME}/cluster.properties"; then + sed -i -e "s#^${1}=.*#${1}=${2}#g" "${JIRA_HOME}/cluster.properties" + else + echo "${1}=${2}" >> "${JIRA_HOME}/cluster.properties" + fi +} + +if [ "${CLUSTERED}" == "true" ]; then + set_cluster_property "jira.node.id" "${JIRA_NODE_ID}" + set_cluster_property "jira.shared.home" "${JIRA_SHARED_HOME}" + set_cluster_property "ehcache.peer.discovery" "${EHCACHE_PEER_DISCOVERY}" + set_cluster_property "ehcache.listener.hostName" "${EHCACHE_LISTENER_HOSTNAME}" + set_cluster_property "ehcache.listener.port" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.listener.socketTimeoutMillis" "${EHCACHE_LISTENER_PORT}" + set_cluster_property "ehcache.multicast.address" "${EHCACHE_MULTICAST_ADDRESS}" + set_cluster_property "ehcache.multicast.port" "${EHCACHE_MULTICAST_PORT}" + set_cluster_property "ehcache.multicast.timeToLive" "${EHCACHE_MULTICAST_TIMETOLIVE}" + set_cluster_property "ehcache.multicast.hostName" "${EHCACHE_MULTICAST_HOSTNAME}" +fi + + +# Start Jira as the correct user +if [ "${UID}" -eq 0 ]; then + echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}" + PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${JIRA_HOME}") + EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700 + if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then + chmod -R 700 "${JIRA_HOME}" && + chown -R "${RUN_USER}:${RUN_GROUP}" "${JIRA_HOME}" + fi + # Now drop privileges + exec su -s /bin/bash "${RUN_USER}" -c "$JIRA_INSTALL_DIR/bin/start-jira.sh $@" +else + exec "$JIRA_INSTALL_DIR/bin/start-jira.sh" "$@" +fi diff --git a/linux/ecosystem/atlassian/jira/8/8.5.2/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.2/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.2/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.2/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.2/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.3/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.3/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.3/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.3/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.3/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.4/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.4/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.4/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.4/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.4/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.5/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.5/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.5/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.5/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.5/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.6/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.6/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.6/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.6/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.6/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.7/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.7/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.7/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.7/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.7/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.8/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.8/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.8/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.8/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.8/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.5.9/Makefile b/linux/ecosystem/atlassian/jira/8/8.5.9/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.9/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.5.9/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.5.9/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.6.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.6.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.6.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.6.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.6.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.6.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.6.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.6.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.7.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.7.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.7.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.7.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.7.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.7.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.7.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.7.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.8.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.8.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.8.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.8.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.8.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.8.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.8.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.8.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.9.0/Makefile b/linux/ecosystem/atlassian/jira/8/8.9.0/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.0/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.9.0/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.9.0/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/8/8.9.1/Makefile b/linux/ecosystem/atlassian/jira/8/8.9.1/Makefile index 82c5a2de6..bad6d73b5 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.1/Makefile +++ b/linux/ecosystem/atlassian/jira/8/8.9.1/Makefile @@ -1,5 +1,19 @@ all: app app: - docker-compose build --compress + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml b/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/8/8.9.1/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/templates/5/docker-compose.yml b/linux/ecosystem/atlassian/jira/templates/5/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/templates/5/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/templates/5/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/templates/6/docker-compose.yml b/linux/ecosystem/atlassian/jira/templates/6/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/templates/6/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/templates/6/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/templates/7/docker-compose.yml b/linux/ecosystem/atlassian/jira/templates/7/docker-compose.yml index 4269f77ac..61ae14071 100644 --- a/linux/ecosystem/atlassian/jira/templates/7/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/templates/7/docker-compose.yml @@ -6,4 +6,4 @@ services: context: . args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/templates/8/docker-compose.yml b/linux/ecosystem/atlassian/jira/templates/8/docker-compose.yml index 0f7a373af..81592d775 100644 --- a/linux/ecosystem/atlassian/jira/templates/8/docker-compose.yml +++ b/linux/ecosystem/atlassian/jira/templates/8/docker-compose.yml @@ -14,4 +14,4 @@ services: dockerfile: Dockerfile.jdk11 args: RELEASE: ${RELEASE} - DOWNLOAD_URL: ${DOWNLOAD_URL} \ No newline at end of file + DOWNLOAD_URL: ${DOWNLOAD_URL} diff --git a/linux/ecosystem/atlassian/jira/templates/SMT-2493_Update_Table_JavaCommunityPost_600x2085@2x.png b/linux/ecosystem/atlassian/jira/templates/SMT-2493_Update_Table_JavaCommunityPost_600x2085@2x.png new file mode 100644 index 000000000..8e9d61422 Binary files /dev/null and b/linux/ecosystem/atlassian/jira/templates/SMT-2493_Update_Table_JavaCommunityPost_600x2085@2x.png differ