big rework

bump versions

updated `LazyGIT` to `0.40.2`

converterd some envs to args

sources.list fix + nextcloud updates

python fix

java fixes

python fix

java fixes

bitbucket full images
This commit is contained in:
STAM 2024-02-09 13:47:59 +03:00
parent 9206be488a
commit 61938a770d
No known key found for this signature in database
GPG Key ID: 711526C6938897F1
1345 changed files with 36976 additions and 4001 deletions

View File

@ -63,6 +63,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 27 Stock Images:"
run: cd linux/advanced/nextcloud/pure/27 && pwd && make build && make deploy
- name: "Build and Deploy Advanced Nextcloud 28 Stock Images:"
run: cd linux/advanced/nextcloud/pure/28 && pwd && make build && make deploy
- name: "Build and Deploy Advanced Nextcloud Latest Stock Images:"
run: cd linux/advanced/nextcloud/pure/latest && pwd && make build && make deploy
@ -122,6 +125,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 27 Patched Images:"
run: cd linux/advanced/nextcloud/patched/27 && pwd && make build && make deploy
- name: "Build and Deploy Advanced Nextcloud 28 Patched Images:"
run: cd linux/advanced/nextcloud/patched/28 && pwd && make build && make deploy
- name: "Build and Deploy Advanced Nextcloud Latest Patched Images:"
run: cd linux/advanced/nextcloud/patched/latest && pwd && make build && make deploy

View File

@ -1,4 +1,4 @@
name: EpicMorg Debian Python Images
name: EpicMorg Advanced Debian Python Images
on:
# push:
@ -10,7 +10,7 @@ on:
jobs:
build-python-base-images:
name: Build EpicMorg Debian Python Base Images
name: Build EpicMorg Advanced Debian Python Base Images
runs-on: ubuntu-22.04
steps:
@ -45,10 +45,13 @@ jobs:
- name: "Build and Deploy Python 3.12 Main Image:"
run: cd linux/advanced/python/main/3.12 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.13 Main Image:"
run: cd linux/advanced/python/main/3.13 && pwd && make build && make deploy
##################################################################################
build-python-develop-images:
name: Build EpicMorg Debian Python Develop Images
name: Build EpicMorg Advanced Debian Python Develop Images
runs-on: ubuntu-22.04
needs: build-python-base-images
@ -84,6 +87,9 @@ jobs:
- name: "Build and Deploy Python 3.12 Develop Image:"
run: cd linux/advanced/python/develop/3.12 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.13 Develop Image:"
run: cd linux/advanced/python/develop/3.13 && pwd && make build && make deploy
##################################################################################
- name: Cleanup

View File

@ -44,12 +44,6 @@ jobs:
- name: "Build and Deploy Debian 12 jdk17 Image:"
run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk17 && pwd && make build && make deploy
- name: "Build and Deploy Debian 12 jdk18 Image:"
run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk18 && pwd && make build && make deploy
- name: "Build and Deploy Debian 12 jdk19 Image:"
run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk19 && pwd && make build && make deploy
- name: "Build and Deploy Debian 12 jdk20 Image:"
run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk20 && pwd && make build && make deploy

View File

@ -87,31 +87,16 @@ jobs:
- name: "Build and Deploy Debian 8 jdk11 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk12 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk12 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk13 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk13 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk14 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk14 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk15 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk15 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk16 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk16 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk17 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk18 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk18 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk20 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk20 && pwd && make build && make deploy
# - name: "Build and Deploy Debian 8 jdk19 Image:"
# run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk19 && pwd && make build && make deploy
- name: "Build and Deploy Debian 8 jdk21 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy
##################################################################################
build-09-images:
@ -146,30 +131,9 @@ jobs:
- name: "Build and Deploy Debian 9 jdk11 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk11 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk12 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk12 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk13 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk13 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk14 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk14 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk15 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk15 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk16 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk16 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk17 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk17 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk18 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk18 && pwd && make build && make deploy
- name: "Build and Deploy Debian 9 jdk19 Image:"
run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk19 && pwd && make build && make deploy
##################################################################################

View File

@ -57,6 +57,12 @@ jobs:
- name: "Build and Deploy Perfocre r22.1 Image:"
run: cd linux/ecosystem/perforce/base/r22.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r23.1 Image:"
run: cd linux/ecosystem/perforce/base/r23.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r23.2 Image:"
run: cd linux/ecosystem/perforce/base/r23.2 && pwd && make build && make deploy
##################################################################################
build-p4p-images:
@ -108,6 +114,12 @@ jobs:
- name: "Build and Deploy Perfocre Proxy r22.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r22.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r23.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r23.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r23.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r23.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup

View File

@ -75,6 +75,9 @@ jobs:
- name: Build and Deploy qBittorrent 4.6.2
run: cd linux/ecosystem/qbittorrent/4.6.2 && make build && make deploy
- name: Build and Deploy qBittorrent 4.6.3
run: cd linux/ecosystem/qbittorrent/4.6.3 && make build && make deploy
##################################################################################
build-opentracker-image:

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
Makefile.temp
# debug ansible file
output.log
output.*.log

View File

@ -1,5 +1,16 @@
# Changelog
## 2024
* `feb`
* updated images: fixes of sources.list, java install logic, updated `python 3.12` iamges
* added `bitbucket`, `nodejs21`,`nextcloud 28`, `python 3.13` images
* added `pnpm` to `nodejs 12-21` images
* fixed `java` images,
* added `maven`, `gradle`, `kotlin` to compatible `java 8+` images.
* updated `GOSU` to `1.17`
* updated `7z` to `7z2400`
* updated `LazyGIT` to `0.40.2`
* updated `p4` to `23.2` in base images
* updated `perforce` iamges - `p4` and `p4p` to `r23.1` and `r23.2`
* `jan`
* new versions of images
* CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server

320
Makefile
View File

@ -1,4 +1,4 @@
VERSION = "2023.06.08"
VERSION = "2024.02.06"
AUTHOR = "EpicMorg"
MODIFIED = "STAM"
DOCKER_SCAN_SUGGEST = false
@ -25,6 +25,18 @@ help:
@echo "make ecosystem-images - build ecosystem images."
@echo "make images - build all images."
ansible.gen.jira:
cd `pwd`/bin/ansible && ansible-playbook ./generate.jira.yml
ansible.gen.confluence:
cd `pwd`/bin/ansible && ansible-playbook ./generate.confluence.yml
ansible.gen.bitbucket:
cd `pwd`/bin/ansible && ansible-playbook ./generate.bitbucket.yml
ansible.gen.testrail:
cd `pwd`/bin/ansible && ansible-playbook ./generate.testrail.yml
git:
git add .
git commit -am "make - autocommit"
@ -68,6 +80,11 @@ advanced-images:
advanced-mattermost-images:
cd `pwd`/linux/advanced/mattermost && pwd && make build && make deploy
advanced-nextcloud-all-images:
make advanced-nextcloud-images
make advanced-nextcloud-patched-images
make advanced-nextcloud-latest-images
advanced-nextcloud-latest-images:
cd `pwd`/linux/advanced/nextcloud/pure/latest && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/patched/latest && pwd && make build && make deploy
@ -196,6 +213,7 @@ advanced-nextcloud-images:
cd `pwd`/linux/advanced/nextcloud/pure/25 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/pure/26 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/pure/27 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/pure/28 && pwd && make build && make deploy
advanced-nextcloud-patched-images:
cd `pwd`/linux/advanced/nextcloud/patched/14 && pwd && make build && make deploy
@ -212,6 +230,7 @@ advanced-nextcloud-patched-images:
cd `pwd`/linux/advanced/nextcloud/patched/25 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/patched/26 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/patched/27 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/patched/28 && pwd && make build && make deploy
ecosystem-images:
make bundle-base-images
@ -242,6 +261,7 @@ advanced-pyhton-images-main:
cd `pwd`/linux/advanced/python/main/3.10 && pwd && make build && make deploy
cd `pwd`/linux/advanced/python/main/3.11 && pwd && make build && make deploy
cd `pwd`/linux/advanced/python/main/3.12 && pwd && make build && make deploy
cd `pwd`/linux/advanced/python/main/3.13 && pwd && make build && make deploy
advanced-pyhton-images-develop:
cd `pwd`/linux/advanced/python/develop/2.7 && pwd && make build && make deploy
@ -252,6 +272,7 @@ advanced-pyhton-images-develop:
cd `pwd`/linux/advanced/python/develop/3.10 && pwd && make build && make deploy
cd `pwd`/linux/advanced/python/develop/3.11 && pwd && make build && make deploy
cd `pwd`/linux/advanced/python/develop/3.12 && pwd && make build && make deploy
cd `pwd`/linux/advanced/python/develop/3.13 && pwd && make build && make deploy
ecosystem-debian-images:
make ecosystem-debian-squeeze-images
@ -281,7 +302,8 @@ ecosystem-debian-jessie-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk20 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy
ecosystem-debian-stretch-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/slim && pwd && make build && make deploy
@ -292,7 +314,6 @@ ecosystem-debian-stretch-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk18 && pwd && make build && make deploy
ecosystem-debian-buster-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/slim && pwd && make build && make deploy
@ -319,6 +340,7 @@ ecosystem-debian-bullseye-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21 && pwd && make build && make deploy
ecosystem-debian-bookworm-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/slim && pwd && make build && make deploy
@ -329,9 +351,8 @@ ecosystem-debian-bookworm-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21 && pwd && make build && make deploy
ecosystem-php-images:
cd `pwd`/linux/ecosystem/php/php7.0 && pwd && make build && make deploy
@ -565,6 +586,7 @@ ecosystem-nodejs-images:
cd `pwd`/linux/ecosystem/nodejs/node18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node19 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node20 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node21 && pwd && make build && make deploy
ecosystem-ninjam-image:
cd `pwd`/linux/ecosystem/ninjam/latest && pwd && make build && make deploy
@ -573,7 +595,9 @@ ecosystem-vk2discord-images:
cd `pwd`/linux/ecosystem/vk2discord && pwd && make build && make deploy
ecosystem-qbittorrent-images:
cd `pwd`/linux/ecosystem/qbittorrent/4.4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.3 && pwd && make build && make deploy
ecosystem-retracker-images:
cd `pwd`/linux/ecosystem/retracker && pwd && make build && make deploy
@ -627,6 +651,7 @@ ecosystem-teamcity-agent-images:
cd `pwd`/linux/ecosystem/teamcity/agent/node18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/node19 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/node20 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/node21 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/php7.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy
@ -651,6 +676,7 @@ ecosystem-gitlab-runner-images:
cd `pwd`/linux/ecosystem/gitlab/runner/node18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node19 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node20 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node21 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/php7.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/php7.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/php7.4 && pwd && make build && make deploy
@ -687,6 +713,8 @@ ecosystem-perforce-base-images:
cd `pwd`/linuxecosystem/perforce/base/r21.1 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/base/r21.2 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/base/r22.1 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/base/r23.1 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/base/r23.2 && pwd && make build && make deploy
ecosystem-perforce-proxy-images:
cd `pwd`/linuxecosystem/perforce/p4p/r16.2 && pwd && make build && make deploy
@ -701,6 +729,171 @@ ecosystem-perforce-proxy-images:
cd `pwd`/linuxecosystem/perforce/p4p/r21.1 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/p4p/r21.2 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/p4p/r22.1 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/p4p/r23.1 && pwd && make build && make deploy
cd `pwd`/linuxecosystem/perforce/p4p/r23.2 && pwd && make build && make deploy
ecosystem-bitbucket-1-images:
cd `pwd`/linux/ecosystem/atlassian/bitbucket/1/1.0.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/1/1.1.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/1/1.2.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/1/1.2.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/1/1.3.1 && pwd && make build && make deploy
ecosystem-bitbucket-2-images:
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.0.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.1.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.2.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.5.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.6.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.7.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.8.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.8.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.9.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.9.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.9.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.9.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.9.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.10.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.10.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.10.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.10.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.10.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.10.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.11.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.11.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.11.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.11.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.11.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.11.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.11.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.12.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.12.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.12.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.12.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.12.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.12.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/2/2.12.6 && pwd && make build && make deploy
ecosystem-bitbucket-3-images:
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.0.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.0.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.0.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.0.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.0.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.0.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.1.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.1.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.1.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.1.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.1.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.1.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.2.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.2.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.2.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.2.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.2.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.3.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.3.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.3.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.3.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.4.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.4.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.5.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.5.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.6.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.6.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.7.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.7.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.7.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.7.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.7.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.8.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.8.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.9.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.9.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.10.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.10.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.10.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.10.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.11.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.11.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.11.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.11.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.11.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/3/3.11.6 && pwd && make build && make deploy
ecosystem-bitbucket-4-images:
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.0.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.0.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.0.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.0.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.0.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.0.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.0.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.1.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.1.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.1.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.1.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.2.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.2.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.2.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.2.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.3.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.3.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.3.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.4.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.5.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.5.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.5.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.6.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.6.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.6.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.6.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.6.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.7.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.7.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.8.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.8.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.8.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.8.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.8.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.8.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.8.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.9.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.9.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.10.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.10.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.10.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.11.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.11.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.12.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.12.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.13.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.13.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/bitbucket/4/4.14.12 && pwd && make build && make deploy
ecosystem-jira-4-images:
cd `pwd`/linux/ecosystem/atlassian/jira/4/4.1.1 && pwd && make build && make deploy
@ -869,19 +1062,6 @@ ecosystem-jira-7-images:
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.13 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.16 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.7.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.7.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.7.2 && pwd && make build && make deploy
@ -901,6 +1081,21 @@ ecosystem-jira-7-images:
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.12.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.12.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.12.3 && pwd && make build && make deploy
ecosystem-jira-7-lts-images:
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.13 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.16 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.6.17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.13.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.13.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/7/7.13.2 && pwd && make build && make deploy
@ -980,6 +1175,29 @@ ecosystem-jira-8-images:
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.12.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.12.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.12.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.14.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.14.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.15.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.15.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.16.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.16.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.16.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.17.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.17.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.18.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.18.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.19.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.19.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.21.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.21.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.6 && pwd && make build && make deploy
ecosystem-jira-8-lts-images:
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.13.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.13.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.13.2 && pwd && make build && make deploy
@ -1007,19 +1225,6 @@ ecosystem-jira-8-images:
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.13.25 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.13.26 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.13.27 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.14.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.14.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.15.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.15.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.16.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.16.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.16.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.17.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.17.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.18.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.18.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.19.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.19.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.2 && pwd && make build && make deploy
@ -1044,14 +1249,13 @@ ecosystem-jira-8-images:
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.22 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.23 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.24 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.21.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.21.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.25 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.26 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.27 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.28 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.29 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/8/8.20.30 && pwd && make build && make deploy
ecosystem-jira-9-images:
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.0.0 && pwd && make build && make deploy
@ -1062,16 +1266,6 @@ ecosystem-jira-9-images:
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.3.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.3.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.3.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.5.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.5.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.6.0 && pwd && make build && make deploy
@ -1082,6 +1276,34 @@ ecosystem-jira-9-images:
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.9.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.9.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.10.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.10.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.10.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.11.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.11.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.11.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.11.3 && pwd && make build && make deploy
ecosystem-jira-9-lts-images:
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.3.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.7 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.13 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.4.15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/atlassian/jira/9/9.12.2 && pwd && make build && make deploy
bundle-base-images:
@echo "======================================="

