Drone plugin to scan Docker images with Clair
Go to file
2016-12-29 14:29:45 -06:00
vendor initial commit 2016-12-29 14:20:52 -06:00
.drone.yml initial commit 2016-12-29 14:20:52 -06:00
.gitignore Updated Dockerfile to ADD klar binary 2016-12-29 14:29:45 -06:00
Dockerfile Updated Dockerfile to ADD klar binary 2016-12-29 14:29:45 -06:00
DOCS.md initial commit 2016-12-29 14:20:52 -06:00
LICENSE initial commit 2016-12-29 14:20:52 -06:00
main.go initial commit 2016-12-29 14:20:52 -06:00
plugin.go initial commit 2016-12-29 14:20:52 -06:00
README.md initial commit 2016-12-29 14:20:52 -06:00

drone-clair

Drone plugin to scan docker images with clair.

For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

go build
go test

Usage

Execute from the working directory:

docker run --rm \
  Unikorn123/drone-clair --url http://clair.company.com --username johndoe \
  --password mysecret --scan_image python:2.7