diff --git a/Containers/apache/Dockerfile b/Containers/apache/Dockerfile index dc32cb61..83106ac5 100644 --- a/Containers/apache/Dockerfile +++ b/Containers/apache/Dockerfile @@ -19,7 +19,6 @@ RUN set -ex; \ openssl \ netcat \ dpkg-dev \ - curl \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/Containers/apache/healthcheck.sh b/Containers/apache/healthcheck.sh index 4f34c5eb..436091b2 100644 --- a/Containers/apache/healthcheck.sh +++ b/Containers/apache/healthcheck.sh @@ -1,7 +1,7 @@ #!/bin/bash nc -z "$NEXTCLOUD_HOST" 9000 || exit 0 -curl -skfI localhost:8000 || exit 1 +nc -z localhost 8000 || exit 1 if [ "$APACHE_PORT" != '443' ]; then nc -z localhost "$APACHE_PORT" || exit 1 else diff --git a/Containers/clamav/Dockerfile b/Containers/clamav/Dockerfile index 518829ab..e5d65b65 100644 --- a/Containers/clamav/Dockerfile +++ b/Containers/clamav/Dockerfile @@ -1,4 +1,4 @@ -# Probably from this file: https://github.com/Cisco-Talos/clamav/blob/main/Dockerfile +# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/0.105/alpine/Dockerfile FROM clamav/clamav:0.105.1-7 RUN apk add --update --no-cache tzdata diff --git a/Containers/domaincheck/Dockerfile b/Containers/domaincheck/Dockerfile index af023d27..ce1403f3 100644 --- a/Containers/domaincheck/Dockerfile +++ b/Containers/domaincheck/Dockerfile @@ -1,5 +1,5 @@ FROM alpine:3.16.3 -RUN apk add --update --no-cache lighttpd bash curl netcat-openbsd +RUN apk add --update --no-cache lighttpd bash netcat-openbsd RUN adduser -S www-data -G www-data RUN rm -rf /etc/lighttpd/lighttpd.conf diff --git a/Containers/fulltextsearch/Dockerfile b/Containers/fulltextsearch/Dockerfile index 5855f000..f33b4f0c 100644 --- a/Containers/fulltextsearch/Dockerfile +++ b/Containers/fulltextsearch/Dockerfile @@ -3,4 +3,12 @@ FROM elasticsearch:7.17.8 RUN elasticsearch-plugin install --batch ingest-attachment -HEALTHCHECK CMD curl -skfI localhost:9200 || exit 1 +RUN set -ex; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + tzdata \ + ; \ + rm -rf /var/lib/apt/lists/* + +HEALTHCHECK CMD nc -z localhost 9200 || exit 1 diff --git a/Containers/imaginary/Dockerfile b/Containers/imaginary/Dockerfile index d1988090..a7ebed7b 100644 --- a/Containers/imaginary/Dockerfile +++ b/Containers/imaginary/Dockerfile @@ -6,8 +6,6 @@ RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ - ca-certificates \ - curl \ netcat \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/Containers/onlyoffice/Dockerfile b/Containers/onlyoffice/Dockerfile index 9488d6fe..af22a625 100644 --- a/Containers/onlyoffice/Dockerfile +++ b/Containers/onlyoffice/Dockerfile @@ -1,4 +1,4 @@ # From https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/Dockerfile FROM onlyoffice/documentserver:7.2.2.56 -HEALTHCHECK CMD curl -skfI localhost || exit 1 \ No newline at end of file +HEALTHCHECK CMD nc -z localhost 80 || exit 1 \ No newline at end of file diff --git a/Containers/postgresql/Dockerfile b/Containers/postgresql/Dockerfile index 89d59abf..ea8daff4 100644 --- a/Containers/postgresql/Dockerfile +++ b/Containers/postgresql/Dockerfile @@ -1,4 +1,4 @@ -# From https://github.com/docker-library/postgres/blob/master/13/alpine/Dockerfile +# From https://github.com/docker-library/postgres/blob/master/14/alpine/Dockerfile FROM postgres:14.6-alpine RUN apk add --update --no-cache bash openssl shadow netcat-openbsd grep mawk