View File

@ -1,4 +1,4 @@
# [![Activity](https://img.shields.io/github/commit-activity/m/EpicMorg/docker-scripts?label=commits&style=flat-square)](https://github.com/EpicMorg/docker-scripts/commits) [![GitHub issues](https://img.shields.io/github/issues/EpicMorg/docker-scripts.svg?style=popout-square)](https://github.com/EpicMorg/docker-scripts/issues) [![GitHub forks](https://img.shields.io/github/forks/EpicMorg/docker-scripts.svg?style=popout-square)](https://github.com/EpicMorg/docker-scripts/network) [![GitHub stars](https://img.shields.io/github/stars/EpicMorg/docker-scripts.svg?style=popout-square)](https://github.com/EpicMorg/docker-scripts/stargazers) [![Size](https://img.shields.io/github/repo-size/EpicMorg/docker-scripts?label=size&style=flat-square)](https://github.com/EpicMorg/docker-scripts/archive/master.zip) [![Release](https://img.shields.io/github/v/release/EpicMorg/docker-scripts?style=flat-square)](https://github.com/EpicMorg/docker-scripts/releases) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3658/badge)](https://bestpractices.coreinfrastructure.org/projects/3658) [![CodeScene System Mastery](https://codescene.io/projects/6535/status-badges/system-mastery)](https://codescene.io/projects/6535) [![GitHub license](https://img.shields.io/github/license/EpicMorg/docker-scripts.svg?style=popout-square)](LICENSE.md) [![Changelog](https://img.shields.io/badge/Changelog-yellow.svg?style=popout-square)](CHANGELOG.md)
# [![Activity](https://img.shields.io/github/commit-activity/m/EpicMorg/docker-scripts?label=commits&style=flat-square)](https://github.com/EpicMorg/docker/commits) [![GitHub issues](https://img.shields.io/github/issues/EpicMorg/docker-scripts.svg?style=popout-square)](https://github.com/EpicMorg/docker/issues) [![GitHub forks](https://img.shields.io/github/forks/EpicMorg/docker-scripts.svg?style=popout-square)](https://github.com/EpicMorg/docker/network) [![GitHub stars](https://img.shields.io/github/stars/EpicMorg/docker-scripts.svg?style=popout-square)](https://github.com/EpicMorg/docker/stargazers) [![Size](https://img.shields.io/github/repo-size/EpicMorg/docker-scripts?label=size&style=flat-square)](https://github.com/EpicMorg/docker/archive/master.zip) [![Release](https://img.shields.io/github/v/release/EpicMorg/docker-scripts?style=flat-square)](https://github.com/EpicMorg/docker/releases) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3658/badge)](https://bestpractices.coreinfrastructure.org/projects/3658) [![CodeScene System Mastery](https://codescene.io/projects/6535/status-badges/system-mastery)](https://codescene.io/projects/6535) [![GitHub license](https://img.shields.io/github/license/EpicMorg/docker-scripts.svg?style=popout-square)](LICENSE.md) [![Changelog](https://img.shields.io/badge/Changelog-yellow.svg?style=popout-square)](CHANGELOG.md)
## Description
@ -7,27 +7,25 @@ A collection of docker images for production use. This repo contains 2 types of
* `linux/advanced` folder contains improved images like `nextcloud` or `teamcity server`, `zabbix collection`, etc. These images just forked from original developers and patched a bit.
* `linux/ecosystem` folder contains images developed by our team like full `Atlassian Stack`, compilled `nginx`, `php`, `testrail` and othres.
![](https://raw.githubusercontent.com/EpicMorg/docker-scripts/master/.github/logo.png)
![](https://raw.githubusercontent.com/EpicMorg/docker/master/.github/logo.png)
# CI Status
| `Advanced` | `EcoSystem - Debian Based` |
|:-------------|:-------------|
| [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Advanced%20Images?label=EpicMorg%20Advanced%20Images&logo=EpicMorg%20Advanced%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/blob/master/.github/workflows/epicmorg.advanced.images.yml) | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Debian%2010%20Images?label=Debian%2010%20Images&logo=Debian%2010%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.current.debian10.yml)
| [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Advanced%20Nextcloud%20Images?label=Nextcloud%20Images&logo=Nextcloud%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.advanced.nextcloud.images.yml) | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Debian%2011%20Images?label=Debian%2011%20Images&logo=Debian%2011%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.current.debian11.yml)
| [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Advanced%20Vscode%20Server%20Images?label=Vscode%20Server%20Images&logo=Vscode%20Server%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.advanced.vscode.images.yml) | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Debian%2012%20Images?label=Debian%2012%20Images&logo=Debian%2012%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.current.debian12.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Debian%20Legacy%20Images?label=Debian%20Legacy%20Images&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.legacy.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20Debian%20Python%20Images?label=Debian%20Python%20Images&logo=Debian%20Python%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.python.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Misc%20Images?label=EcoSystem%20Misc%20Images&logo=EcoSystem%20Misc%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.ecosysctem.misc.images.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Atlassian%20Main%20Images?label=Atlassian%20Images&logo=Atlassian%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.current.atlassian.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20NodeJS%20Images?label=NodeJS%20Images&logo=NodeJS%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.nodejs.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Perfocre%20Images?label=Perfocre%20Images&logo=Perfocre%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.perforce.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20PostgreSQL%20Images?label=PostgreSQL%20Images&logo=PostgreSQL%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.postgresql.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20TeamCity%20Agents%20Images?label=TeamCity%20Agents%20Images&logo=TeamCity%20Agents%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.teamcity.agents.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Testrail%20Images?label=Testrail%20Images&logo=Testrail%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.testrail.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Web%20Images?label=Web%20Images&logo=Web%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.web.yml)
| `-` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Gitlab%20Runner%20Images?label=Gitlab%20Runner%20Images&logo=Gitlab%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.giltab.runners.yml)
| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.vscode.images.yml?label=EpicMorg%20Advanced%20Images&logo=EpicMorg%20Advanced%20Images&style=flat-square)](https://github.com/EpicMorg/docker/blob/master/.github/workflows/epicmorg.advanced.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.current.debian10.yml?label=Debian%2010%20Images&logo=Debian%2010%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.current.debian10.yml)
| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.nextcloud.images.yml?label=Nextcloud%20Images&logo=Nextcloud%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.nextcloud.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.current.debian11.yml?label=Debian%2011%20Images&logo=Debian%2011%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.current.debian11.yml)
| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.python.yml?label=Debian%20Python%20Images&logo=Debian%20Python%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.python.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.current.debian12.yml?label=Debian%2012%20Images&logo=Debian%2012%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.current.debian12.yml)
| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.vscode.images.yml?label=Vscode%20Server%20Images&logo=Vscode%20Server%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.vscode.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.legacy.yml?label=Debian%20Legacy%20Images&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.legacy.yml)
| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.zabbix.images.yml?label=Debian%20Zabbix%20Images&logo=Debian%20Python%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.zabbix.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosysctem.misc.images.yml?label=EcoSystem%20Misc%20Images&logo=EcoSystem%20Misc%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosysctem.misc.images.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.current.atlassian.yml?label=Atlassian%20Images&logo=Atlassian%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.current.atlassian.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.nodejs.yml?label=NodeJS%20Images&logo=NodeJS%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.nodejs.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.perforce.yml?label=Perfocre%20Images&logo=Perfocre%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.perforce.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.postgresql.yml?label=PostgreSQL%20Images&logo=PostgreSQL%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.postgresql.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.teamcity.agents.yml?label=TeamCity%20Agents%20Images&logo=TeamCity%20Agents%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.teamcity.agents.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.testrail.yml?label=Testrail%20Images&logo=Testrail%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.testrail.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.web.yml?label=Web%20Images&logo=Web%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.web.yml)
| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.giltab.runners.yml?label=Gitlab%20Runner%20Images&logo=Gitlab%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.giltab.runners.yml)
# Few popular products [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B81CUI4)
@ -48,11 +46,9 @@ A collection of docker images for production use. This repo contains 2 types of
| [![qbittorrent](https://img.shields.io/badge/qBittorrent--brightgreen.svg?style=popout-square)](https://github.com/qbittorrent/qBittorrent) | [![](https://img.shields.io/docker/pulls/epicmorg/qbittorrent.svg?style=popout-square)](https://hub.docker.com/r/epicmorg/qbittorrent/ ) | Custom build by [EpicMorg Team](https://github.com/EpicMorg) with benefits.
# Stargazers
[![Stargazers repo roster for @EpicMorg/docker-scripts](https://reporoster.com/stars/dark/EpicMorg/docker-scripts)](https://github.com/EpicMorg/docker-scripts/stargazers)
# [Stargazers](https://github.com/EpicMorg/docker/stargazers)
# Forkers
[![Forkers repo roster for @EpicMorg/docker-scripts](https://reporoster.com/forks/dark/EpicMorg/docker-scripts)](https://github.com/EpicMorg/docker-scripts/network/members)
# [Forkers](https://github.com/EpicMorg/docker/network/members)
# ↳ Special Thanks:

View File

@ -0,0 +1,21 @@
- name: Clear log file before write new stdout to it at this session
hosts: localhost
connection: local
tasks:
- name: echo -n > output.log
shell: echo -n > output.log
- name: Lets Go!
hosts: localhost
connection: local
tasks:
- name: Create directory for ansible custom facts
debug:
msg: "[ Python: {{ ansible_facts['python_version'] }}, OS: {{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }} ({{ansible_architecture }}), Ansible: {{ ansible_version.full }}]"
- name: Generate Bitbucket images
hosts: localhost
connection: local
gather_facts: false
roles:
- atlassian.bitbucket

View File

@ -0,0 +1,21 @@
- name: Clear log file before write new stdout to it at this session
hosts: localhost
connection: local
tasks:
- name: echo -n > output.log
shell: echo -n > output.log
- name: Lets Go!
hosts: localhost
connection: local
tasks:
- name: Create directory for ansible custom facts
debug:
msg: "[ Python: {{ ansible_facts['python_version'] }}, OS: {{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }} ({{ansible_architecture }}), Ansible: {{ ansible_version.full }}]"
- name: Generate Confluence images
hosts: localhost
connection: local
gather_facts: false
roles:
- atlassian.confluence

View File

@ -18,5 +18,4 @@
connection: local
gather_facts: false
roles:
# - atlassian.jira
- gurock.testrail
- atlassian.jira

View File

@ -0,0 +1,46 @@
FROM epicmorg/debian:bookworm-jdk11
LABEL maintainer="Atlassian Bitbucket 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/BitbucketServer/Bitbucket+Server+home+directory
ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket
ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket
VOLUME ["${BITBUCKET_HOME}"]
WORKDIR $BITBUCKET_HOME
# Expose HTTP and SSH ports
EXPOSE 7990
EXPOSE 7999
##################################################################
# Installing
##################################################################
RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \
curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${BITBUCKET_INSTALL_DIR}" && \
chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \
sed -i -e 's/^# umask/umask/' ${BITBUCKET_INSTALL_DIR}/bin/_start-webapp.sh && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
#COPY . /tmp

View File

@ -0,0 +1,46 @@
FROM epicmorg/debian:bookworm-jdk17
LABEL maintainer="Atlassian Bitbucket 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/BitbucketServer/Bitbucket+Server+home+directory
ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket
ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket
VOLUME ["${BITBUCKET_HOME}"]
WORKDIR $BITBUCKET_HOME
# Expose HTTP and SSH ports
EXPOSE 7990
EXPOSE 7999
##################################################################
# Installing
##################################################################
RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \
curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${BITBUCKET_INSTALL_DIR}" && \
chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \
sed -i -e 's/^# umask/umask/' ${BITBUCKET_INSTALL_DIR}/bin/_start-webapp.sh && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
#COPY . /tmp

View File

@ -0,0 +1,46 @@
FROM epicmorg/debian:bookworm-jdk8
LABEL maintainer="Atlassian Bitbucket 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/BitbucketServer/Bitbucket+Server+home+directory
ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket
ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket
VOLUME ["${BITBUCKET_HOME}"]
WORKDIR $BITBUCKET_HOME
# Expose HTTP and SSH ports
EXPOSE 7990
EXPOSE 7999
##################################################################
# Installing
##################################################################
RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \
curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${BITBUCKET_INSTALL_DIR}" && \
chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \
sed -i -e 's/^# umask/umask/' ${BITBUCKET_INSTALL_DIR}/bin/_start-webapp.sh && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
#COPY . /tmp

View File

@ -0,0 +1,47 @@
FROM epicmorg/debian:bookworm-jdk7
LABEL maintainer="Atlassian Bitbucket 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/BitbucketServer/Bitbucket+Server+home+directory
ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket
ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket
ENV STASH_HOME=${BITBUCKET_HOME}
VOLUME ["${BITBUCKET_HOME}"]
WORKDIR $BITBUCKET_HOME
# Expose HTTP and SSH ports
EXPOSE 7990
EXPOSE 7999
##################################################################
# Installing
##################################################################
RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \
curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${BITBUCKET_INSTALL_DIR}" && \
chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \
# sed -i -e 's/^# umask/umask/' ${BITBUCKET_INSTALL_DIR}/bin/_start-webapp.sh && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
#COPY . /tmp

View File

@ -0,0 +1,47 @@
FROM epicmorg/debian:bookworm-jdk8
LABEL maintainer="Atlassian Bitbucket 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/BitbucketServer/Bitbucket+Server+home+directory
ENV BITBUCKET_HOME /var/atlassian/application-data/bitbucket
ENV BITBUCKET_INSTALL_DIR /opt/atlassian/bitbucket
ENV STASH_HOME=${BITBUCKET_HOME}
VOLUME ["${BITBUCKET_HOME}"]
WORKDIR $BITBUCKET_HOME
# Expose HTTP and SSH ports
EXPOSE 7990
EXPOSE 7999
##################################################################
# Installing
##################################################################
RUN mkdir -p ${BITBUCKET_INSTALL_DIR} && \
curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -L ${DOWNLOAD_URL} | tar -xz --strip-components=1 -C "${BITBUCKET_INSTALL_DIR}" && \
chown -R ${RUN_USER}:${RUN_GROUP} ${BITBUCKET_INSTALL_DIR} && \
# sed -i -e 's/^# umask/umask/' ${BITBUCKET_INSTALL_DIR}/bin/_start-webapp.sh && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb
CMD ["/entrypoint.sh", "-fg"]
ENTRYPOINT ["/usr/bin/tini", "--"]
COPY entrypoint.sh /entrypoint.sh
#COPY . /tmp

View File

@ -0,0 +1,16 @@
version: '3'
services:
app:
image: "epicmorg/bitbucket:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk7:
image: "epicmorg/bitbucket:${RELEASE}-jdk7"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,32 @@
version: '3'
services:
app:
image: "epicmorg/bitbucket:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk8:
image: "epicmorg/bitbucket:${RELEASE}-jdk8"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/bitbucket:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk17:
image: "epicmorg/bitbucket:${RELEASE}-jdk17"
build:
context: .
dockerfile: Dockerfile.jdk17
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,24 @@
version: '3'
services:
app:
image: "epicmorg/bitbucket:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk8:
image: "epicmorg/bitbucket:${RELEASE}-jdk8"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk11:
image: "epicmorg/bitbucket:${RELEASE}-jdk11"
build:
context: .
dockerfile: Dockerfile.jdk11
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,16 @@
version: '3'
services:
app:
image: "epicmorg/bitbucket:${RELEASE}"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}
app-jdk8:
image: "epicmorg/bitbucket:${RELEASE}-jdk8"
build:
context: .
args:
RELEASE: ${RELEASE}
DOWNLOAD_URL: ${DOWNLOAD_URL}

View File

@ -0,0 +1,57 @@
#!/bin/bash
set -euo pipefail
# Set recommended umask of "u=,g=w,o=rwx" (0027)
umask 0027
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
#export PATH=$JAVA_HOME/bin:$PATH
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
: ${JAVA_OPTS:=}
: ${ELASTICSEARCH_ENABLED:=true}
: ${APPLICATION_MODE:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}"
ARGS="$@"
# Start Bitbucket without Elasticsearch
if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then
ARGS="--no-search ${ARGS}"
fi
# Start Bitbucket as the correct user.
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${BITBUCKET_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
echo "Updating permissions for BITBUCKET_HOME"
mkdir -p "${BITBUCKET_HOME}/lib" &&
chmod -R 700 "${BITBUCKET_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh ${ARGS}"
else
exec "${BITBUCKET_INSTALL_DIR}/bin/start-bitbucket.sh" ${ARGS}
fi

View File

@ -0,0 +1,57 @@
#!/bin/bash
set -euo pipefail
# Set recommended umask of "u=,g=w,o=rwx" (0027)
umask 0027
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JRE_HOME="$JAVA_HOME/jre"
export JAVA_BINARY="$JRE_HOME/bin/java"
export JAVA_VERSION=$("$JAVA_BINARY" -version 2>&1 | awk -F '"' '/version/ {print $2}')
#export PATH=$JAVA_HOME/bin:$PATH
# Setup Catalina Opts
: ${CATALINA_CONNECTOR_PROXYNAME:=}
: ${CATALINA_CONNECTOR_PROXYPORT:=}
: ${CATALINA_CONNECTOR_SCHEME:=http}
: ${CATALINA_CONNECTOR_SECURE:=false}
: ${CATALINA_OPTS:=}
: ${JAVA_OPTS:=}
: ${ELASTICSEARCH_ENABLED:=true}
: ${APPLICATION_MODE:=}
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyName=${CATALINA_CONNECTOR_PROXYNAME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorProxyPort=${CATALINA_CONNECTOR_PROXYPORT}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorScheme=${CATALINA_CONNECTOR_SCHEME}"
CATALINA_OPTS="${CATALINA_OPTS} -DcatalinaConnectorSecure=${CATALINA_CONNECTOR_SECURE}"
JAVA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}"
ARGS="$@"
# Start Bitbucket without Elasticsearch
if [ "${ELASTICSEARCH_ENABLED}" == "false" ] || [ "${APPLICATION_MODE}" == "mirror" ]; then
ARGS="--no-search ${ARGS}"
fi
# Start Bitbucket as the correct user.
if [ "${UID}" -eq 0 ]; then
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${BITBUCKET_HOME}")
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
echo "Updating permissions for BITBUCKET_HOME"
mkdir -p "${BITBUCKET_HOME}/lib" &&
chmod -R 700 "${BITBUCKET_HOME}" &&
chown -R "${RUN_USER}:${RUN_GROUP}" "${BITBUCKET_HOME}"
fi
# Now drop privileges
exec su -s /bin/bash "${RUN_USER}" -c "${BITBUCKET_INSTALL_DIR}/bin/start-stash.sh ${ARGS}"
else
exec "${BITBUCKET_INSTALL_DIR}/bin/start-stash.sh" ${ARGS}
fi

View File

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

View File

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

View File

@ -0,0 +1,51 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/bitbucket/3.jdk8.txt"
register: version_output
- name: Set version variable
set_fact:
bitbucket_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Bitbucket versions
file:
path: "{{ target_directory_bitbucket_3 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ bitbucket_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.stash.3.env.j2"
dest: "{{ target_directory_bitbucket_3 }}/{{ item }}/.env"
force: true
with_items: "{{ bitbucket_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk8.yml"
dest: "{{ target_directory_bitbucket_3 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ bitbucket_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.legacy.jdk8"
dest: "{{ target_directory_bitbucket_3 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ bitbucket_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.stash.sh"
dest: "{{ target_directory_bitbucket_3 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ bitbucket_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory_bitbucket_3 }}/{{ item }}/Makefile"
force: true
with_items: "{{ bitbucket_versions }}"

View File

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

View File

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

View File

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

View File

@ -0,0 +1,65 @@
- name: Read versions from file
slurp:
src: "roles/common/files/versions/jira/9.jdk8-11-17.txt"
register: version_output
- name: Set version variable
set_fact:
jira_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
- name: Create directories for Jira versions
file:
path: "{{ target_directory_jira_9 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory_jira_9 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk8-11-17.yml"
dest: "{{ target_directory_jira_9 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk8"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk11 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk11"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile.jdk11"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk17 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk17"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile.jdk17"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory_jira_9 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -0,0 +1,11 @@
#- name: "Generate images for Stash (Bitbucket) 1 (jdk7)"
# import_tasks: atlassian.bitbucket.1.jdk7.yml
#- name: "Generate images for Stash (Bitbucket) 2 (jdk7)"
# import_tasks: atlassian.bitbucket.2.jdk7.yml
#- name: "Generate images for Stash (Bitbucket) 3 (jdk8)"
# import_tasks: atlassian.bitbucket.3.jdk8.yml
- name: "Generate images for Bitbucket 4 (jdk8)"
import_tasks: atlassian.bitbucket.4.jdk8.yml

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,9 @@
# Defaults
target_directory_bitbucket_1: "/opt/tmp/bitbucket/1"
target_directory_bitbucket_2: "/opt/tmp/bitbucket/2"
target_directory_bitbucket_3: "/opt/tmp/bitbucket/3"
target_directory_bitbucket_4: "/opt/tmp/bitbucket/4"
target_directory_bitbucket_5: "/opt/tmp/bitbucket/5"
target_directory_bitbucket_6: "/opt/tmp/bitbucket/6"
target_directory_bitbucket_7: "/opt/tmp/bitbucket/7"
target_directory_bitbucket_8: "/opt/tmp/bitbucket/8"

View File

@ -1,4 +1,4 @@
FROM epicmorg/debian:bookworm-jdk11
FROM epicmorg/debian:bookworm-jdk17
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive

View File

@ -11,37 +11,43 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_4 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
#- name: Copy template with link to each version directory
# template:
# src: "template.env.j2"
# dest: "{{ target_directory }}/{{ item }}/.env"
# dest: "{{ target_directory_jira_4 }}/{{ item }}/.env"
# force: true
# with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_4 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk6"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_4 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_4 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_4 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,43 +9,50 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_5 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.legacy.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_5 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk6-7.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_5 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk6"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_5 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk7"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk7"
dest: "{{ target_directory_jira_5 }}/{{ item }}/Dockerfile.jdk7"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_5 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_5 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,37 +9,43 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_5 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.legacy.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_5 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_5 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk6"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_5 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_5 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_5 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,43 +9,50 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_6 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.legacy.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_6 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk7-8.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_6 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk7"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_6 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk7-8"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk8"
dest: "{{ target_directory_jira_6 }}/{{ item }}/Dockerfile.jdk8"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_6 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_6 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,37 +9,43 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_6 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.legacy.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_6 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_6 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk7"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_6 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_6 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_6 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,37 +9,43 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_7 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.legacy2software.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_7 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_7 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk8"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_7 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_7 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_7 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,37 +9,43 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_7 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_7 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_7 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk8"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_7 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_7 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_7 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,43 +9,50 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_8 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_8 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_8 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk8"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_8 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk11 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk11"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk11"
dest: "{{ target_directory_jira_8 }}/{{ item }}/Dockerfile.jdk11"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_8 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_8 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,37 +9,43 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_8 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_8 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_8 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk8"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_8 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_8 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_8 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,49 +9,57 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_9 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_9 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk8-11-17.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_9 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk8"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk11 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk11"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk11"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile.jdk11"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk17 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk17"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk17"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile.jdk17"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_9 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -9,43 +9,50 @@
- name: Create directories for Jira versions
file:
path: "{{ target_directory }}/{{ item }}"
path: "{{ target_directory_jira_9 }}/{{ item }}"
state: directory
mode: '0755'
force: true
with_items: "{{ jira_versions }}"
- name: Copy template with link to each version directory
template:
src: "template.env.j2"
dest: "{{ target_directory }}/{{ item }}/.env"
dest: "{{ target_directory_jira_9 }}/{{ item }}/.env"
force: true
with_items: "{{ jira_versions }}"
- name: Copy docker-compose.yml from 'files' directory to each version directory
copy:
src: "docker-compose.jdk8-11.yml"
dest: "{{ target_directory }}/{{ item }}/docker-compose.yml"
dest: "{{ target_directory_jira_9 }}/{{ item }}/docker-compose.yml"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk8"
dest: "{{ target_directory }}/{{ item }}/Dockerfile"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Dockerfile.jdk11 from 'files' directory to each version directory
copy:
src: "Dockerfile.jdk11"
dest: "{{ target_directory }}/{{ item }}/Dockerfile.jdk11"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Dockerfile.jdk11"
force: true
with_items: "{{ jira_versions }}"
- name: Copy entrypoint.sh from 'files' directory to each version directory
copy:
src: "entrypoint.sh"
dest: "{{ target_directory }}/{{ item }}/entrypoint.sh"
dest: "{{ target_directory_jira_9 }}/{{ item }}/entrypoint.sh"
force: true
with_items: "{{ jira_versions }}"
- name: Copy Makefile from 'files' directory to each version directory
copy:
src: "Makefile"
dest: "{{ target_directory }}/{{ item }}/Makefile"
dest: "{{ target_directory_jira_9 }}/{{ item }}/Makefile"
force: true
with_items: "{{ jira_versions }}"

View File

@ -1,2 +1,7 @@
# Defaults
target_directory: "/opt/tmp/jira/"
target_directory_jira_4: "/opt/tmp/jira/4"
target_directory_jira_5: "/opt/tmp/jira/5"
target_directory_jira_6: "/opt/tmp/jira/6"
target_directory_jira_7: "/opt/tmp/jira/7"
target_directory_jira_8: "/opt/tmp/jira/8"
target_directory_jira_9: "/opt/tmp/jira/9"

View File

@ -0,0 +1,5 @@
1.0.3
1.1.2
1.2.1
1.2.4
1.3.1

View File

@ -0,0 +1,35 @@
2.0.3
2.1.2
2.2.0
2.3.1
2.4.2
2.5.4
2.6.5
2.7.6
2.8.4
2.8.5
2.9.1
2.9.2
2.9.3
2.9.4
2.9.5
2.10.0
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.11.3
2.11.4
2.11.5
2.11.6
2.11.7
2.11.8
2.11.9
2.12.0
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.12.6

View File

@ -0,0 +1,49 @@
3.0.1
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.1.0
3.1.1
3.1.3
3.1.4
3.1.5
3.1.7
3.2.0
3.2.2
3.2.4
3.2.5
3.2.7
3.3.0
3.3.1
3.3.2
3.3.3
3.3.5
3.4.0
3.4.1
3.4.3
3.4.5
3.5.0
3.5.1
3.6.0
3.6.1
3.7.0
3.7.1
3.7.2
3.7.3
3.7.4
3.8.0
3.8.1
3.9.1
3.9.2
3.10.0
3.10.2
3.10.3
3.10.4
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.11.6

View File

@ -0,0 +1,64 @@
4.0.1
4.0.2
4.0.3
4.0.4
4.0.6
4.0.7
4.0.8
4.1.0
4.1.3
4.1.4
4.1.6
4.2.0
4.2.1
4.2.2
4.2.3
4.3.0
4.3.1
4.3.2
4.3.3
4.4.0
4.4.1
4.4.2
4.4.4
4.5.1
4.5.2
4.5.3
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.1
4.7.2
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.9.0
4.9.1
4.10.0
4.10.1
4.10.2
4.11.1
4.11.2
4.12.0
4.12.1
4.13.0
4.13.1
4.14.0
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5
4.14.6
4.14.7
4.14.8
4.14.9
4.14.10
4.14.11
4.14.12

View File

@ -115,6 +115,12 @@
8.20.22
8.20.23
8.20.24
8.20.25
8.20.26
8.20.27
8.20.28
8.20.29
8.20.30
8.21.0
8.21.1
8.22.0

View File

@ -3,13 +3,20 @@
9.6.0
9.7.0
9.7.1
9.7.2
9.8.0
9.8.1
9.8.2
9.9.0
9.9.1
9.9.2
9.10.0
9.10.1
9.10.2
9.11.0
9.11.1
9.11.2
9.11.3
9.12.0
9.12.1
9.12.2

View File

@ -16,3 +16,10 @@
9.4.6
9.4.7
9.4.8
9.4.9
9.4.10
9.4.11
9.4.12
9.4.14
9.4.15
9.4.15

View File

@ -0,0 +1,8 @@
FROM epicmorg/nextcloud:27
##################################################################
# thank u, mac users. rolling back normal ZipStreammer
##################################################################
RUN rm -frv /usr/src/nextcloud/lib/private/Streamer.php
ADD Streamer.php /usr/src/nextcloud/lib/private/
RUN chown nobody:nogroup /usr/src/nextcloud/lib/private/Streamer.php

View File

@ -0,0 +1,527 @@
# What is Nextcloud?
[![GitHub CI build status badge](https://github.com/nextcloud/docker/workflows/Images/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3AImages)
[![update.sh build status badge](https://github.com/nextcloud/docker/workflows/update.sh/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3Aupdate.sh)
[![amd64 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud.svg?label=amd64)](https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud)
[![arm32v5 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud.svg?label=arm32v5)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud)
[![arm32v6 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud.svg?label=arm32v6)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud)
[![arm32v7 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud.svg?label=arm32v7)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud)
[![arm64v8 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud.svg?label=arm64v8)](https://doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud)
[![i386 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud.svg?label=i386)](https://doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud)
[![mips64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud.svg?label=mips64le)](https://doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud)
[![ppc64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud.svg?label=ppc64le)](https://doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud)
[![s390x build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud.svg?label=s390x)](https://doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud)
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
![logo](https://cdn.rawgit.com/nextcloud/docker/80dd587d847b184ba95d7187a2a7a56ae4cbbb7b/logo.svg)
# How to use this image
This image is designed to be used in a micro-service environment. There are two versions of the image you can choose from.
The `apache` tag contains a full Nextcloud installation including an apache web server. It is designed to be easy to use and gets you running pretty fast. This is also the default for the `latest` tag and version tags that are not further specified.
The second option is a `fpm` container. It is based on the [php-fpm](https://hub.docker.com/_/php/) image and runs a fastCGI-Process that serves your Nextcloud page. To use this image it must be combined with any webserver that can proxy the http requests to the FastCGI-port of the container.
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/nextcloud/docker/8db861d67f257a3e9ac1790ea06d4e2a7a193a6c/stack.yml)
## Using the apache image
The apache image contains a webserver and exposes port 80. To start the container type:
```console
$ docker run -d -p 8080:80 nextcloud
```
Now you can access Nextcloud at http://localhost:8080/ from your host system.
## Using the fpm image
To use the fpm image, you need an additional web server that can proxy http-request to the fpm-port of the container. For fpm connection this container exposes port 9000. In most cases, you might want use another container or your host as proxy.
If you use your host you can address your Nextcloud container directly on port 9000. If you use another container, make sure that you add them to the same docker network (via `docker run --network <NAME> ...` or a `docker-compose` file).
In both cases you don't want to map the fpm port to your host.
```console
$ docker run -d nextcloud:fpm
```
As the fastCGI-Process is not capable of serving static files (style sheets, images, ...), the webserver needs access to these files. This can be achieved with the `volumes-from` option. You can find more information in the [docker-compose section](#running-this-image-with-docker-compose).
## Using an external database
By default, this container uses SQLite for data storage but the Nextcloud setup wizard (appears on first run) allows connecting to an existing MySQL/MariaDB or PostgreSQL database. You can also link a database container, e. g. `--link my-mysql:mysql`, and then use `mysql` as the database host on setup. More info is in the docker-compose section.
## Persistent data
The Nextcloud installation and all data beyond what lives in the database (file uploads, etc) are stored in the [unnamed docker volume](https://docs.docker.com/engine/tutorials/dockervolumes/#adding-a-data-volume) volume `/var/www/html`. The docker daemon will store that data within the docker directory `/var/lib/docker/volumes/...`. That means your data is saved even if the container crashes, is stopped or deleted.
A named Docker volume or a mounted host directory should be used for upgrades and backups. To achieve this, you need one volume for your database container and one for Nextcloud.
Nextcloud:
- `/var/www/html/` folder where all nextcloud data lives
```console
$ docker run -d \
-v nextcloud:/var/www/html \
nextcloud
```
Database:
- `/var/lib/mysql` MySQL / MariaDB Data
- `/var/lib/postgresql/data` PostgreSQL Data
```console
$ docker run -d \
-v db:/var/lib/mysql \
mariadb
```
If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps.
The `data`, `config` files are stored in respective subfolders inside `/var/www/html/`. The apps are split into core `apps` (which are shipped with Nextcloud and you don't need to take care of) and a `custom_apps` folder. If you use a custom theme it would go into the `themes` subfolder.
Overview of the folders that can be mounted as volumes:
- `/var/www/html` Main folder, needed for updating
- `/var/www/html/custom_apps` installed / modified apps
- `/var/www/html/config` local configuration
- `/var/www/html/data` the actual data of your Nextcloud
- `/var/www/html/themes/<YOUR_CUSTOM_THEME>` theming/branding
If you want to use named volumes for all of these, it would look like this:
```console
$ docker run -d \
-v nextcloud:/var/www/html \
-v apps:/var/www/html/custom_apps \
-v config:/var/www/html/config \
-v data:/var/www/html/data \
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
nextcloud
```
## Using the Nextcloud command-line interface
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):
```console
$ docker exec --user www-data CONTAINER_ID php occ
```
or for docker-compose:
```console
$ docker-compose exec --user www-data app php occ
```
## Auto configuration via environment variables
The nextcloud image supports auto configuration via environment variables. You can preconfigure everything that is asked on the install page on first run. To enable auto configuration, set your database connection via the following environment variables. ONLY use one database type!
__SQLite__:
- `SQLITE_DATABASE` Name of the database using sqlite
__MYSQL/MariaDB__:
- `MYSQL_DATABASE` Name of the database using mysql / mariadb.
- `MYSQL_USER` Username for the database using mysql / mariadb.
- `MYSQL_PASSWORD` Password for the database user using mysql / mariadb.
- `MYSQL_HOST` Hostname of the database server using mysql / mariadb.
__PostgreSQL__:
- `POSTGRES_DB` Name of the database using postgres.
- `POSTGRES_USER` Username for the database using postgres.
- `POSTGRES_PASSWORD` Password for the database user using postgres.
- `POSTGRES_HOST` Hostname of the database server using postgres.
If you set any values, they will not be asked in the install page on first run. With a complete configuration by using all variables for your database type, you can additionally configure your Nextcloud instance by setting admin user and password (only works if you set both):
- `NEXTCLOUD_ADMIN_USER` Name of the Nextcloud admin user.
- `NEXTCLOUD_ADMIN_PASSWORD` Password for the Nextcloud admin user.
If you want, you can set the data directory, otherwise default value will be used.
- `NEXTCLOUD_DATA_DIR` (default: _/var/www/html/data_) Configures the data directory where nextcloud stores all files from the users.
One or more trusted domains can be set through environment variable, too. They will be added to the configuration after install.
- `NEXTCLOUD_TRUSTED_DOMAINS` (not set by default) Optional space-separated list of domains
The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with
- `NEXTCLOUD_UPDATE` (default: _0_)
If you want to use Redis you have to create a separate [Redis](https://hub.docker.com/_/redis/) container in your setup / in your docker-compose file. To inform Nextcloud about the Redis container, pass in the following parameters:
- `REDIS_HOST` (not set by default) Name of Redis container
- `REDIS_HOST_PORT` (default: _6379_) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
- `REDIS_HOST_PASSWORD` (not set by default) Redis password
The use of Redis is recommended to prevent file locking problems. See the examples for further instructions.
To use an external SMTP server, you have to provide the connection details. To configure Nextcloud to use SMTP add:
- `SMTP_HOST` (not set by default): The hostname of the SMTP server.
- `SMTP_SECURE` (empty by default): Set to `ssl` to use SSL, or `tls` to use STARTTLS.
- `SMTP_PORT` (default: `465` for SSL and `25` for non-secure connections): Optional port for the SMTP connection. Use `587` for an alternative port for STARTTLS.
- `SMTP_AUTHTYPE` (default: `LOGIN`): The method used for authentication. Use `PLAIN` if no authentication is required.
- `SMTP_NAME` (empty by default): The username for the authentication.
- `SMTP_PASSWORD` (empty by default): The password for the authentication.
- `MAIL_FROM_ADDRESS` (not set by default): Use this address for the 'from' field in the emails sent by Nextcloud.
- `MAIL_DOMAIN` (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html) for other values to configure SMTP.
To use an external S3 compatible object store as primary storage, set the following variables:
- `OBJECTSTORE_S3_HOST`: The hostname of the object storage server
- `OBJECTSTORE_S3_BUCKET`: The name of the bucket that Nextcloud should store the data in
- `OBJECTSTORE_S3_KEY`: AWS style access key
- `OBJECTSTORE_S3_SECRET`: AWS style secret access key
- `OBJECTSTORE_S3_PORT`: The port that the object storage server is being served over
- `OBJECTSTORE_S3_SSL` (default: `true`): Whether or not SSL/TLS should be used to communicate with object storage server
- `OBJECTSTORE_S3_REGION`: The region that the S3 bucket resides in.
- `OBJECTSTORE_S3_USEPATH_STYLE` (default: `false`): Not required for AWS S3
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#simple-storage-service-s3) for more information.
To use an external OpenStack Swift object store as primary storage, set the following variables:
- `OBJECTSTORE_SWIFT_URL`: The Swift identity (Keystone) endpoint
- `OBJECTSTORE_SWIFT_AUTOCREATE` (default: `false`): Whether or not Nextcloud should automatically create the Swift container
- `OBJECTSTORE_SWIFT_USER_NAME`: Swift username
- `OBJECTSTORE_SWIFT_USER_PASSWORD`: Swift user password
- `OBJECTSTORE_SWIFT_USER_DOMAIN` (default: `Default`): Swift user domain
- `OBJECTSTORE_SWIFT_PROJECT_NAME`: OpenStack project name
- `OBJECTSTORE_SWIFT_PROJECT_DOMAIN` (default: `Default`): OpenStack project domain
- `OBJECTSTORE_SWIFT_SERVICE_NAME` (default: `swift`): Swift service name
- `OBJECTSTORE_SWIFT_SERVICE_REGION`: Swift endpoint region
- `OBJECTSTORE_SWIFT_CONTAINER_NAME`: Swift container (bucket) that Nextcloud should store the data in
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#openstack-swift) for more information.
## Using the apache image behind a reverse proxy and auto configure server host and protocol
The apache image will replace the remote addr (ip address visible to Nextcloud) with the ip address from `X-Real-IP` if the request is coming from a proxy in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 by default. If you want Nextcloud to pick up the server host (`HTTP_X_FORWARDED_HOST`), protocol (`HTTP_X_FORWARDED_PROTO`) and client ip (`HTTP_X_FORWARDED_FOR`) from a trusted proxy disable rewrite ip and the reverse proxies ip address to `TRUSTED_PROXIES`.
- `APACHE_DISABLE_REWRITE_IP` (not set by default): Set to 1 to disable rewrite ip.
- `TRUSTED_PROXIES` (empty by default): A space-separated list of trusted proxies. CIDR notation is supported for IPv4.
If the `TRUSTED_PROXIES` approach does not work for you, try using fixed values for overwrite parameters.
- `OVERWRITEHOST` (empty by default): Set the hostname of the proxy. Can also specify a port.
- `OVERWRITEPROTOCOL` (empty by default): Set the protocol of the proxy, http or https.
- `OVERWRITEWEBROOT` (empty by default): Set the absolute path of the proxy.
- `OVERWRITECONDADDR` (empty by default): Regex to overwrite the values dependent on the remote address.
Check the [Nexcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html) for more details.
Keep in mind that once set, removing these environment variables won't remove these values from the configuration file, due to how Nextcloud merges configuration files together.
# Running this image with docker-compose
The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples of what you have to look for.
At first, make sure you have chosen the right base image (fpm or apache) and added features you wanted (see below). In every case, you would want to add a database container and docker volumes to get easy access to your persistent data. When you want to have your server reachable from the internet, adding HTTPS-encryption is mandatory! See below for more information.
## Base version - apache
This version will use the apache image and add a mariaDB container. The volumes are set to keep your data persistent. This setup provides **no ssl encryption** and is intended to run behind a proxy.
Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
```yaml
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
restart: always
```
Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
## Base version - FPM
When using the FPM image, you need another container that acts as web server on port 80 and proxies the requests to the Nextcloud container. In this example a simple nginx container is combined with the Nextcloud-fpm image and a MariaDB database container. The data is stored in docker volumes. The nginx container also needs access to static files from your Nextcloud installation. It gets access to all the volumes mounted to Nextcloud via the `volumes_from` option.The configuration for nginx is stored in the configuration file `nginx.conf`, that is mounted into the container. An example can be found in the examples section [here](https://github.com/nextcloud/docker/tree/master/.examples).
As this setup does **not include encryption**, it should be run behind a proxy.
Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
```yaml
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud:fpm
links:
- db
volumes:
- nextcloud:/var/www/html
restart: always
web:
image: nginx
ports:
- 8080:80
links:
- app
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from:
- app
restart: always
```
Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
# Docker Secrets
As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/<secret_name> files. For example:
```yaml
version: '3.2'
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
secrets:
- postgres_db
- postgres_password
- postgres_user
app:
image: nextcloud
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=db
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password
- NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user
depends_on:
- db
secrets:
- nextcloud_admin_password
- nextcloud_admin_user
- postgres_db
- postgres_password
- postgres_user
volumes:
db:
nextcloud:
secrets:
nextcloud_admin_password:
file: ./nextcloud_admin_password.txt # put admin password to this file
nextcloud_admin_user:
file: ./nextcloud_admin_user.txt # put admin username to this file
postgres_db:
file: ./postgres_db.txt # put postgresql db name to this file
postgres_password:
file: ./postgres_password.txt # put postgresql password to this file
postgres_user:
file: ./postgres_user.txt # put postgresql username to this file
```
Currently, this is only supported for `NEXTCLOUD_ADMIN_PASSWORD`, `NEXTCLOUD_ADMIN_USER`, `MYSQL_DB`, `MYSQL_PASSWORD`, `MYSQL_USER`, `POSTGRES_DB`, `POSTGRES_PASSWORD`, `POSTGRES_USER`.
# Make your Nextcloud available from the internet
Until here, your Nextcloud is just available from you docker host. If you want your Nextcloud available from the internet adding SSL encryption is mandatory.
## HTTPS - SSL encryption
There are many different possibilities to introduce encryption depending on your setup.
We recommend using a reverse proxy in front of our Nextcloud installation. Your Nextcloud will only be reachable through the proxy, which encrypts all traffic to the clients. You can mount your manually generated certificates to the proxy or use a fully automated solution which generates and renews the certificates for you.
In our [examples](https://github.com/nextcloud/docker/tree/master/.examples) section we have an example for a fully automated setup using a reverse proxy, a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling, database and Nextcloud. It uses the popular [nginx-proxy](https://github.com/jwilder/nginx-proxy) and [docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers. Please check the according documentations before using this setup.
# First use
When you first access your Nextcloud, the setup wizard will appear and ask you to choose an administrator account username, password and the database connection. For the database use `db` as host and `nextcloud` as table and user name. Also enter the password you chose in your `docker-compose.yml` file.
# Update to a newer version
Updating the Nextcloud container is done by pulling the new image, throwing away the old container and starting the new one.
**It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.**
Since all data is stored in volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. Don't forget to add all the volumes to your new container, so it works as expected.
```console
$ docker pull nextcloud
$ docker stop <your_nextcloud_container>
$ docker rm <your_nextcloud_container>
$ docker run <OPTIONS> -d nextcloud
```
Beware that you have to run the same command with the options that you used to initially start your Nextcloud. That includes volumes, port mapping.
When using docker-compose your compose file takes care of your configuration, so you just have to run:
```console
$ docker-compose pull
$ docker-compose up -d
```
# Adding Features
A lot of people want to use additional functionality inside their Nextcloud installation. If the image does not include the packages you need, you can easily build your own image on top of it.
Start your derived image with the `FROM` statement and add whatever you like.
```yaml
FROM nextcloud:apache
RUN ...
```
The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron job, smb-support or imap-authentication.
If you use your own Dockerfile, you need to configure your docker-compose file accordingly. Switch out the `image` option with `build`. You have to specify the path to your Dockerfile. (in the example it's in the same directory next to the docker-compose file)
```yaml
app:
build: .
links:
- db
volumes:
- data:/var/www/html/data
- config:/var/www/html/config
- apps:/var/www/html/apps
restart: always
```
If you intend to use another command to run the image, make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work.
```yaml
FROM nextcloud:apache
...
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord"]
```
**Updating** your own derived image is also very simple. When a new version of the Nextcloud image is available run:
```console
docker build -t your-name --pull .
docker run -d your-name
```
or for docker-compose:
```console
docker-compose build --pull
docker-compose up -d
```
The `--pull` option tells docker to look for new versions of the base image. Then the build instructions inside your `Dockerfile` are run on top of the new image.
# Migrating an existing installation
You're already using Nextcloud and want to switch to docker? Great! Here are some things to look out for:
1. Define your whole Nextcloud infrastructure in a `docker-compose` file and run it with `docker-compose up -d` to get the base installation, volumes and database. Work from there.
2. Restore your database from a mysqldump (nextcloud\_db\_1 is the name of your db container)
- To import from a MySQL dump use the following commands
```console
docker cp ./database.dmp nextcloud_db_1:/dmp
docker-compose exec db sh -c "mysql -u USER -pPASSWORD nextcloud < /dmp"
docker-compose exec db rm /dmp
```
- To import from a PostgreSQL dump use to following commands
```console
docker cp ./database.dmp nextcloud_db_1:/dmp
docker-compose exec db sh -c "psql -U USER --set ON_ERROR_STOP=on nextcloud < /dmp"
docker-compose exec db rm /dmp
```
3. Edit your config.php
1. Set database connection
- In case of MySQL database
```php
'dbhost' => 'db:3306',
```
- In case of PostgreSQL database
```php
'dbhost' => 'db:5432',
```
2. Make sure you have no configuration for the `apps_paths`. Delete lines like these
```diff
- "apps_paths" => array (
- 0 => array (
- "path" => OC::$SERVERROOT."/apps",
- "url" => "/apps",
- "writable" => true,
- ),
```
3. Make sure to have the `apps` directory non writable and the `custom_apps` directory writable
```php
'apps_paths' => array (
0 => array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
```
4. Make sure your data directory is set to /var/www/html/data
```php
'datadirectory' => '/var/www/html/data',
```
4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container):
```console
docker cp ./data/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/data
docker cp ./theming/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/theming
docker cp ./config/config.php nextcloud_app_1:/var/www/html/config
docker-compose exec app chown -R www-data:www-data /var/www/html/config
```
5. Copy only the custom apps you use (or simply redownload them from the web interface):
```console
docker cp ./custom_apps/ nextcloud_data:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/custom_apps
```
# Questions / Issues
If you got any questions or problems using the image, please visit our [Github Repository](https://github.com/nextcloud/docker) and write an issue.

View File

@ -0,0 +1,190 @@
<?php
/**
*
*
* FIXED ZipStreammer to 64bit. 1) https://github.com/nextcloud/server/pull/15367
* 2) https://github.com/artonge/server/commit/435022515de1983f0fe3d3116acb71a0ed439693
*
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Daniel Calviño Sánchez <danxuliu@gmail.com>
* @author Joas Schilling <coding@schilljs.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Thomas Müller <thomas.mueller@tmit.eu>
* @author Victor Dubiniuk <dubiniuk@owncloud.com>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
namespace OC;
use OC\Files\Filesystem;
use OCP\Files\File;
use OCP\Files\Folder;
use OCP\Files\InvalidPathException;
use OCP\Files\NotFoundException;
use OCP\Files\NotPermittedException;
use OCP\IRequest;
use ownCloud\TarStreamer\TarStreamer;
use ZipStreamer\ZipStreamer;
class Streamer {
// array of regexp. Matching user agents will get tar instead of zip
private $preferTarFor = [ '/macintosh|mac os x/i' ];
// streamer instance
private $streamerInstance;
/**
* Streamer constructor.
*
* @param IRequest $request
* @param int $size The size of the files in bytes
* @param int $numberOfFiles The number of files (and directories) that will
* be included in the streamed file
*/
public function __construct(IRequest $request, $size, int $numberOfFiles){
/**
* zip32 constraints for a basic (without compression, volumes nor
* encryption) zip file according to the Zip specification:
* - No file size is larger than 4 bytes (file size < 4294967296); see
* 4.4.9 uncompressed size
* - The size of all files plus their local headers is not larger than
* 4 bytes; see 4.4.16 relative offset of local header and 4.4.24
* offset of start of central directory with respect to the starting
* disk number
* - The total number of entries (files and directories) in the zip file
* is not larger than 2 bytes (number of entries < 65536); see 4.4.22
* total number of entries in the central dir
* - The size of the central directory is not larger than 4 bytes; see
* 4.4.23 size of the central directory
*
* Due to all that, zip32 is used if the size is below 4GB and there are
* less than 65536 files; the margin between 4*1000^3 and 4*1024^3
* should give enough room for the extra zip metadata. Technically, it
* would still be possible to create an invalid zip32 file (for example,
* a zip file from files smaller than 4GB with a central directory
* larger than 4GiB), but it should not happen in the real world.
*/
if ($size < 4 * 1000 * 1000 * 1000 && $numberOfFiles < 65536) {
$this->streamerInstance = new ZipStreamer(['zip64' => true]);
} else if ($request->isUserAgent($this->preferTarFor)) {
$this->streamerInstance = new TarStreamer();
} else {
$this->streamerInstance = new ZipStreamer(['zip64' => PHP_INT_SIZE !== 4]);
}
}
/**
* Send HTTP headers
* @param string $name
*/
public function sendHeaders($name){
$extension = $this->streamerInstance instanceof ZipStreamer ? '.zip' : '.tar';
$fullName = $name . $extension;
$this->streamerInstance->sendHeaders($fullName);
}
/**
* Stream directory recursively
*
* @throws NotFoundException
* @throws NotPermittedException
* @throws InvalidPathException
*/
public function addDirRecursive(string $dir, string $internalDir = ''): void {
$dirname = basename($dir);
$rootDir = $internalDir . $dirname;
if (!empty($rootDir)) {
$this->streamerInstance->addEmptyDir($rootDir);
}
$internalDir .= $dirname . '/';
// prevent absolute dirs
$internalDir = ltrim($internalDir, '/');
$userFolder = \OC::$server->getRootFolder()->get(Filesystem::getRoot());
/** @var Folder $dirNode */
$dirNode = $userFolder->get($dir);
$files = $dirNode->getDirectoryListing();
foreach($files as $file) {
if($file instanceof File) {
try {
$fh = $file->fopen('r');
} catch (NotPermittedException $e) {
continue;
}
$this->addFileFromStream(
$fh,
$internalDir . $file->getName(),
$file->getSize(),
$file->getMTime()
);
fclose($fh);
} elseif ($file instanceof Folder) {
if($file->isReadable()) {
$this->addDirRecursive($dir . '/' . $file->getName(), $internalDir);
}
}
}
}
/**
* Add a file to the archive at the specified location and file name.
*
* @param string $stream Stream to read data from
* @param string $internalName Filepath and name to be used in the archive.
* @param int $size Filesize
* @param int|bool $time File mtime as int, or false
* @return bool $success
*/
public function addFileFromStream($stream, $internalName, $size, $time) {
$options = [];
if ($time) {
$options = [
'timestamp' => $time
];
}
if ($this->streamerInstance instanceof ZipStreamer) {
return $this->streamerInstance->addFileFromStream($stream, $internalName, $options);
} else {
return $this->streamerInstance->addFileFromStream($stream, $internalName, $size, $options);
}
}
/**
* Add an empty directory entry to the archive.
*
* @param string $dirName Directory Path and name to be added to the archive.
* @return bool $success
*/
public function addEmptyDir($dirName){
return $this->streamerInstance->addEmptyDir($dirName);
}
/**
* Close the archive.
* A closed archive can no longer have new files added to it. After
* closing, the file is completely written to the output stream.
* @return bool $success
*/
public function finalize(){
return $this->streamerInstance->finalize();
}
}

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/nextcloud:27-patched"
build:
context: .

View File

@ -0,0 +1,8 @@
FROM epicmorg/nextcloud:28
##################################################################
# thank u, mac users. rolling back normal ZipStreammer
##################################################################
RUN rm -frv /usr/src/nextcloud/lib/private/Streamer.php
ADD Streamer.php /usr/src/nextcloud/lib/private/
RUN chown nobody:nogroup /usr/src/nextcloud/lib/private/Streamer.php

View File

@ -0,0 +1,527 @@
# What is Nextcloud?
[![GitHub CI build status badge](https://github.com/nextcloud/docker/workflows/Images/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3AImages)
[![update.sh build status badge](https://github.com/nextcloud/docker/workflows/update.sh/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3Aupdate.sh)
[![amd64 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud.svg?label=amd64)](https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud)
[![arm32v5 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud.svg?label=arm32v5)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud)
[![arm32v6 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud.svg?label=arm32v6)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud)
[![arm32v7 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud.svg?label=arm32v7)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud)
[![arm64v8 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud.svg?label=arm64v8)](https://doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud)
[![i386 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud.svg?label=i386)](https://doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud)
[![mips64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud.svg?label=mips64le)](https://doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud)
[![ppc64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud.svg?label=ppc64le)](https://doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud)
[![s390x build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud.svg?label=s390x)](https://doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud)
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
![logo](https://cdn.rawgit.com/nextcloud/docker/80dd587d847b184ba95d7187a2a7a56ae4cbbb7b/logo.svg)
# How to use this image
This image is designed to be used in a micro-service environment. There are two versions of the image you can choose from.
The `apache` tag contains a full Nextcloud installation including an apache web server. It is designed to be easy to use and gets you running pretty fast. This is also the default for the `latest` tag and version tags that are not further specified.
The second option is a `fpm` container. It is based on the [php-fpm](https://hub.docker.com/_/php/) image and runs a fastCGI-Process that serves your Nextcloud page. To use this image it must be combined with any webserver that can proxy the http requests to the FastCGI-port of the container.
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/nextcloud/docker/8db861d67f257a3e9ac1790ea06d4e2a7a193a6c/stack.yml)
## Using the apache image
The apache image contains a webserver and exposes port 80. To start the container type:
```console
$ docker run -d -p 8080:80 nextcloud
```
Now you can access Nextcloud at http://localhost:8080/ from your host system.
## Using the fpm image
To use the fpm image, you need an additional web server that can proxy http-request to the fpm-port of the container. For fpm connection this container exposes port 9000. In most cases, you might want use another container or your host as proxy.
If you use your host you can address your Nextcloud container directly on port 9000. If you use another container, make sure that you add them to the same docker network (via `docker run --network <NAME> ...` or a `docker-compose` file).
In both cases you don't want to map the fpm port to your host.
```console
$ docker run -d nextcloud:fpm
```
As the fastCGI-Process is not capable of serving static files (style sheets, images, ...), the webserver needs access to these files. This can be achieved with the `volumes-from` option. You can find more information in the [docker-compose section](#running-this-image-with-docker-compose).
## Using an external database
By default, this container uses SQLite for data storage but the Nextcloud setup wizard (appears on first run) allows connecting to an existing MySQL/MariaDB or PostgreSQL database. You can also link a database container, e. g. `--link my-mysql:mysql`, and then use `mysql` as the database host on setup. More info is in the docker-compose section.
## Persistent data
The Nextcloud installation and all data beyond what lives in the database (file uploads, etc) are stored in the [unnamed docker volume](https://docs.docker.com/engine/tutorials/dockervolumes/#adding-a-data-volume) volume `/var/www/html`. The docker daemon will store that data within the docker directory `/var/lib/docker/volumes/...`. That means your data is saved even if the container crashes, is stopped or deleted.
A named Docker volume or a mounted host directory should be used for upgrades and backups. To achieve this, you need one volume for your database container and one for Nextcloud.
Nextcloud:
- `/var/www/html/` folder where all nextcloud data lives
```console
$ docker run -d \
-v nextcloud:/var/www/html \
nextcloud
```
Database:
- `/var/lib/mysql` MySQL / MariaDB Data
- `/var/lib/postgresql/data` PostgreSQL Data
```console
$ docker run -d \
-v db:/var/lib/mysql \
mariadb
```
If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps.
The `data`, `config` files are stored in respective subfolders inside `/var/www/html/`. The apps are split into core `apps` (which are shipped with Nextcloud and you don't need to take care of) and a `custom_apps` folder. If you use a custom theme it would go into the `themes` subfolder.
Overview of the folders that can be mounted as volumes:
- `/var/www/html` Main folder, needed for updating
- `/var/www/html/custom_apps` installed / modified apps
- `/var/www/html/config` local configuration
- `/var/www/html/data` the actual data of your Nextcloud
- `/var/www/html/themes/<YOUR_CUSTOM_THEME>` theming/branding
If you want to use named volumes for all of these, it would look like this:
```console
$ docker run -d \
-v nextcloud:/var/www/html \
-v apps:/var/www/html/custom_apps \
-v config:/var/www/html/config \
-v data:/var/www/html/data \
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
nextcloud
```
## Using the Nextcloud command-line interface
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):
```console
$ docker exec --user www-data CONTAINER_ID php occ
```
or for docker-compose:
```console
$ docker-compose exec --user www-data app php occ
```
## Auto configuration via environment variables
The nextcloud image supports auto configuration via environment variables. You can preconfigure everything that is asked on the install page on first run. To enable auto configuration, set your database connection via the following environment variables. ONLY use one database type!
__SQLite__:
- `SQLITE_DATABASE` Name of the database using sqlite
__MYSQL/MariaDB__:
- `MYSQL_DATABASE` Name of the database using mysql / mariadb.
- `MYSQL_USER` Username for the database using mysql / mariadb.
- `MYSQL_PASSWORD` Password for the database user using mysql / mariadb.
- `MYSQL_HOST` Hostname of the database server using mysql / mariadb.
__PostgreSQL__:
- `POSTGRES_DB` Name of the database using postgres.
- `POSTGRES_USER` Username for the database using postgres.
- `POSTGRES_PASSWORD` Password for the database user using postgres.
- `POSTGRES_HOST` Hostname of the database server using postgres.
If you set any values, they will not be asked in the install page on first run. With a complete configuration by using all variables for your database type, you can additionally configure your Nextcloud instance by setting admin user and password (only works if you set both):
- `NEXTCLOUD_ADMIN_USER` Name of the Nextcloud admin user.
- `NEXTCLOUD_ADMIN_PASSWORD` Password for the Nextcloud admin user.
If you want, you can set the data directory, otherwise default value will be used.
- `NEXTCLOUD_DATA_DIR` (default: _/var/www/html/data_) Configures the data directory where nextcloud stores all files from the users.
One or more trusted domains can be set through environment variable, too. They will be added to the configuration after install.
- `NEXTCLOUD_TRUSTED_DOMAINS` (not set by default) Optional space-separated list of domains
The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with
- `NEXTCLOUD_UPDATE` (default: _0_)
If you want to use Redis you have to create a separate [Redis](https://hub.docker.com/_/redis/) container in your setup / in your docker-compose file. To inform Nextcloud about the Redis container, pass in the following parameters:
- `REDIS_HOST` (not set by default) Name of Redis container
- `REDIS_HOST_PORT` (default: _6379_) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
- `REDIS_HOST_PASSWORD` (not set by default) Redis password
The use of Redis is recommended to prevent file locking problems. See the examples for further instructions.
To use an external SMTP server, you have to provide the connection details. To configure Nextcloud to use SMTP add:
- `SMTP_HOST` (not set by default): The hostname of the SMTP server.
- `SMTP_SECURE` (empty by default): Set to `ssl` to use SSL, or `tls` to use STARTTLS.
- `SMTP_PORT` (default: `465` for SSL and `25` for non-secure connections): Optional port for the SMTP connection. Use `587` for an alternative port for STARTTLS.
- `SMTP_AUTHTYPE` (default: `LOGIN`): The method used for authentication. Use `PLAIN` if no authentication is required.
- `SMTP_NAME` (empty by default): The username for the authentication.
- `SMTP_PASSWORD` (empty by default): The password for the authentication.
- `MAIL_FROM_ADDRESS` (not set by default): Use this address for the 'from' field in the emails sent by Nextcloud.
- `MAIL_DOMAIN` (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html) for other values to configure SMTP.
To use an external S3 compatible object store as primary storage, set the following variables:
- `OBJECTSTORE_S3_HOST`: The hostname of the object storage server
- `OBJECTSTORE_S3_BUCKET`: The name of the bucket that Nextcloud should store the data in
- `OBJECTSTORE_S3_KEY`: AWS style access key
- `OBJECTSTORE_S3_SECRET`: AWS style secret access key
- `OBJECTSTORE_S3_PORT`: The port that the object storage server is being served over
- `OBJECTSTORE_S3_SSL` (default: `true`): Whether or not SSL/TLS should be used to communicate with object storage server
- `OBJECTSTORE_S3_REGION`: The region that the S3 bucket resides in.
- `OBJECTSTORE_S3_USEPATH_STYLE` (default: `false`): Not required for AWS S3
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#simple-storage-service-s3) for more information.
To use an external OpenStack Swift object store as primary storage, set the following variables:
- `OBJECTSTORE_SWIFT_URL`: The Swift identity (Keystone) endpoint
- `OBJECTSTORE_SWIFT_AUTOCREATE` (default: `false`): Whether or not Nextcloud should automatically create the Swift container
- `OBJECTSTORE_SWIFT_USER_NAME`: Swift username
- `OBJECTSTORE_SWIFT_USER_PASSWORD`: Swift user password
- `OBJECTSTORE_SWIFT_USER_DOMAIN` (default: `Default`): Swift user domain
- `OBJECTSTORE_SWIFT_PROJECT_NAME`: OpenStack project name
- `OBJECTSTORE_SWIFT_PROJECT_DOMAIN` (default: `Default`): OpenStack project domain
- `OBJECTSTORE_SWIFT_SERVICE_NAME` (default: `swift`): Swift service name
- `OBJECTSTORE_SWIFT_SERVICE_REGION`: Swift endpoint region
- `OBJECTSTORE_SWIFT_CONTAINER_NAME`: Swift container (bucket) that Nextcloud should store the data in
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#openstack-swift) for more information.
## Using the apache image behind a reverse proxy and auto configure server host and protocol
The apache image will replace the remote addr (ip address visible to Nextcloud) with the ip address from `X-Real-IP` if the request is coming from a proxy in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 by default. If you want Nextcloud to pick up the server host (`HTTP_X_FORWARDED_HOST`), protocol (`HTTP_X_FORWARDED_PROTO`) and client ip (`HTTP_X_FORWARDED_FOR`) from a trusted proxy disable rewrite ip and the reverse proxies ip address to `TRUSTED_PROXIES`.
- `APACHE_DISABLE_REWRITE_IP` (not set by default): Set to 1 to disable rewrite ip.
- `TRUSTED_PROXIES` (empty by default): A space-separated list of trusted proxies. CIDR notation is supported for IPv4.
If the `TRUSTED_PROXIES` approach does not work for you, try using fixed values for overwrite parameters.
- `OVERWRITEHOST` (empty by default): Set the hostname of the proxy. Can also specify a port.
- `OVERWRITEPROTOCOL` (empty by default): Set the protocol of the proxy, http or https.
- `OVERWRITEWEBROOT` (empty by default): Set the absolute path of the proxy.
- `OVERWRITECONDADDR` (empty by default): Regex to overwrite the values dependent on the remote address.
Check the [Nexcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html) for more details.
Keep in mind that once set, removing these environment variables won't remove these values from the configuration file, due to how Nextcloud merges configuration files together.
# Running this image with docker-compose
The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples of what you have to look for.
At first, make sure you have chosen the right base image (fpm or apache) and added features you wanted (see below). In every case, you would want to add a database container and docker volumes to get easy access to your persistent data. When you want to have your server reachable from the internet, adding HTTPS-encryption is mandatory! See below for more information.
## Base version - apache
This version will use the apache image and add a mariaDB container. The volumes are set to keep your data persistent. This setup provides **no ssl encryption** and is intended to run behind a proxy.
Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
```yaml
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
restart: always
```
Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
## Base version - FPM
When using the FPM image, you need another container that acts as web server on port 80 and proxies the requests to the Nextcloud container. In this example a simple nginx container is combined with the Nextcloud-fpm image and a MariaDB database container. The data is stored in docker volumes. The nginx container also needs access to static files from your Nextcloud installation. It gets access to all the volumes mounted to Nextcloud via the `volumes_from` option.The configuration for nginx is stored in the configuration file `nginx.conf`, that is mounted into the container. An example can be found in the examples section [here](https://github.com/nextcloud/docker/tree/master/.examples).
As this setup does **not include encryption**, it should be run behind a proxy.
Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
```yaml
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud:fpm
links:
- db
volumes:
- nextcloud:/var/www/html
restart: always
web:
image: nginx
ports:
- 8080:80
links:
- app
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from:
- app
restart: always
```
Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
# Docker Secrets
As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/<secret_name> files. For example:
```yaml
version: '3.2'
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
secrets:
- postgres_db
- postgres_password
- postgres_user
app:
image: nextcloud
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=db
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password
- NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user
depends_on:
- db
secrets:
- nextcloud_admin_password
- nextcloud_admin_user
- postgres_db
- postgres_password
- postgres_user
volumes:
db:
nextcloud:
secrets:
nextcloud_admin_password:
file: ./nextcloud_admin_password.txt # put admin password to this file
nextcloud_admin_user:
file: ./nextcloud_admin_user.txt # put admin username to this file
postgres_db:
file: ./postgres_db.txt # put postgresql db name to this file
postgres_password:
file: ./postgres_password.txt # put postgresql password to this file
postgres_user:
file: ./postgres_user.txt # put postgresql username to this file
```
Currently, this is only supported for `NEXTCLOUD_ADMIN_PASSWORD`, `NEXTCLOUD_ADMIN_USER`, `MYSQL_DB`, `MYSQL_PASSWORD`, `MYSQL_USER`, `POSTGRES_DB`, `POSTGRES_PASSWORD`, `POSTGRES_USER`.
# Make your Nextcloud available from the internet
Until here, your Nextcloud is just available from you docker host. If you want your Nextcloud available from the internet adding SSL encryption is mandatory.
## HTTPS - SSL encryption
There are many different possibilities to introduce encryption depending on your setup.
We recommend using a reverse proxy in front of our Nextcloud installation. Your Nextcloud will only be reachable through the proxy, which encrypts all traffic to the clients. You can mount your manually generated certificates to the proxy or use a fully automated solution which generates and renews the certificates for you.
In our [examples](https://github.com/nextcloud/docker/tree/master/.examples) section we have an example for a fully automated setup using a reverse proxy, a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling, database and Nextcloud. It uses the popular [nginx-proxy](https://github.com/jwilder/nginx-proxy) and [docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers. Please check the according documentations before using this setup.
# First use
When you first access your Nextcloud, the setup wizard will appear and ask you to choose an administrator account username, password and the database connection. For the database use `db` as host and `nextcloud` as table and user name. Also enter the password you chose in your `docker-compose.yml` file.
# Update to a newer version
Updating the Nextcloud container is done by pulling the new image, throwing away the old container and starting the new one.
**It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.**
Since all data is stored in volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. Don't forget to add all the volumes to your new container, so it works as expected.
```console
$ docker pull nextcloud
$ docker stop <your_nextcloud_container>
$ docker rm <your_nextcloud_container>
$ docker run <OPTIONS> -d nextcloud
```
Beware that you have to run the same command with the options that you used to initially start your Nextcloud. That includes volumes, port mapping.
When using docker-compose your compose file takes care of your configuration, so you just have to run:
```console
$ docker-compose pull
$ docker-compose up -d
```
# Adding Features
A lot of people want to use additional functionality inside their Nextcloud installation. If the image does not include the packages you need, you can easily build your own image on top of it.
Start your derived image with the `FROM` statement and add whatever you like.
```yaml
FROM nextcloud:apache
RUN ...
```
The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron job, smb-support or imap-authentication.
If you use your own Dockerfile, you need to configure your docker-compose file accordingly. Switch out the `image` option with `build`. You have to specify the path to your Dockerfile. (in the example it's in the same directory next to the docker-compose file)
```yaml
app:
build: .
links:
- db
volumes:
- data:/var/www/html/data
- config:/var/www/html/config
- apps:/var/www/html/apps
restart: always
```
If you intend to use another command to run the image, make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work.
```yaml
FROM nextcloud:apache
...
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord"]
```
**Updating** your own derived image is also very simple. When a new version of the Nextcloud image is available run:
```console
docker build -t your-name --pull .
docker run -d your-name
```
or for docker-compose:
```console
docker-compose build --pull
docker-compose up -d
```
The `--pull` option tells docker to look for new versions of the base image. Then the build instructions inside your `Dockerfile` are run on top of the new image.
# Migrating an existing installation
You're already using Nextcloud and want to switch to docker? Great! Here are some things to look out for:
1. Define your whole Nextcloud infrastructure in a `docker-compose` file and run it with `docker-compose up -d` to get the base installation, volumes and database. Work from there.
2. Restore your database from a mysqldump (nextcloud\_db\_1 is the name of your db container)
- To import from a MySQL dump use the following commands
```console
docker cp ./database.dmp nextcloud_db_1:/dmp
docker-compose exec db sh -c "mysql -u USER -pPASSWORD nextcloud < /dmp"
docker-compose exec db rm /dmp
```
- To import from a PostgreSQL dump use to following commands
```console
docker cp ./database.dmp nextcloud_db_1:/dmp
docker-compose exec db sh -c "psql -U USER --set ON_ERROR_STOP=on nextcloud < /dmp"
docker-compose exec db rm /dmp
```
3. Edit your config.php
1. Set database connection
- In case of MySQL database
```php
'dbhost' => 'db:3306',
```
- In case of PostgreSQL database
```php
'dbhost' => 'db:5432',
```
2. Make sure you have no configuration for the `apps_paths`. Delete lines like these
```diff
- "apps_paths" => array (
- 0 => array (
- "path" => OC::$SERVERROOT."/apps",
- "url" => "/apps",
- "writable" => true,
- ),
```
3. Make sure to have the `apps` directory non writable and the `custom_apps` directory writable
```php
'apps_paths' => array (
0 => array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
```
4. Make sure your data directory is set to /var/www/html/data
```php
'datadirectory' => '/var/www/html/data',
```
4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container):
```console
docker cp ./data/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/data
docker cp ./theming/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/theming
docker cp ./config/config.php nextcloud_app_1:/var/www/html/config
docker-compose exec app chown -R www-data:www-data /var/www/html/config
```
5. Copy only the custom apps you use (or simply redownload them from the web interface):
```console
docker cp ./custom_apps/ nextcloud_data:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/custom_apps
```
# Questions / Issues
If you got any questions or problems using the image, please visit our [Github Repository](https://github.com/nextcloud/docker) and write an issue.

View File

@ -0,0 +1,190 @@
<?php
/**
*
*
* FIXED ZipStreammer to 64bit. 1) https://github.com/nextcloud/server/pull/15367
* 2) https://github.com/artonge/server/commit/435022515de1983f0fe3d3116acb71a0ed439693
*
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Daniel Calviño Sánchez <danxuliu@gmail.com>
* @author Joas Schilling <coding@schilljs.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Thomas Müller <thomas.mueller@tmit.eu>
* @author Victor Dubiniuk <dubiniuk@owncloud.com>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
namespace OC;
use OC\Files\Filesystem;
use OCP\Files\File;
use OCP\Files\Folder;
use OCP\Files\InvalidPathException;
use OCP\Files\NotFoundException;
use OCP\Files\NotPermittedException;
use OCP\IRequest;
use ownCloud\TarStreamer\TarStreamer;
use ZipStreamer\ZipStreamer;
class Streamer {
// array of regexp. Matching user agents will get tar instead of zip
private $preferTarFor = [ '/macintosh|mac os x/i' ];
// streamer instance
private $streamerInstance;
/**
* Streamer constructor.
*
* @param IRequest $request
* @param int $size The size of the files in bytes
* @param int $numberOfFiles The number of files (and directories) that will
* be included in the streamed file
*/
public function __construct(IRequest $request, $size, int $numberOfFiles){
/**
* zip32 constraints for a basic (without compression, volumes nor
* encryption) zip file according to the Zip specification:
* - No file size is larger than 4 bytes (file size < 4294967296); see
* 4.4.9 uncompressed size
* - The size of all files plus their local headers is not larger than
* 4 bytes; see 4.4.16 relative offset of local header and 4.4.24
* offset of start of central directory with respect to the starting
* disk number
* - The total number of entries (files and directories) in the zip file
* is not larger than 2 bytes (number of entries < 65536); see 4.4.22
* total number of entries in the central dir
* - The size of the central directory is not larger than 4 bytes; see
* 4.4.23 size of the central directory
*
* Due to all that, zip32 is used if the size is below 4GB and there are
* less than 65536 files; the margin between 4*1000^3 and 4*1024^3
* should give enough room for the extra zip metadata. Technically, it
* would still be possible to create an invalid zip32 file (for example,
* a zip file from files smaller than 4GB with a central directory
* larger than 4GiB), but it should not happen in the real world.
*/
if ($size < 4 * 1000 * 1000 * 1000 && $numberOfFiles < 65536) {
$this->streamerInstance = new ZipStreamer(['zip64' => true]);
} else if ($request->isUserAgent($this->preferTarFor)) {
$this->streamerInstance = new TarStreamer();
} else {
$this->streamerInstance = new ZipStreamer(['zip64' => PHP_INT_SIZE !== 4]);
}
}
/**
* Send HTTP headers
* @param string $name
*/
public function sendHeaders($name){
$extension = $this->streamerInstance instanceof ZipStreamer ? '.zip' : '.tar';
$fullName = $name . $extension;
$this->streamerInstance->sendHeaders($fullName);
}
/**
* Stream directory recursively
*
* @throws NotFoundException
* @throws NotPermittedException
* @throws InvalidPathException
*/
public function addDirRecursive(string $dir, string $internalDir = ''): void {
$dirname = basename($dir);
$rootDir = $internalDir . $dirname;
if (!empty($rootDir)) {
$this->streamerInstance->addEmptyDir($rootDir);
}
$internalDir .= $dirname . '/';
// prevent absolute dirs
$internalDir = ltrim($internalDir, '/');
$userFolder = \OC::$server->getRootFolder()->get(Filesystem::getRoot());
/** @var Folder $dirNode */
$dirNode = $userFolder->get($dir);
$files = $dirNode->getDirectoryListing();
foreach($files as $file) {
if($file instanceof File) {
try {
$fh = $file->fopen('r');
} catch (NotPermittedException $e) {
continue;
}
$this->addFileFromStream(
$fh,
$internalDir . $file->getName(),
$file->getSize(),
$file->getMTime()
);
fclose($fh);
} elseif ($file instanceof Folder) {
if($file->isReadable()) {
$this->addDirRecursive($dir . '/' . $file->getName(), $internalDir);
}
}
}
}
/**
* Add a file to the archive at the specified location and file name.
*
* @param string $stream Stream to read data from
* @param string $internalName Filepath and name to be used in the archive.
* @param int $size Filesize
* @param int|bool $time File mtime as int, or false
* @return bool $success
*/
public function addFileFromStream($stream, $internalName, $size, $time) {
$options = [];
if ($time) {
$options = [
'timestamp' => $time
];
}
if ($this->streamerInstance instanceof ZipStreamer) {
return $this->streamerInstance->addFileFromStream($stream, $internalName, $options);
} else {
return $this->streamerInstance->addFileFromStream($stream, $internalName, $size, $options);
}
}
/**
* Add an empty directory entry to the archive.
*
* @param string $dirName Directory Path and name to be added to the archive.
* @return bool $success
*/
public function addEmptyDir($dirName){
return $this->streamerInstance->addEmptyDir($dirName);
}
/**
* Close the archive.
* A closed archive can no longer have new files added to it. After
* closing, the file is completely written to the output stream.
* @return bool $success
*/
public function finalize(){
return $this->streamerInstance->finalize();
}
}

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/nextcloud:28-patched"
build:
context: .

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,28 +1,28 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
#deb [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
#deb-src [trusted=yes] http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -1,22 +1,22 @@
#main
deb http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
#deb http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb-src http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
#security
deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

View File

@ -1,22 +1,22 @@
#main
deb http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
#deb http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb-src http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
#security
deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

View File

@ -0,0 +1,82 @@
FROM nextcloud:28
ENV DEBIAN_FRONTEND noninteractive
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, developer@epicm.org"
LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z"
LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker"
LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker"
LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg"
LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec"
LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2"
LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg"
LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6"
LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6"
LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB"
LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3"
LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE"
LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1"
##################################################################
# adding normal sources list
##################################################################
RUN rm -rfv /etc/apt/sources.list
COPY sources.list /etc/apt/sources.list
##################################################################
# adding some utils
##################################################################
RUN apt update -y && \
apt dist-upgrade -y && \
apt install -y --allow-unauthenticated \
apt-transport-https \
curl \
ca-certificates \
ghostscript \
nload \
htop \
mc \
nano \
sudo \
imagemagick \
imagemagick-common \
sqlite3 \
smbclient \
libsmbclient \
wget \
net-tools \
iputils-ping
##################################################################
# installing php repo + smbclient
##################################################################
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
RUN apt update -y && \
apt install -y --allow-unauthenticated \
libsmbclient-dev \
libmagickwand-dev \
libmagickcore-dev \
libc-client-dev \
libkrb5-dev \
libsqlite3-dev \
libssl-dev
RUN pecl install inotify && \
docker-php-ext-enable inotify
RUN pecl install smbclient && \
docker-php-ext-enable smbclient
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install imap && \
docker-php-ext-enable imap
RUN docker-php-ext-install fileinfo bz2 intl ftp pdo_sqlite && \
docker-php-ext-enable fileinfo bz2 intl ftp pdo_sqlite
##################################################################
# smb fix
##################################################################
RUN rm -frv /etc/samba/smb.conf /usr/share/samba/smb.conf
ADD smb.conf /etc/samba/
ADD smb.conf /usr/share/samba/

View File

@ -0,0 +1,527 @@
# What is Nextcloud?
[![GitHub CI build status badge](https://github.com/nextcloud/docker/workflows/Images/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3AImages)
[![update.sh build status badge](https://github.com/nextcloud/docker/workflows/update.sh/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3Aupdate.sh)
[![amd64 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud.svg?label=amd64)](https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud)
[![arm32v5 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud.svg?label=arm32v5)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud)
[![arm32v6 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud.svg?label=arm32v6)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud)
[![arm32v7 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud.svg?label=arm32v7)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud)
[![arm64v8 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud.svg?label=arm64v8)](https://doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud)
[![i386 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud.svg?label=i386)](https://doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud)
[![mips64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud.svg?label=mips64le)](https://doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud)
[![ppc64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud.svg?label=ppc64le)](https://doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud)
[![s390x build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud.svg?label=s390x)](https://doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud)
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
![logo](https://cdn.rawgit.com/nextcloud/docker/80dd587d847b184ba95d7187a2a7a56ae4cbbb7b/logo.svg)
# How to use this image
This image is designed to be used in a micro-service environment. There are two versions of the image you can choose from.
The `apache` tag contains a full Nextcloud installation including an apache web server. It is designed to be easy to use and gets you running pretty fast. This is also the default for the `latest` tag and version tags that are not further specified.
The second option is a `fpm` container. It is based on the [php-fpm](https://hub.docker.com/_/php/) image and runs a fastCGI-Process that serves your Nextcloud page. To use this image it must be combined with any webserver that can proxy the http requests to the FastCGI-port of the container.
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/nextcloud/docker/8db861d67f257a3e9ac1790ea06d4e2a7a193a6c/stack.yml)
## Using the apache image
The apache image contains a webserver and exposes port 80. To start the container type:
```console
$ docker run -d -p 8080:80 nextcloud
```
Now you can access Nextcloud at http://localhost:8080/ from your host system.
## Using the fpm image
To use the fpm image, you need an additional web server that can proxy http-request to the fpm-port of the container. For fpm connection this container exposes port 9000. In most cases, you might want use another container or your host as proxy.
If you use your host you can address your Nextcloud container directly on port 9000. If you use another container, make sure that you add them to the same docker network (via `docker run --network <NAME> ...` or a `docker-compose` file).
In both cases you don't want to map the fpm port to your host.
```console
$ docker run -d nextcloud:fpm
```
As the fastCGI-Process is not capable of serving static files (style sheets, images, ...), the webserver needs access to these files. This can be achieved with the `volumes-from` option. You can find more information in the [docker-compose section](#running-this-image-with-docker-compose).
## Using an external database
By default, this container uses SQLite for data storage but the Nextcloud setup wizard (appears on first run) allows connecting to an existing MySQL/MariaDB or PostgreSQL database. You can also link a database container, e. g. `--link my-mysql:mysql`, and then use `mysql` as the database host on setup. More info is in the docker-compose section.
## Persistent data
The Nextcloud installation and all data beyond what lives in the database (file uploads, etc) are stored in the [unnamed docker volume](https://docs.docker.com/engine/tutorials/dockervolumes/#adding-a-data-volume) volume `/var/www/html`. The docker daemon will store that data within the docker directory `/var/lib/docker/volumes/...`. That means your data is saved even if the container crashes, is stopped or deleted.
A named Docker volume or a mounted host directory should be used for upgrades and backups. To achieve this, you need one volume for your database container and one for Nextcloud.
Nextcloud:
- `/var/www/html/` folder where all nextcloud data lives
```console
$ docker run -d \
-v nextcloud:/var/www/html \
nextcloud
```
Database:
- `/var/lib/mysql` MySQL / MariaDB Data
- `/var/lib/postgresql/data` PostgreSQL Data
```console
$ docker run -d \
-v db:/var/lib/mysql \
mariadb
```
If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps.
The `data`, `config` files are stored in respective subfolders inside `/var/www/html/`. The apps are split into core `apps` (which are shipped with Nextcloud and you don't need to take care of) and a `custom_apps` folder. If you use a custom theme it would go into the `themes` subfolder.
Overview of the folders that can be mounted as volumes:
- `/var/www/html` Main folder, needed for updating
- `/var/www/html/custom_apps` installed / modified apps
- `/var/www/html/config` local configuration
- `/var/www/html/data` the actual data of your Nextcloud
- `/var/www/html/themes/<YOUR_CUSTOM_THEME>` theming/branding
If you want to use named volumes for all of these, it would look like this:
```console
$ docker run -d \
-v nextcloud:/var/www/html \
-v apps:/var/www/html/custom_apps \
-v config:/var/www/html/config \
-v data:/var/www/html/data \
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
nextcloud
```
## Using the Nextcloud command-line interface
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):
```console
$ docker exec --user www-data CONTAINER_ID php occ
```
or for docker-compose:
```console
$ docker-compose exec --user www-data app php occ
```
## Auto configuration via environment variables
The nextcloud image supports auto configuration via environment variables. You can preconfigure everything that is asked on the install page on first run. To enable auto configuration, set your database connection via the following environment variables. ONLY use one database type!
__SQLite__:
- `SQLITE_DATABASE` Name of the database using sqlite
__MYSQL/MariaDB__:
- `MYSQL_DATABASE` Name of the database using mysql / mariadb.
- `MYSQL_USER` Username for the database using mysql / mariadb.
- `MYSQL_PASSWORD` Password for the database user using mysql / mariadb.
- `MYSQL_HOST` Hostname of the database server using mysql / mariadb.
__PostgreSQL__:
- `POSTGRES_DB` Name of the database using postgres.
- `POSTGRES_USER` Username for the database using postgres.
- `POSTGRES_PASSWORD` Password for the database user using postgres.
- `POSTGRES_HOST` Hostname of the database server using postgres.
If you set any values, they will not be asked in the install page on first run. With a complete configuration by using all variables for your database type, you can additionally configure your Nextcloud instance by setting admin user and password (only works if you set both):
- `NEXTCLOUD_ADMIN_USER` Name of the Nextcloud admin user.
- `NEXTCLOUD_ADMIN_PASSWORD` Password for the Nextcloud admin user.
If you want, you can set the data directory, otherwise default value will be used.
- `NEXTCLOUD_DATA_DIR` (default: _/var/www/html/data_) Configures the data directory where nextcloud stores all files from the users.
One or more trusted domains can be set through environment variable, too. They will be added to the configuration after install.
- `NEXTCLOUD_TRUSTED_DOMAINS` (not set by default) Optional space-separated list of domains
The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with
- `NEXTCLOUD_UPDATE` (default: _0_)
If you want to use Redis you have to create a separate [Redis](https://hub.docker.com/_/redis/) container in your setup / in your docker-compose file. To inform Nextcloud about the Redis container, pass in the following parameters:
- `REDIS_HOST` (not set by default) Name of Redis container
- `REDIS_HOST_PORT` (default: _6379_) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
- `REDIS_HOST_PASSWORD` (not set by default) Redis password
The use of Redis is recommended to prevent file locking problems. See the examples for further instructions.
To use an external SMTP server, you have to provide the connection details. To configure Nextcloud to use SMTP add:
- `SMTP_HOST` (not set by default): The hostname of the SMTP server.
- `SMTP_SECURE` (empty by default): Set to `ssl` to use SSL, or `tls` to use STARTTLS.
- `SMTP_PORT` (default: `465` for SSL and `25` for non-secure connections): Optional port for the SMTP connection. Use `587` for an alternative port for STARTTLS.
- `SMTP_AUTHTYPE` (default: `LOGIN`): The method used for authentication. Use `PLAIN` if no authentication is required.
- `SMTP_NAME` (empty by default): The username for the authentication.
- `SMTP_PASSWORD` (empty by default): The password for the authentication.
- `MAIL_FROM_ADDRESS` (not set by default): Use this address for the 'from' field in the emails sent by Nextcloud.
- `MAIL_DOMAIN` (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html) for other values to configure SMTP.
To use an external S3 compatible object store as primary storage, set the following variables:
- `OBJECTSTORE_S3_HOST`: The hostname of the object storage server
- `OBJECTSTORE_S3_BUCKET`: The name of the bucket that Nextcloud should store the data in
- `OBJECTSTORE_S3_KEY`: AWS style access key
- `OBJECTSTORE_S3_SECRET`: AWS style secret access key
- `OBJECTSTORE_S3_PORT`: The port that the object storage server is being served over
- `OBJECTSTORE_S3_SSL` (default: `true`): Whether or not SSL/TLS should be used to communicate with object storage server
- `OBJECTSTORE_S3_REGION`: The region that the S3 bucket resides in.
- `OBJECTSTORE_S3_USEPATH_STYLE` (default: `false`): Not required for AWS S3
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#simple-storage-service-s3) for more information.
To use an external OpenStack Swift object store as primary storage, set the following variables:
- `OBJECTSTORE_SWIFT_URL`: The Swift identity (Keystone) endpoint
- `OBJECTSTORE_SWIFT_AUTOCREATE` (default: `false`): Whether or not Nextcloud should automatically create the Swift container
- `OBJECTSTORE_SWIFT_USER_NAME`: Swift username
- `OBJECTSTORE_SWIFT_USER_PASSWORD`: Swift user password
- `OBJECTSTORE_SWIFT_USER_DOMAIN` (default: `Default`): Swift user domain
- `OBJECTSTORE_SWIFT_PROJECT_NAME`: OpenStack project name
- `OBJECTSTORE_SWIFT_PROJECT_DOMAIN` (default: `Default`): OpenStack project domain
- `OBJECTSTORE_SWIFT_SERVICE_NAME` (default: `swift`): Swift service name
- `OBJECTSTORE_SWIFT_SERVICE_REGION`: Swift endpoint region
- `OBJECTSTORE_SWIFT_CONTAINER_NAME`: Swift container (bucket) that Nextcloud should store the data in
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#openstack-swift) for more information.
## Using the apache image behind a reverse proxy and auto configure server host and protocol
The apache image will replace the remote addr (ip address visible to Nextcloud) with the ip address from `X-Real-IP` if the request is coming from a proxy in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 by default. If you want Nextcloud to pick up the server host (`HTTP_X_FORWARDED_HOST`), protocol (`HTTP_X_FORWARDED_PROTO`) and client ip (`HTTP_X_FORWARDED_FOR`) from a trusted proxy disable rewrite ip and the reverse proxies ip address to `TRUSTED_PROXIES`.
- `APACHE_DISABLE_REWRITE_IP` (not set by default): Set to 1 to disable rewrite ip.
- `TRUSTED_PROXIES` (empty by default): A space-separated list of trusted proxies. CIDR notation is supported for IPv4.
If the `TRUSTED_PROXIES` approach does not work for you, try using fixed values for overwrite parameters.
- `OVERWRITEHOST` (empty by default): Set the hostname of the proxy. Can also specify a port.
- `OVERWRITEPROTOCOL` (empty by default): Set the protocol of the proxy, http or https.
- `OVERWRITEWEBROOT` (empty by default): Set the absolute path of the proxy.
- `OVERWRITECONDADDR` (empty by default): Regex to overwrite the values dependent on the remote address.
Check the [Nexcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html) for more details.
Keep in mind that once set, removing these environment variables won't remove these values from the configuration file, due to how Nextcloud merges configuration files together.
# Running this image with docker-compose
The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples of what you have to look for.
At first, make sure you have chosen the right base image (fpm or apache) and added features you wanted (see below). In every case, you would want to add a database container and docker volumes to get easy access to your persistent data. When you want to have your server reachable from the internet, adding HTTPS-encryption is mandatory! See below for more information.
## Base version - apache
This version will use the apache image and add a mariaDB container. The volumes are set to keep your data persistent. This setup provides **no ssl encryption** and is intended to run behind a proxy.
Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
```yaml
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
restart: always
```
Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
## Base version - FPM
When using the FPM image, you need another container that acts as web server on port 80 and proxies the requests to the Nextcloud container. In this example a simple nginx container is combined with the Nextcloud-fpm image and a MariaDB database container. The data is stored in docker volumes. The nginx container also needs access to static files from your Nextcloud installation. It gets access to all the volumes mounted to Nextcloud via the `volumes_from` option.The configuration for nginx is stored in the configuration file `nginx.conf`, that is mounted into the container. An example can be found in the examples section [here](https://github.com/nextcloud/docker/tree/master/.examples).
As this setup does **not include encryption**, it should be run behind a proxy.
Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
```yaml
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud:fpm
links:
- db
volumes:
- nextcloud:/var/www/html
restart: always
web:
image: nginx
ports:
- 8080:80
links:
- app
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from:
- app
restart: always
```
Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
# Docker Secrets
As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/<secret_name> files. For example:
```yaml
version: '3.2'
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
secrets:
- postgres_db
- postgres_password
- postgres_user
app:
image: nextcloud
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=db
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password
- NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user
depends_on:
- db
secrets:
- nextcloud_admin_password
- nextcloud_admin_user
- postgres_db
- postgres_password
- postgres_user
volumes:
db:
nextcloud:
secrets:
nextcloud_admin_password:
file: ./nextcloud_admin_password.txt # put admin password to this file
nextcloud_admin_user:
file: ./nextcloud_admin_user.txt # put admin username to this file
postgres_db:
file: ./postgres_db.txt # put postgresql db name to this file
postgres_password:
file: ./postgres_password.txt # put postgresql password to this file
postgres_user:
file: ./postgres_user.txt # put postgresql username to this file
```
Currently, this is only supported for `NEXTCLOUD_ADMIN_PASSWORD`, `NEXTCLOUD_ADMIN_USER`, `MYSQL_DB`, `MYSQL_PASSWORD`, `MYSQL_USER`, `POSTGRES_DB`, `POSTGRES_PASSWORD`, `POSTGRES_USER`.
# Make your Nextcloud available from the internet
Until here, your Nextcloud is just available from you docker host. If you want your Nextcloud available from the internet adding SSL encryption is mandatory.
## HTTPS - SSL encryption
There are many different possibilities to introduce encryption depending on your setup.
We recommend using a reverse proxy in front of our Nextcloud installation. Your Nextcloud will only be reachable through the proxy, which encrypts all traffic to the clients. You can mount your manually generated certificates to the proxy or use a fully automated solution which generates and renews the certificates for you.
In our [examples](https://github.com/nextcloud/docker/tree/master/.examples) section we have an example for a fully automated setup using a reverse proxy, a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling, database and Nextcloud. It uses the popular [nginx-proxy](https://github.com/jwilder/nginx-proxy) and [docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers. Please check the according documentations before using this setup.
# First use
When you first access your Nextcloud, the setup wizard will appear and ask you to choose an administrator account username, password and the database connection. For the database use `db` as host and `nextcloud` as table and user name. Also enter the password you chose in your `docker-compose.yml` file.
# Update to a newer version
Updating the Nextcloud container is done by pulling the new image, throwing away the old container and starting the new one.
**It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.**
Since all data is stored in volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. Don't forget to add all the volumes to your new container, so it works as expected.
```console
$ docker pull nextcloud
$ docker stop <your_nextcloud_container>
$ docker rm <your_nextcloud_container>
$ docker run <OPTIONS> -d nextcloud
```
Beware that you have to run the same command with the options that you used to initially start your Nextcloud. That includes volumes, port mapping.
When using docker-compose your compose file takes care of your configuration, so you just have to run:
```console
$ docker-compose pull
$ docker-compose up -d
```
# Adding Features
A lot of people want to use additional functionality inside their Nextcloud installation. If the image does not include the packages you need, you can easily build your own image on top of it.
Start your derived image with the `FROM` statement and add whatever you like.
```yaml
FROM nextcloud:apache
RUN ...
```
The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron job, smb-support or imap-authentication.
If you use your own Dockerfile, you need to configure your docker-compose file accordingly. Switch out the `image` option with `build`. You have to specify the path to your Dockerfile. (in the example it's in the same directory next to the docker-compose file)
```yaml
app:
build: .
links:
- db
volumes:
- data:/var/www/html/data
- config:/var/www/html/config
- apps:/var/www/html/apps
restart: always
```
If you intend to use another command to run the image, make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work.
```yaml
FROM nextcloud:apache
...
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord"]
```
**Updating** your own derived image is also very simple. When a new version of the Nextcloud image is available run:
```console
docker build -t your-name --pull .
docker run -d your-name
```
or for docker-compose:
```console
docker-compose build --pull
docker-compose up -d
```
The `--pull` option tells docker to look for new versions of the base image. Then the build instructions inside your `Dockerfile` are run on top of the new image.
# Migrating an existing installation
You're already using Nextcloud and want to switch to docker? Great! Here are some things to look out for:
1. Define your whole Nextcloud infrastructure in a `docker-compose` file and run it with `docker-compose up -d` to get the base installation, volumes and database. Work from there.
2. Restore your database from a mysqldump (nextcloud\_db\_1 is the name of your db container)
- To import from a MySQL dump use the following commands
```console
docker cp ./database.dmp nextcloud_db_1:/dmp
docker-compose exec db sh -c "mysql -u USER -pPASSWORD nextcloud < /dmp"
docker-compose exec db rm /dmp
```
- To import from a PostgreSQL dump use to following commands
```console
docker cp ./database.dmp nextcloud_db_1:/dmp
docker-compose exec db sh -c "psql -U USER --set ON_ERROR_STOP=on nextcloud < /dmp"
docker-compose exec db rm /dmp
```
3. Edit your config.php
1. Set database connection
- In case of MySQL database
```php
'dbhost' => 'db:3306',
```
- In case of PostgreSQL database
```php
'dbhost' => 'db:5432',
```
2. Make sure you have no configuration for the `apps_paths`. Delete lines like these
```diff
- "apps_paths" => array (
- 0 => array (
- "path" => OC::$SERVERROOT."/apps",
- "url" => "/apps",
- "writable" => true,
- ),
```
3. Make sure to have the `apps` directory non writable and the `custom_apps` directory writable
```php
'apps_paths' => array (
0 => array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
```
4. Make sure your data directory is set to /var/www/html/data
```php
'datadirectory' => '/var/www/html/data',
```
4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container):
```console
docker cp ./data/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/data
docker cp ./theming/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/theming
docker cp ./config/config.php nextcloud_app_1:/var/www/html/config
docker-compose exec app chown -R www-data:www-data /var/www/html/config
```
5. Copy only the custom apps you use (or simply redownload them from the web interface):
```console
docker cp ./custom_apps/ nextcloud_data:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/custom_apps
```
# Questions / Issues
If you got any questions or problems using the image, please visit our [Github Repository](https://github.com/nextcloud/docker) and write an issue.

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/nextcloud:28"
build:
context: .

View File

@ -0,0 +1,22 @@
#main
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
#deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
#security
deb [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

View File

@ -1,22 +1,22 @@
#main
deb http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
#deb http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb-src http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
#deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
#security
deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src [trusted=yes] http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

View File

@ -32,79 +32,90 @@ RUN pip --version
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
autoconf \
autoconf-archive \
automake \
libtool \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
# libvpx6 \ #not avalible
tcl \
fuse3 \
g++ \
g++-multilib \
gcc \
libc6-dev \
make \
pkg-config \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
python-dev \
g++-multilib \
autoconf \
automake \
krb5-user \
libavcodec-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
gdb \
strace
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev \
python3-all-dev \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers

View File

@ -34,80 +34,92 @@ RUN pip --version
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
autoconf \
autoconf-archive \
automake \
libtool \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl \
fuse3 \
g++ \
g++-multilib \
gcc \
libc6-dev \
make \
pkg-config \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
python-dev \
python3-all-dev \
g++-multilib \
autoconf \
automake \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
gdb \
strace
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev-is-python3 \
python3-all-dev \
qml-module-qt-labs-qmlmodels \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers

View File

@ -34,80 +34,92 @@ RUN pip --version
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
autoconf \
autoconf-archive \
automake \
libtool \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl \
fuse3 \
g++ \
g++-multilib \
gcc \
libc6-dev \
make \
pkg-config \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
python-dev \
python3-all-dev \
g++-multilib \
autoconf \
automake \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
gdb \
strace
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev-is-python3 \
python3-all-dev \
qml-module-qt-labs-qmlmodels \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers

View File

@ -34,80 +34,92 @@ RUN pip --version
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
autoconf \
autoconf-archive \
automake \
libtool \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl \
fuse3 \
g++ \
g++-multilib \
gcc \
libc6-dev \
make \
pkg-config \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
python-dev \
python3-all-dev \
g++-multilib \
autoconf \
automake \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
gdb \
strace
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev-is-python3 \
python3-all-dev \
qml-module-qt-labs-qmlmodels \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers

View File

@ -1,6 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/python:3.11-develop"
image: "epicmorg/python:3.12-develop"
build:
context: .

View File

@ -0,0 +1,160 @@
FROM epicmorg/python:3.13
ARG DEBIAN_FRONTEND=noninteractive
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
##################################################################
# ARGuments
##################################################################
ENV BuildDocker true
ENV GOPATH=/go
ENV PATH="${GOPATH}/bin:${PATH}"
ARG BUILDS_DIR=/builds
ARG SRC_DIR=${BUILDS_DIR}/src
ARG EXPORT_DIR=${BUILDS_DIR}/export
ARG NINJA_ARCH=linux
ARG NINJA_VERSION=latest
ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION}
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR}
##################################################################
# Version
##################################################################
RUN python3 --version
RUN pip3 --version
RUN python --version
RUN pip --version
##################################################################
# installing
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
at \
autoconf \
autoconf-archive \
automake \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
fuse3 \
g++ \
g++-multilib \
gcc \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev-is-python3 \
python3-all-dev \
qml-module-qt-labs-qmlmodels \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers
##################################################################
RUN printf "\n--------------------------------\n$(go version)\n--------------------------------\n\n"
##################################################################
# Get NINJA binary
##################################################################
RUN curl -s ${NINJA_RELEASE_URL} | jq -r ".assets[] | select(.name | test(\"${NINJA_ARCH}\")) | .browser_download_url" > /tmp/ninja-url.txt && \
cat /tmp/ninja-url.txt && \
cd /tmp && \
wget -q -c --input-file=/tmp/ninja-url.txt && \
unzip -o /tmp/ninja-linux.zip -d /bin && \
printf "\n--------------------------------\nninja version: $(ninja --version)\n--------------------------------\n\n"
##################################################################
# Version
##################################################################
RUN python3 --version
RUN pip3 --version
RUN python --version
RUN pip --version
##################################################################
# update locales
##################################################################
RUN locale-gen
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/python:3.13-develop"
build:
context: .

View File

@ -33,81 +33,94 @@ RUN pip --version
# installing
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
apt-get install -y --allow-unauthenticated \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
autoconf \
autoconf-archive \
automake \
libtool \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl \
fuse3 \
g++ \
g++-multilib \
gcc \
libc6-dev \
make \
pkg-config \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
libvpx6 \
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev \
python3-all-dev \
g++-multilib \
autoconf \
automake \
libtool \
gdb \
strace
qml-module-qt-labs-qmlmodels \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers

View File

@ -34,80 +34,92 @@ RUN pip --version
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
autoconf \
autoconf-archive \
automake \
libtool \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl \
fuse3 \
g++ \
g++-multilib \
gcc \
libc6-dev \
make \
pkg-config \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
python-dev \
python3-all-dev \
g++-multilib \
autoconf \
automake \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
gdb \
strace
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev-is-python3 \
python3-all-dev \
qml-module-qt-labs-qmlmodels \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers

View File

@ -34,80 +34,92 @@ RUN pip --version
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
autoconf \
autoconf-archive \
automake \
libtool \
autopkgtest \
autotools-dev \
build-essential \
checkinstall \
cmake \
devscripts \
dh-make \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl \
fuse3 \
g++ \
g++-multilib \
gcc \
libc6-dev \
make \
pkg-config \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
golang \
golang-go \
python-dev \
python3-all-dev \
g++-multilib \
autoconf \
automake \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
gdb \
strace
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt-dev \
libz-dev \
libzip-dev \
luajit \
make \
nvidia-cg-dev \
nvidia-cg-toolkit \
pkg-config \
protobuf-c-compiler \
python-dev-is-python3 \
python3-all-dev \
qml-module-qt-labs-qmlmodels \
qml-module-qtquick-controls2 \
qt5-qmake \
qtbase5-dev \
qtbase5-dev-tools \
qtcreator \
qtdeclarative5-dev \
qttools5-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev
##################################################################
# GO compillers

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