From 894a6f01c2178a66b7c484a4a15301615a8e982a Mon Sep 17 00:00:00 2001 From: jafreli Date: Sat, 31 Jan 2026 01:32:32 +0100 Subject: [PATCH] fix: add gcc --- backend/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/Dockerfile b/backend/Dockerfile index b3f8252..49fc625 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -5,6 +5,10 @@ WORKDIR /app # Copy go.mod and go.sum files to download dependencies COPY go.mod go.sum ./ + +# Install the C compiler (gcc) and other build tools needed for CGO +RUN apk add --no-cache build-base + RUN go mod download # Copy the rest of the application source code