summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2018-04-26 02:56:36 +0300
committerSaku Ytti <saku@ytti.fi>2018-04-26 02:56:36 +0300
commit4ffe710f6fa5d48777f0b5e881013b95c9b85c69 (patch)
tree98ce9ced19690083114321919588feed1e663819 /Dockerfile
parentf27a0762b0effecbbc64c1e9e221aab6ebba38b2 (diff)
unshallow docker git checkout
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
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