bold-brew/Containerfile
Vito Castellano b9d380a16c
feat: add security scanning with govulncheck and gosec (#27)
Add comprehensive security scanning to the project with vulnerability checks and static analysis tools.
2025-10-11 02:37:16 +02:00

11 lines
No EOL
385 B
Docker

FROM golang:1.25
# Install dependencies
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
RUN go install github.com/goreleaser/goreleaser/v2@latest
# Install security tools
RUN go install golang.org/x/vuln/cmd/govulncheck@latest
RUN go install github.com/securego/gosec/v2/cmd/gosec@latest
WORKDIR /app