yebinama / paclair

Paclair is a Python3 Cli tool to interact with Coreos's Clair (https://github.com/coreos/clair).
Apache License 2.0
27 stars 13 forks source link

Moved PaClair class to own file for capability using as the module #14

Closed zagaria closed 5 years ago

zagaria commented 5 years ago

Moved PaClair class to own file for capability using as the module (not only as the console utility)

zagaria commented 5 years ago

Also added Dockerfile.

Usage: docker built -t paclair:1.0.0

docker run -v /etc/paclair.conf:/etc/paclair.conf:ro paclair:1.0.0 Docker elasticsearch:2.4 push docker run -v /etc/paclair.conf:/etc/paclair.conf:ro paclair:1.0.0 Docker elasticsearch:2.4 analyse --output-format=stats