From 0ee1b6121944facce0f8704d055eea09ef690e1e Mon Sep 17 00:00:00 2001 From: "kim.dev.6789" Date: Thu, 15 Jan 2026 16:59:46 +0800 Subject: [PATCH] chore: install git in builder image --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 367269f..d3c3b0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,9 @@ ENV GOWORK=off # Set the working directory inside the container based on the environment variable WORKDIR $SERVER_DIR +# Install git so Go can fetch private modules during go mod download +RUN apk add --no-cache git + # Set the Go proxy to improve dependency resolution speed # ENV GOPROXY=https://goproxy.io,direct