diff --git a/Dockerfile b/Dockerfile index ff4ac7f2..895ca938 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM --platform=$BUILDPLATFORM golang:1.17 as builder WORKDIR /workspace +# Make it runnable on a distroless image/without libc +ENV CGO_ENABLED=0 + # Copy the Go Modules manifests COPY go.mod go.sum ./