Do not required .git in the build context

- export DOCKER_GITCOMMIT in the Makefile
- prioritize DOCKER_GITCOMMIT against the `git` command in
  `./hack/make.sh`
- Also add `integration-cli/bundles` to gitignore (it's generated when
  using integration-cli shell)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2016-11-16 11:49:32 +01:00
parent a3b3e61a6c
commit fae6ca2bb4
3 changed files with 8 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
bundles
integration-cli/bundles
.gopath
vendor/pkg
.go-pkg-cache