do not add .git folder to a build layer

`.git` folder isn't present in tarballs pulled from releases, e.g. `wget https://github.com/umputun/remark/archive/v.1.2.1.tar.gz`, and not used during the build anyways
This commit is contained in:
Ruslan Nagimov
2019-01-27 12:03:27 -08:00
committed by GitHub
parent c7468184ba
commit 9870469e2e
-1
View File
@@ -23,7 +23,6 @@ ARG MONGO_TEST
WORKDIR /go/src/github.com/umputun/remark/backend
ADD backend /go/src/github.com/umputun/remark/backend
ADD .git /go/src/github.com/umputun/remark/.git
# run tests
RUN \