update to json/v2 - pocketbase collection errors :(

This commit is contained in:
henrygd
2025-08-20 20:13:01 -04:00
parent 7ba1f366ba
commit 47360c5bf1
15 changed files with 92 additions and 90 deletions

View File

@@ -10,7 +10,7 @@ COPY internal ./internal
# Build
ARG TARGETOS TARGETARCH
RUN CGO_ENABLED=0 GOGC=75 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags "-w -s" -o /agent ./cmd/agent
RUN CGO_ENABLED=0 GOGC=75 GOEXPERIMENT=jsonv2 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags "-w -s" -o /agent ./cmd/agent
# --------------------------
# Final image: GPU-enabled agent with nvidia-smi