Open pierreyves-lebrun opened 3 years ago
For reference, this is already supported by Podman, and indeed would be great to see in kaniko :)
podman supports both, and if both are present it uses the .containerignore only. is this the behavior what would be the end goal here too?
I'd be happy to take this task on as my first issue
podman supports both, and if both are present it uses the .containerignore only. is this the behavior what would be the end goal here too?
I'd be happy to take this task on as my first issue
Yes I think mimicking podman behavior would be great
Actual behavior Kaniko currently expects
.dockerignore
file for excluding files/folders from image builds.Expected behavior As the industry is moving away from Docker, it would be nice to support
.containerignore
as an alternate filename.Additional Information Would you accept a PR that moves the currently hard coded .dockerignore value to a command line argument?
--cache
flag