Skip to content

Instantly share code, notes, and snippets.

@as
Forked from dlsniper/Dockerfile
Last active June 27, 2018 07:10
Show Gist options
  • Save as/8e5a832ee264e33398d84e3c99d78d16 to your computer and use it in GitHub Desktop.
Save as/8e5a832ee264e33398d84e3c99d78d16 to your computer and use it in GitHub Desktop.
Dockerfile to test your Go code with the latest version of Go 1.10
FROM golang:1.10
ADD . /go/src/github.com/<user>/<repo>
WORKDIR /go/src/github.com/<user>/<repo>
RUN go test -coverpkg=all -coverprofile cover.out ./...
@as
Copy link
Author

as commented Jun 27, 2018

old revision had golang:1.10beta2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment