From 7c998231ae9ef879ffef9b9e66d4772e95202b9e Mon Sep 17 00:00:00 2001
From: Manish R Jain <manish@dgraph.io>
Date: Tue, 17 May 2016 17:45:14 +1000
Subject: [PATCH] We don't need to use govendor here. All the deps are checked
 in.

---
 Dockerfile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 949ca6d8..724bcd96 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,11 +19,9 @@ RUN cd /installs/rocksdb && make shared_lib && make install
 ENV LD_LIBRARY_PATH "/usr/local/lib"
 
 # Install DGraph and update dependencies to right versions.
-RUN go get -v github.com/kardianos/govendor && \
-       go get -v github.com/dgraph-io/dgraph/... && \
-       cd $GOPATH/src/github.com/dgraph-io/dgraph && \
-       govendor sync && \
-       go test github.com/dgraph-io/dgraph/... && echo "v0.2.3"
+RUN go get -v github.com/dgraph-io/dgraph/... && \
+    go build -v github.com/dgraph-io/dgraph/... && \
+    go test github.com/dgraph-io/dgraph/... && echo "v0.2.3"
 
 # Create the dgraph and data directory. These directories should be mapped
 # to host machine for persistence.
-- 
GitLab