All executable files present in /entrypoint-tasks/pre-setup/ and
/entrypoint-tasks/post-setup/ are run at the beginning
or at the end, respectively, of the actual entrypoint-script.
Each of the executed files receive the CMD given to the container as their
arguments. This allows e.g. to change a plugin's config, or install a
technical requirement of a plugin that is to be installed.
This feature is not implemented in the images for Roundcube v1.5, since
they are not well maintained and will be dropped soon, anyways.
Adds an additional stage to the Dockerfile to create images with default user www-data.
The apache webserver listens on unprivileged port 8000 instead of 80.
Publish all variants with an additional tag ending in `-nonroot` for distinction.
Refs: #306
To protect files outside of the document root against unauthorized
access.
This is possible and recommended since a while, and will be required for
Roundcubemail v1.7.
This should be done by the upstream images, but currently they don't.
And rather than getting into problems due to outdated packages, we take
matters in our own hands.
* Improve build layers
* Switch latest commit of wait-for-it.sh to avoid a security bug
* Drop dirmngr ipv6 workaround
* Use the same build process on Alpine for php extensions
* Remove ldd check for Alpine
* Move COPY before source and indent using tabs
* Add a .editorconfig to make templates show up as Dockerfile
* Added ROUNDCUBEMAIL_INSTALL_PLUGINS for installing plugins
* Re-work the composer install plugins to use the way document on the README
* Update the README
* Transform into a space to avoid crashes
* Fix displaying the plugin list
---------
Co-authored-by: Mikkel Bundgaard <mikkel@notfound.dk>
* Add support for docker secrets for oauth secret - apache version only
* Add oauth secret handling to template
* Add oauth secret handling to template. Generate examples from template
---------
Co-authored-by: Indriði Einarsson <indridi@indridi.net>