From c5c444a32c1abcc533d517427c20408dcb65c4e1 Mon Sep 17 00:00:00 2001 From: James Kinsman Date: Sun, 23 Feb 2020 14:03:02 +0000 Subject: [PATCH] Add shallow clone of cache-domains Added shallow clone to allow for offline startup --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 41da3b6..b7d0e4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,7 @@ RUN mkdir -m 755 -p /data/cachedomains ;\ apt-get update ;\ apt-get install -y jq git ; +RUN git clone --depth=1 --no-single-branch https://github.com/uklans/cache-domains/ /data/cache-domains VOLUME ["/data/logs", "/data/cache", "/data/cachedomains", "/var/www"]