From c96ec23bec685e49f28b2095789387d41346cf8b Mon Sep 17 00:00:00 2001 From: Joshua Date: Thu, 19 Feb 2026 11:42:19 -0800 Subject: [PATCH] fix: install build-base for cgo secretapi image --- backend/secretapi/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/secretapi/Dockerfile b/backend/secretapi/Dockerfile index 76f8360..4ae3b5e 100644 --- a/backend/secretapi/Dockerfile +++ b/backend/secretapi/Dockerfile @@ -1,6 +1,7 @@ FROM golang:1.26-alpine AS build WORKDIR /src +RUN apk add --no-cache build-base COPY . . RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o /out/secretapi .