Skip to content

Dockerfile is not included in context hash if ignored #118

Open
@ethanwu10

Description

@ethanwu10

If a Dockerfile is excluded by .dockerignore rules, it is removed from the files to hash to compute the image tag. However, the Dockerfile passed to Docker is always included, regardless of ignore rules, so we should ensure that whichever Dockerfile is used to build a container is always included in the hash (by explicitly adding it to the list).

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