Skip to content

Commit

Permalink
trying to fix clair scan
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Jun 7, 2021
1 parent 7637010 commit bf9e7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/clairscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if [ $? == "0" ]; then
else
docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:latest &>/dev/null
fi
sleep 30
sleep 60

#get ip where clair-scanner will listen
clairip=$(/sbin/ifconfig docker0 | grep 'inet ' | sed 's/^[[:space:]]*//g' | cut -f 2 -d ' ' | cut -f 2 -d ':')
Expand Down

0 comments on commit bf9e7b9

Please sign in to comment.