Skip to content

Obey .dockerignore #205

Open
Open

Description

@aep-sunlife

Docker Scout with fs://. should obey .dockerignore patterns when considering which SBOM directories and file paths to scan, and which to skip.

There should also be a command line flag like --exclude <pattern> [--exclude <pattern> [--exclude <pattern> ...]]] to supplement .dockerignore with additional patterns.

It's technically possible to workaround these gaps by through git and cp tricks, but A) computers exist to automate and B) many users are likely to fumble the manual steps involved. Please just do this as a built-in.

Most security and automation tools provide mechanisms to ignore file patterns.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions