Drone plugin to scan Docker images with Clair
Go to file
2018-07-14 17:28:05 +02:00
vendor initial commit 2016-12-29 14:20:52 -06:00
.drone.yml add .drone.yml 2018-07-14 17:28:05 +02:00
.gitignore Updated Dockerfile to ADD klar binary 2016-12-29 14:29:45 -06:00
Dockerfile bump alpine to 3.8 and klar to 2.2.0 2018-07-14 15:59:42 +02: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