zokradonh / kopano-docker

Unofficial Kopano Docker images for all Kopano services.
MIT License
59 stars 37 forks source link

Prevent modifications to mounted files #309

Closed fbartels closed 4 years ago

fbartels commented 4 years ago

All files that are modified during container startup should be copied into a temp location before modifying them.

For example: https://github.com/zokradonh/kopano-docker/blob/b36093d0743587247e7ce8418c6f346b3a094731/konnect/wrapper.sh#L81-L85

When these files are mounted into the container modification could fail otherwise.