mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-21 13:23:09 +00:00
Run all containers read-only (#314)
* switch containers in compose file to read-only related to https://github.com/zokradonh/kopano-docker/issues/310 * make scheduler container read-only * make meet container read-only * fix konnect for read-only * make core mostly read-only * add custom location for ldap.cfg to default config * sort config option for readability * update makefile pull workaround * make kdav read-only * remove locale generation code from core startup * fix commander tests * fix store language tests * add test for a dutch mailbox * make it possible to run webapp read-only * add locale hint to the compose file * finish read-only mode for z-push
This commit is contained in:
@@ -64,6 +64,13 @@ RUN \
|
||||
${ADDITIONAL_KOPANO_WEBAPP_PLUGINS} \
|
||||
&& rm -rf /var/cache/apt /var/lib/apt/lists
|
||||
|
||||
# tweak to make the container read-only
|
||||
RUN mkdir -p /tmp/webapp/ && \
|
||||
for i in /etc/kopano/webapp/* /etc/kopano/webapp/.[^.]*; do \
|
||||
mv "$i" "$i.dist"; \
|
||||
ln -s /tmp/webapp/"$(basename "$i")" "$i"; \
|
||||
done
|
||||
|
||||
COPY start.sh /kopano/start.sh
|
||||
COPY goss* /goss/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user