diff --git a/testhelper.Dockerfile b/testhelper.Dockerfile index f4a85ab..edd5951 100644 --- a/testhelper.Dockerfile +++ b/testhelper.Dockerfile @@ -1,7 +1,7 @@ FROM golang:latest as build COPY testhelper.go /go/testhelper.go RUN go get -u github.com/lib/pq -RUN go build testhelper.go +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build testhelper.go FROM scratch COPY --from=build /go/testhelper /testhelper