Files
synthetic/Dockerfile
T
Donavan Fritz ff3ec65719
Synthetic CoreDNS Plugin CI/CD Build / test (push) Has been cancelled
Fix build and polish codebase to OSS quality
Dockerfile used golang:1.21 but go.mod requires 1.25; CI was broken.
Refactored plugin code with proper godoc comments, extracted helpers to
eliminate duplicated response-building logic, modernized tests with
t.Run subtests and shared assertion helpers, and rewrote README with
configuration reference table and professional structure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 13:33:25 -05:00

10 lines
196 B
Docker

# Dockerfile for CI: runs vet and tests inside a consistent Go environment.
FROM golang:1.25
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go vet ./...
RUN go test -v ./...