Skip to content

.dockerignore is included in build context hash #117

Open
@ethanwu10

Description

@ethanwu10

.dockerignore is included in the list of files to hash when hashing the build context, which can lead to unnecessary container rebuilds. Since the only effects of a .dockerignore are to modify what files are included in the build context, which are already captured via evaluation of the rules in the file, the contents of the file add no information (except potentially extraneous information in the form of formatting changes), and thus should not belong in the hash.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions