Skip to content

Commit

Permalink
Dockerfile: Fix error while running make server (#1361)
Browse files Browse the repository at this point in the history
The `LDFLAGS` in Makefile tries to get git commit hash while building
server component, but default COPY command does not put *.git* directory
into docker container, which causes the fatal error while executing
command `git rev-parse HEAD`.

This fix remove *.git* directory from *.dockerignore* file, then the git
command can be executed successfully in container.
  • Loading branch information
hzmangel authored and shenli committed Jun 30, 2016
1 parent a75f677 commit 0a9e134
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .dockerignore
@@ -1 +0,0 @@
.git

0 comments on commit 0a9e134

Please sign in to comment.