How to run Cayley tests using Docker?



I ran

go test -v -tags docker ./graph/elastic/... -run TestElasticAll/load_typed_quad

It gives me this error:

 --- SKIP: TestElasticAll/load_typed_quad (0.01s)
    	dock.go:35: no such image

I installed go-dockerclient and have pulled all changes from upstream Cayley master. Is there something I’m missing here?

I ran

docker build .

But it failed with on step 5 with this error:

Step 5/29 : RUN glide install
Step 3/29 : RUN sh -c "curl | sh"
 ---> Using cache
 ---> b432efdb0630
Step 4/29 : COPY glide.* ./
 ---> Using cache
 ---> 936b9f7837eb
Step 5/29 : RUN glide install
 ---> Running in b244dcff6576
/bin/sh: 1: glide: not found

Installing glide worked, not sure why it’s not finding the actual executable though.