From 4ffe710f6fa5d48777f0b5e881013b95c9b85c69 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 26 Apr 2018 02:56:36 +0300 Subject: unshallow docker git checkout --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index c928a2d..b4bdae9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,8 @@ RUN gem install aws-sdk slack-api xmpp4r COPY . /tmp/oxidized/ WORKDIR /tmp/oxidized +# docker automated build gets shallow copy, but non-shallow copy cannot be unshallowed +RUN git --fetch unshallow || true RUN rake install # web interface -- cgit v1.2.1