Skip to content

Commit

Permalink
fix whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Aug 22, 2019
1 parent b71845e commit c57d328
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/clairscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ else
echo 'using existing clair-scanner...'
fi

#ensure whitelist file (temporary)
if [ ! -s ./centos7-clair-whitelist.yaml ]; then
echo 'downloading whitelist file...'
curl -s -L -o ./centos7-clair-whitelist.yaml https://github.internet2.edu/raw/docker/shib-idp/3.4.4_20190801/tests/centos7-clair-whitelist.yaml
else
echo 'using existing whitelist file...'
fi

#ensure DB container
echo 'ensuring a fresh clair-db container...'
docker ps | grep clair-db &>/dev/null
Expand Down

0 comments on commit c57d328

Please sign in to comment.