mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00: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
|
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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue