storj/test/Dockerfile
Matt Robinson 0cbbc69777 Add files for testing builds in docker (#161)
* Add files for testing builds in docker

* Make tests check for redis running before trying to start redis-server, which may not exist.

* Clean redis server before any tests use it.

* Add more debugging for travis

* Explicitly requiring redis for travis
2018-07-25 17:47:02 -04:00

16 lines
286 B
Docker

FROM golang:1.10-alpine
RUN apk -U add make git bash gcc musl-dev
RUN cd / \
&& rm -rf /go \
&& git clone --recursive https://github.com/storj/storj-vendor.git /go \
&& cd /go \
&& ./setup.sh
COPY . /go/src/storj.io/storj
WORKDIR /go/src/storj.io/storj
RUN make build-dev-deps