From 1ab7e994927379ed4b725c43e6d69826b3d6805e Mon Sep 17 00:00:00 2001 From: Finn Herzfeld Date: Wed, 5 Dec 2018 12:33:47 -0800 Subject: [PATCH] Fix how testhelper is built --- testhelper.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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