From 1b966bde48cb2aa5b4c68cf5e8344f656b88bfd7 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Thu, 21 Jan 2021 11:36:09 +0100
Subject: [PATCH] readded ndots as internal hostnames won't resolve otherwise

---
 Dockerfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index f857419..5c91c25 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -68,7 +68,5 @@ COPY --chown=root:nginx . /html
 WORKDIR /html
 EXPOSE 80
 
-# Removing ndots to resolve issues resolving hosts
-CMD echo -e "/ndots:5\nd\nw\nq" | ed /etc/resolv.conf &&\
-    crond -L /dev/stdout && \
+CMD crond -L /dev/stdout && \
     php-fpm7
-- 
GitLab