Files
dd0c/products/02-iac-drift-detection/agent/Dockerfile
Max Mayfield 5e0065e73e Fix P2 SaaS compilation: wire dispatchNotifications correctly, add P1/P2 Dockerfiles
- P2 processor: use correct dispatchNotifications signature (channels, notification, severity)
- P2 processor: pass pool to withTenant, fix implicit any types
- P1 Dockerfile: multi-stage Rust build for proxy/api/worker binaries
- P2 agent Dockerfile: multi-stage Go build
- P2 SaaS package-lock.json generated
- All 6 products now compile cleanly
2026-03-01 06:10:21 +00:00

13 lines
327 B
Docker

# P2: dd0c/drift agent — Go binary
FROM golang:1.22-alpine AS builder
WORKDIR /app
COPY go.mod go.sum* ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o dd0c-drift ./cmd/main.go
FROM alpine:3.20
RUN apk add --no-cache ca-certificates
COPY --from=builder /app/dd0c-drift /usr/local/bin/
ENTRYPOINT ["dd0c-drift"]