Drone plugin to scan Docker images with Clair
Go to file
2017-01-14 22:23:48 -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 Use alpine:3.4 2017-01-14 21:52:57 -06:00
DOCS.md More updates to documentation 2017-01-14 21:23:59 -06:00
LICENSE initial commit 2016-12-29 14:20:52 -06:00
main.go Add checks for required parameters 2017-01-14 21:51:43 -06:00
plugin.go Properly set creds for DOCKER_USER for klar 2017-01-14 22:23:48 -06:00
README.md More updates to documentation 2017-01-14 21:23:59 -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 \
  jmccann/drone-clair --url http://clair.company.com --username johndoe \
  --password mysecret --scan_image python:2.7