github.com/simonmittag/ws@v1.1.0-rc.5.0.20210419231947-82b846128245/autobahn/docker/server/Dockerfile (about)

     1  FROM golang:1.15.6-alpine3.12
     2  
     3  WORKDIR /go/src/github.com/gobwas/ws
     4  
     5  COPY go.mod .
     6  COPY go.sum .
     7  RUN go mod download
     8  
     9  COPY . .
    10  ENV CGO_ENABLED=0
    11  RUN go test -c -tags autobahn -coverpkg "github.com/gobwas/ws/..." github.com/gobwas/ws/example/autobahn
    12  
    13  CMD ["./autobahn.test", "-test.coverprofile", "/report/server.coverage"]