diff --git a/Dockerfile b/Dockerfile index 949ca6d8f37f4a3191cdd3574792c7c8723eefba..724bcd96d1cbf3fa6e3d694ed62c34f7666f7f22 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.