From e451f13bf23372c07a96b64c7ccafb7c0bdbc768 Mon Sep 17 00:00:00 2001 From: Arnav Gupta Date: Fri, 9 Aug 2024 02:47:41 +0530 Subject: [PATCH] Try with CGO enabled Signed-off-by: Arnav Gupta --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 972ac37..bbb26d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN go mod download COPY . . # Set necessary environment variables needed for our image and build the API server. -ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 +ENV CGO_ENABLED=1 GOOS=linux GOARCH=amd64 # RUN go build -ldflags="-s -w" -o onepixel ./src/main.go RUN make build DOCS=false