forked from go-swagger/go-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.ci
24 lines (19 loc) · 749 Bytes
/
Dockerfile.ci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM golang:1.6
MAINTAINER go-swagger contributors
ENV GOCOVMODE count
# ENV GO15VENDOREXPERIMENT 1
ADD . /go/src/github.com/go-swagger/go-swagger
WORKDIR /go/src/github.com/go-swagger/go-swagger
RUN set -e -x \
&& mkdir -p /usr/share/coverage /usr/share/testresults /usr/share/dist \
&& go get -u github.com/FiloSottile/gvt \
&& go get -u golang.org/x/tools/cmd/... \
&& go get -u github.com/axw/gocov/gocov \
&& go get -u gopkg.in/matm/v1/gocov-html \
&& go get -u github.com/go-openapi/strfmt \
&& go get -u github.com/stretchr/testify/assert \
&& go get -u -t github.com/cee-dub/go-junit-report \
&& go get -u github.com/aktau/github-release
VOLUME /usr/share/coverage
VOLUME /usr/share/testresults
VOLUME /usr/share/dist