Skip to content
Snippets Groups Projects
Commit 019cb0f2 authored by Manish R Jain's avatar Manish R Jain
Browse files

Updated Dockerfile to fix the corruption issue with the existing docker image

parent 807abf24
No related branches found
No related tags found
No related merge requests found
# Dockerfile for DGraph
FROM golang:1.6
FROM golang:1.6.2
MAINTAINER Manish Jain <manishrjain@gmail.com>
# Get the necessary packages.
......@@ -21,10 +21,12 @@ 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.2"
glock sync github.com/dgraph-io/dgraph && echo "v0.2.3"
# Run some tests, don't build an image if we're failing tests.
RUN go test github.com/dgraph-io/dgraph/...
# 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/...
# Create the dgraph and data directory. These directories should be mapped
# to host machine for persistence.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment