mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-09-10 00:32:53 +08:00
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:
commit
2822cf2773
2 changed files with 1 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
nc -z 127.0.0.1 9980 || exit 1
|
||||
curl http://127.0.0.1:9980 || exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue