make collabora container read-only

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-26 16:55:28 +02:00
parent 134905c028
commit 671edeb1d1
2 changed files with 7 additions and 1 deletions

View file

@ -11,7 +11,9 @@ RUN set -ex; \
tzdata \ tzdata \
netcat-openbsd \ netcat-openbsd \
; \ ; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*; \
mkdir -p /opt/cool/child-roots; \
chmod 777 -R /opt/cool/child-roots
USER 100 USER 100

View file

@ -290,6 +290,10 @@
], ],
"networks": [ "networks": [
"nextcloud-aio" "nextcloud-aio"
],
"read_only": true,
"tmpfs": [
"/opt/cool/child-roots"
] ]
}, },
{ {