2016-12-29 20:20:52 +00:00
|
|
|
# drone-clair
|
|
|
|
|
2017-01-15 03:23:59 +00:00
|
|
|
Drone plugin to scan docker images with [Clair](https://github.com/coreos/clair).
|
2016-12-29 20:20:52 +00:00
|
|
|
|
|
|
|
For the usage information and a listing of the available options please take a look at [the docs](DOCS.md).
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
Build the binary with the following commands:
|
|
|
|
|
|
|
|
```
|
|
|
|
go build
|
|
|
|
go test
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Execute from the working directory:
|
|
|
|
|
|
|
|
```
|
|
|
|
docker run --rm \
|
2017-01-15 03:23:59 +00:00
|
|
|
jmccann/drone-clair --url http://clair.company.com --username johndoe \
|
2016-12-29 20:20:52 +00:00
|
|
|
--password mysecret --scan_image python:2.7
|
|
|
|
```
|