Merge pull request #6470 from nextcloud/enh/noid/collabora-fix-install

collabora: move healthcheck to use curl in order to fix the Dockerfile
This commit is contained in:
Simon L. 2025-05-30 10:08:38 +02:00 committed by GitHub
commit 2822cf2773
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 11 deletions

View file

@ -5,16 +5,6 @@ FROM collabora/code:25.04.2.1.1
USER root
ARG DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3008
RUN set -ex; \
\
apt-get update; \
apt-get --fix-broken install -y --no-install-recommends; \
apt-get install -y --no-install-recommends \
netcat-openbsd \
; \
rm -rf /var/lib/apt/lists/*;
COPY --chmod=775 healthcheck.sh /healthcheck.sh
USER 1001

View file

@ -1,3 +1,3 @@
#!/bin/bash
nc -z 127.0.0.1 9980 || exit 1
curl http://127.0.0.1:9980 || exit 1