mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
26 lines
796 B
Docker
26 lines
796 B
Docker
# syntax=docker/dockerfile:latest
|
|
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/tree/master/docker
|
|
FROM collabora/code:24.04.13.2.1
|
|
|
|
USER root
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
# hadolint ignore=DL3008
|
|
RUN set -ex; \
|
|
\
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
# # Disable because seems to be failing currently
|
|
# # tzdata \
|
|
netcat-openbsd \
|
|
; \
|
|
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
|
|
|
|
USER 100
|
|
|
|
HEALTHCHECK --start-period=60s --retries=9 CMD /healthcheck.sh
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|