Spaces:
Paused
Paused
justincnn commited on
Commit ·
fedb52d
1
Parent(s): b9e6e15
fix: update go.mod to 1.23 and add debug output
Browse files- Update go version from 1.21 to 1.23 in go.mod
- Add -x flag and error handling to go mod download for debugging
Files changed (2)
- Dockerfile+1-1
- go.mod+1-1
5 unmodified lines67891011125 unmodified linesRUN apk add --no-cache git ca-certificatesCOPY go.mod go.sum ./RUN go mod downloadCOPY . .RUN CGO_ENABLED=0 GOOS=linux go build -o zai-proxy .5 unmodified lines67891011125 unmodified linesRUN apk add --no-cache git ca-certificatesCOPY go.mod go.sum ./RUN go mod download -x || (cat go.mod && cat go.sum && exit 1)COPY . .RUN CGO_ENABLED=0 GOOS=linux go build -o zai-proxy .
123456module zai-proxygo 1.21require (github.com/corpix/uarand v0.2.0123456module zai-proxygo 1.23require (github.com/corpix/uarand v0.2.0
Dockerfile+1-1
go.mod+1-1