docker: remove -maxdepth from find

docker: remove -maxdepth from find

As far as I can recall, my original intent was to perform a recursive directory entry removal without resorting to a shell glob. Recursive descent works a lot better when find is allowed to, y’know, descend.

Suspect this was a brain fart on my part.

diff --git a/Dockerfile b/Dockerfile
index b848c07..ccfda2c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -33,9 +33,9 @@ RUN groupadd -g 999 docker \
     ruby-dev \
   && DEBIAN_FRONTEND=noninteractive apt-get -y autoremove \
   && DEBIAN_FRONTEND=noninteractive apt-get clean \
-  && ( find /var/lib/apt/lists -mindepth 1 -maxdepth 1 -delete || true ) \
-  && ( find /var/tmp -mindepth 1 -maxdepth 1 -delete || true ) \
-  && ( find /tmp -mindepth 1 -maxdepth 1 -delete || true )
+  && ( find /var/lib/apt/lists -mindepth 1 -delete || true ) \
+  && ( find /var/tmp -mindepth 1 -delete || true ) \
+  && ( find /tmp -mindepth 1 -delete || true )
 
 ARG GIT_REVISION=invalid-build
 ENV DDNSSD_GIT_REVISION=$GIT_REVISION DDNSSD_DISABLE_LOG_TIMESTAMPS=yes

GitHub sha: 985f9df69218c7b56e4b93addb2f6b9dbf7ac0e4