Add the following to the sample-flask-app's docker-compose.yml
file:
#services:
#...
hawkeye:
image: stono/hawkeye
command: scan --target /usr/src/app
volumes_from:
- web
Add a new “Execute shell” build step to run Hawkeye with the following command:
docker-compose run hawkeye
Return to the sample-flask-app
job and select Build Now
. This time you should see the build fail, navigate into the build instance and review the console output to discover why. What changes would we need to make to get the build passing again?