mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
* add inline-compare as acceptance test Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * add additional RPM metadata Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * add comments and doc strings to the compare-* make targets Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
17 lines
386 B
Bash
Executable File
17 lines
386 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
# TODO: add "alpine:3.12.0" back
|
|
images=("debian:10.5" "centos:8.2.2004" )
|
|
|
|
# gather all image analyses
|
|
for img in "${images[@]}"; do
|
|
echo "Gathering facts for $img"
|
|
COMPARE_IMAGE=${img} make gather-image
|
|
done
|
|
|
|
# compare all results
|
|
for img in "${images[@]}"; do
|
|
echo "Comparing results for $img"
|
|
COMPARE_IMAGE=${img} make compare-image
|
|
done |