chore: install git in builder image
Some checks failed
itom-platform auto build image / build (push) Failing after 9s

This commit is contained in:
kim.dev.6789
2026-01-15 16:59:46 +08:00
parent 95a0048676
commit 0ee1b61219

View File

@@ -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