mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-09-30 02:26:00 +08:00
24 lines
679 B
Docker
24 lines
679 B
Docker
# syntax=docker/dockerfile:latest
|
|
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/blob/master/docker/from-packages/Dockerfile
|
|
FROM collabora/code:25.04.2.1.1
|
|
|
|
USER root
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
# hadolint ignore=DL3008
|
|
RUN set -ex; \
|
|
\
|
|
apt-get update; \
|
|
apt --fix-broken install; \
|
|
apt-get install -y --no-install-recommends \
|
|
netcat-openbsd \
|
|
; \
|
|
rm -rf /var/lib/apt/lists/*;
|
|
|
|
COPY --chmod=775 healthcheck.sh /healthcheck.sh
|
|
|
|
USER 1001
|
|
|
|
HEALTHCHECK --start-period=60s --retries=9 CMD /healthcheck.sh
|
|
LABEL com.centurylinklabs.watchtower.enable="false" \
|
|
org.label-schema.vendor="Nextcloud"
|