Adding the no prompt option for Docker inspector
@@ -122,7 +122,7 @@ class DockerBomTool extends BomTool {
List<String> bashArguments = [
"-c",
- "${shellScriptFile.absolutePath} --spring.config.location=\"${dockerBomToolDirectory.getAbsolutePath()}\" --dry.run=true ${imageArgument}" as String
+ "${shellScriptFile.absolutePath} --spring.config.location=\"${dockerBomToolDirectory.getAbsolutePath()}\" --dry.run=true --no.prompt=true ${imageArgument}" as String
]
Executable dockerExecutable = new Executable(shellScriptFile.parentFile, environmentVariables, bashExecutablePath, bashArguments)
executableRunner.execute(dockerExecutable)
