feat: logger change to zap

This commit is contained in:
engigu
2026-02-07 21:59:25 +08:00
parent 26a802b85c
commit b9769546ff
+7 -3
View File
@@ -73,12 +73,16 @@ WORKDIR /app
# Copy build info
COPY --from=build-info /build-info /build-info
# Copy agent source and config example
# Go mod files
COPY go.mod go.sum ./
RUN go env -w GOPROXY=https://goproxy.cn,direct && go mod download
# Copy source needed for agent
COPY internal/ ./internal/
COPY agent/ ./agent/
# Download dependencies
# Build agent for all platforms and package as tar.gz
WORKDIR /app/agent
RUN go env -w GOPROXY=https://goproxy.cn,direct && go mod download
# Build agent for all platforms and package as tar.gz
RUN VERSION_VAL=$(cat /build-info/version.txt) && \