storj/test/Dockerfile
Matt Robinson 0a78e741ec
Build and upload binaries (#296)
* First pass at building binaries

* Finished building images

* Reworked some bits to save binaries in a better place.

* First pass at uploading binaries

* Builds for freebsd fail currently

* Add ignore file for docker builds to not invalidate the cache as often

* Docker image for 1.11-alpine exists now

* Name windows binaries correctly

* The makefile is used in tests.

* Take a swing at updating the tests for 1.11

* Switch to something with glibc so the race detector works.

* Remove unused .PHONY targets
2018-08-31 11:21:44 -04:00

17 lines
297 B
Docker

FROM golang:1.10
RUN apt-get update \
&& apt-get install -y build-essential
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