* Added KAPPS_VERSION
The KAPPS_VERSION didin't match the CORE_VERSION execept for latest.
A new KAAPS_VERSION var in the .env, which defaults to latest, will fix this.
Co-authored-by: Anton Engelhardt <anton@neednow.de>
Co-authored-by: Felix Bartels <1257835+fbartels@users.noreply.github.com>
* implement new env variable to disable all automatic actions
fixes https://github.com/zokradonh/kopano-docker/issues/360
* wrap the remaining services in checks if autoconfigure/disable_checks is used
* move definition of AUTOCONFIGURE variable into base image
* add logic to kapps and kdav container
* add autoconfigure to konnect container
* update build stage to latest golang
* add autoconfig to remaining images
* delete obsolete apache config in z-push folder
* when specifying config paths use KOPANO_CONFIG_PATH
* also use env variable in helper scripts
* add message about removal of kopano-cli
* Add container for kopano-spamd
* Authenticate version requests if needed
* Fix building of z-push for 'supported' base image
* Install kopano-spamd package by default
* Smaller fixes for kopano-spamd
* Fix missing file header
* simplify netrc usage
* 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
* add kweb config for z-push
* clean out apache bits from z-push container and use kopano_php as the base
* fix commander tests for current php version
* globally define log location for php-fpm error_log
* move port in outer kweb config
* rewrite other spellings of the autodiscover url
* fix port in startup test
* force plain output to buildkit
* reorder z-push dockerfile
* Tweaks to allow building supported releases while also including Kapps
* switch files to pre-final
* define default for kapps repo
Signed-off-by: Felix Bartels <felix@host-consultants.de>
Upstream report for z-push Debian packaging is issued, while it's not resolved an additional dependency.
Can be removed once https://jira.z-hub.io/projects/ZP/issues/ZP-1558 is fixed
Co-authored-by: Anton Engelhardt <anton@neednow.de>
* Fix build for official and supported releases
* Fix config generation: skip missing config files
* kopano-search ignores KOPANO_CONFIG_PATH env var
* Use kopano core 8.7 by default
* Include APT release key in this repo
* Copy APT release key into image
* sort .gitignore and add apt_auth.conf to it
* add helper to setup.sh to create apt_auth.conf (user still needs to enter their own credentials)
* only create apt_auth.conf in make if it doesn't already exist
* add tooling to core dockerfile and makefile to use build secrets
* add ignore for hadolint as mounting syntax is currently not supported so far
* update to latest docker on travis for buildkit support
* documentation
* sort gitignore
* add dockerfile syntax definition for build args
* move all env definition in same block
* implement EXE env variable for kopano-core
* Obsoletes parts of https://github.com/zokradonh/kopano-docker/pull/366
* use EXE in konnect container
* add exe for web
* make it possible to docker-composer run commands in web container
* add example how to build dedicated container for services such as dagent
Obsoletes part of https://github.com/zokradonh/kopano-docker/pull/366
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add new dockerfile for dagent
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add a switch to allow usage of specific ssl cert
* add documentation how to specify own certificates and what to do when running web behind an existing proxy
* check if oidc provider is reachable
Relates to https://github.com/zokradonh/kopano-docker/issues/376
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* compare issuer in the discovery document with the configured one
Signed-off-by: Felix Bartels <felix@host-consultants.de>
Allow external configuration of --signed-out-uri in konnect
Signed-off-by: Felix Bartels <felix@host-consultants.de>
Co-authored-by: Erik Damrose <damrose@univention.de>
A recent change in Alpine broke the use of shellcheck for me and the general recommendation of the Alpine team is to not mix a release with their edge repo. Therefore this fix now copies shellcheck over from their own build instead of installing it from the Alpine repos.
Signed-off-by: Felix Bartels <felix@host-consultants.de>
Reson: some non-default configuration options are backed into the startup scripts. This can be unexpected when mounting files e.g. in a Kubernetes setup.
https://github.com/zokradonh/kopano-docker/issues/294
* core configuration
* fix compose for meet
* remove interpreter from start script
* use default oidc timeout