From 9d31b3d0815f5bb20dac6998b9b14a479dfa8a67 Mon Sep 17 00:00:00 2001 From: yair Date: Wed, 27 Dec 2023 15:54:18 +0200 Subject: [PATCH] updated goreleaser --- .goreleaser.yaml | 2 +- Dockerfile | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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