chore: install git in builder image
Some checks failed
itom-platform auto build image / build (push) Failing after 9s
Some checks failed
itom-platform auto build image / build (push) Failing after 9s
This commit is contained in:
@@ -8,6 +8,9 @@ ENV GOWORK=off
|
|||||||
# Set the working directory inside the container based on the environment variable
|
# Set the working directory inside the container based on the environment variable
|
||||||
WORKDIR $SERVER_DIR
|
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
|
# Set the Go proxy to improve dependency resolution speed
|
||||||
# ENV GOPROXY=https://goproxy.io,direct
|
# ENV GOPROXY=https://goproxy.io,direct
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user