From 1f95d053f99965342c9234835560a7f89185caf6 Mon Sep 17 00:00:00 2001 From: yair Date: Wed, 27 Dec 2023 15:34:34 +0200 Subject: [PATCH 1/2] added CGO_ENABLED=1 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 69a74eb..e1698e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM golang:1.19-alpine +ENV CGO_ENABLED=1 + RUN apk add --no-cache wget make g++ autoconf automake libtool curl librdkafka-dev USER nonroot:nonroot From 7a21c7ed1e2ba5a335c13bf02b35de318819ceb0 Mon Sep 17 00:00:00 2001 From: yair Date: Wed, 27 Dec 2023 15:34:34 +0200 Subject: [PATCH 2/2] added CGO_ENABLED=1 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index a5f75c0..bc3aa5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ 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