RUN test-z"$(gofmt -l$(find .-type f -name'*.go'-not-path"./vendor/*"-not-path"./function/vendor/*"))"||{echo"Run \"gofmt -s -w\" on your Golang code";exit 1;}
RUN go install
RUN CGO_ENABLED=${CGO_ENABLED}GOOS=linux \
go build --ldflags"-s -w"-a-installsuffix cgo -o handler .&&\