$GOPATH/go.mod exists but should not code example
Example: $GOPATH/go.mod exists but should not
FROM golang:latest
WORKDIR /usr/src/app
COPY go.mod \
go.sum /usr/src/app/
RUN set -x && \
go get github.com/golang/dep/cmd/dep && \
dep ensure -v