* Skip downloading of packages if folder already exists
The base image is using onbuild instructions to reduce code duplication (in regards to fetching Kopano packages). Sadly the unbuild instructions are not only executed on the directly following container image, but in every image that is using the images from this project as a base.
Fixes https://github.com/zokradonh/kopano-docker/issues/430
* update to Debian Buster
* update webapp container
* update kdav image to buster
* add some debug commands
* use onbuild to specify building of core repository only in one place
* remove ca-certificates and git from kdav image
* git should not be needed since kdav has a builder stage
* ca-certificates is already installed in an earlier stage
* upgrade to Debian 10 for Z-Push
* switch remaining Debian 9 repos in webapp
* use a new major version for the base image
* since its now based on buster
* add new parameters to the onbuild step
* update repos in setup.sh
* switch default distribution in create repo script
* add tests for downloading archive from kopano download server
add some makefile defaults
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* linting
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* also add the ability to download the tar for supported releases
* use env variables for distribution, channel and branch
* add tests for new archive download for supported releases
* fix version syntax
* commander: verify output of version.sh
* commander: exit setup.sh with code 1 when .env exists
* add commander to travis
* minimal test for commander in core container
* tune .editorconfig for the existing files
* fix reported linting issues
* travis: switch language to node_js to be able to run npm
* travis: build on ubuntu bionic
* add docker pull to warm up build cache on travis
* explicitly build multi stage build stages
* make create repo script dynamic in the choice of the distribution
add example docker-compose (for easy copy and paste)
refactor common multi stage image to base image for core and webapp
add docker version tagging
add a version to the base image as well
Signed-off-by: Felix Bartels <felix@host-consultants.de>