github.com/jxgolibs/go-oauth2-server@v1.0.1/Dockerfile.test (about) 1 # Start from a Debian image with the latest version of Go installed 2 # and a workspace (GOPATH) configured at /go. 3 FROM golang 4 5 # Contact maintainer with any issues you encounter 6 MAINTAINER Richard Knop <risoknop@gmail.com> 7 8 # Set environment variables 9 ENV PATH /go/bin:$PATH 10 11 # Cd into the api code directory 12 WORKDIR /go/src/github.com/RichardKnop/go-oauth2-server 13 14 # Copy the local package files to the container's workspace. 15 ADD . /go/src/github.com/RichardKnop/go-oauth2-server 16 17 # Run integration tests as default command 18 CMD make test-with-coverage