feat : scan with image digest (#939)

This commit is contained in:
Tomoya Amachi
2020-03-03 16:51:06 +09:00
committed by GitHub
parent fe3f1b9924
commit 9aa0d87a21
8 changed files with 83 additions and 11 deletions

View File

@@ -105,7 +105,7 @@ func convertLibWithScanner(libs map[analyzer.FilePath][]godeptypes.Library) ([]m
func scanImage(c config.ServerInfo) (os *analyzer.OS, pkgs []analyzer.Package, libs map[analyzer.FilePath][]godeptypes.Library, err error) {
ctx := context.Background()
domain := c.Image.Name + ":" + c.Image.Tag
domain := c.Image.GetFullName()
util.Log.Info("Start fetch container... ", domain)
fanalCache := cache.Initialize(utils.CacheDir())