From 0f207e733b4495f0f91a67131465a264c2992c87 Mon Sep 17 00:00:00 2001 From: The Zelus <thezelus@gmail.com> Date: Sun, 15 May 2016 22:38:11 -0600 Subject: [PATCH] Update dockerfile to support govendor --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c3baa5cc..949ca6d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,10 @@ 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/robfig/glock && \ +RUN go get -v github.com/kardianos/govendor && \ go get -v github.com/dgraph-io/dgraph/... && \ - glock sync 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" # Create the dgraph and data directory. These directories should be mapped -- GitLab