diff --git a/Dockerfile b/Dockerfile index 4d351cdac1e35a747c3a97af37b0578da968508a..c3baa5ccee39f5add31e0efc4c2a5790fa41aa0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,13 +20,9 @@ ENV LD_LIBRARY_PATH "/usr/local/lib" # Install DGraph and update dependencies to right versions. RUN go get -v github.com/robfig/glock && \ - go get -v github.com/dgraph-io/dgraph/... && \ - glock sync github.com/dgraph-io/dgraph && echo "v0.2.3" - -# Run some tests, don't build an image if we're failing tests. -# TODO(pawan): Please uncomment this once the tests run okay on Docker. -# https://trello.com/c/3lKdXE5f -# RUN go test github.com/dgraph-io/dgraph/... + go get -v github.com/dgraph-io/dgraph/... && \ + glock sync 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.