mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
335a6b022f
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
17 lines
547 B
Bash
Executable file
17 lines
547 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
# TODO: Add "alpine:3.12.0" back in when we've figured out how to handle the apk version field w/ and w/o release information (see issue: https://github.com/anchore/syft/pull/195)
|
|
images=("debian:10.5" "centos:8.2.2004" "rails:5.0.1")
|
|
|
|
# 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
|