anchor.diff:  ENV BIN=${BIN}
   
   ENV GO111MODULE=on
  +ENV CGO_ENABLED=0
   
   COPY . /app
   WORKDIR /app
  
positive.code: RUN go test ./...
  RUN go mod verify
  
  RUN go build -o /go/bin/app ./cmd/"$BIN"
  
  FROM scratch
  COPY --from=build-env /go/bin/app /go/bin/app
  ENTRYPOINT ["/go/bin/app"]
  
negative.code: FROM golang:1.11.0 AS buildenv
  
  LABEL maintainer="Rafał Lorenz <vardius@gmail.com>"
  
  