collabora: move healthcheck to use curl in order to fix the Dockerfile

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-05-30 10:02:46 +02:00
parent d6c35782f5
commit 1d3692a6db
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 USER root
ARG DEBIAN_FRONTEND=noninteractive 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 COPY --chmod=775 healthcheck.sh /healthcheck.sh
USER 1001 USER 1001

View file

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