mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
collabora: fix permissions correctly
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
d501b7cfcb
commit
f0fd6bb445
1 changed files with 3 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# syntax=docker/dockerfile:latest
|
# syntax=docker/dockerfile:latest
|
||||||
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/tree/master/docker
|
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/blob/master/docker/from-packages/Dockerfile
|
||||||
FROM collabora/code:24.04.13.2.1
|
FROM collabora/code:24.04.13.2.1
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
@ -10,17 +10,13 @@ RUN set -ex; \
|
||||||
\
|
\
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
# # Disable because seems to be failing currently
|
|
||||||
# # tzdata \
|
|
||||||
netcat-openbsd \
|
netcat-openbsd \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*; \
|
rm -rf /var/lib/apt/lists/*;
|
||||||
# Fix permissions for coolwsd.xml file. See https://github.com/CollaboraOnline/online/issues/11345
|
|
||||||
chmod +r /etc/coolwsd/coolwsd.xml
|
|
||||||
|
|
||||||
COPY --chmod=775 healthcheck.sh /healthcheck.sh
|
COPY --chmod=775 healthcheck.sh /healthcheck.sh
|
||||||
|
|
||||||
USER 100
|
USER 1001
|
||||||
|
|
||||||
HEALTHCHECK --start-period=60s --retries=9 CMD /healthcheck.sh
|
HEALTHCHECK --start-period=60s --retries=9 CMD /healthcheck.sh
|
||||||
LABEL com.centurylinklabs.watchtower.enable="false"
|
LABEL com.centurylinklabs.watchtower.enable="false"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue