banyanops / collector

A framework for Static Analysis of Docker container images
Other
289 stars 23 forks source link

Repolist improvements #6

Open yoshiotu opened 9 years ago

yoshiotu commented 9 years ago

Currently you can create a file in $BANYAN_HOST_DIR/hostcollector/repolist with one namespace/repo on each line indicating repos for Collector to inspect. You can change the contents of the list on-the-fly and Collector will eventually read the updated list and process the new repos. A few improvements seem desirable:

yoshiotu commented 9 years ago

Updated the code to read the repolist file more frequently, in particular it reads the file once each time it finishes processing a batch of 5 images.

Still need to implement wildcarding. In addition, it might be useful to limit the tag set for each repo.