include -e flag in docker run

  • 19 December 2023
  • 1 reply

We are running debricked-scan with docker in Azure Devops.

This is the pipeline-command we are using and added the -e flag to exclude the test folder. But debricked still scans the folder.

sudo docker run -v $HOME:$HOME --env-file ./env.list --entrypoint "/" debricked/debricked-scan:latest -e "**/test/**"

1 reply

Userlevel 4

Hello @Kavin! Looks like you might be using the old CLI, but using the arguments from the new CLI. 


We have made a migration guide that you can follow here. Then it should work as expected.


Let us know if you have any further issues. Thanks!