diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 434ea26..279c5a3 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -3,7 +3,7 @@ before: - go mod tidy builds: - env: - - CGO_ENABLED=0 + - CGO_ENABLED=1 binary: "{{ .ProjectName }}" goos: - linux diff --git a/Dockerfile b/Dockerfile index bc3aa5a..a5f75c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM golang:1.19-alpine -ENV CGO_ENABLED=1 - RUN apk add --no-cache wget make g++ openssl-dev autoconf automake libtool curl librdkafka-dev USER nonroot:nonroot