GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.85k stars 1.44k forks source link

Improve Docker vs Kaniko test validation by doing permissions/ownership diffs as well #2670

Open aaron-prindle opened 1 year ago

aaron-prindle commented 1 year ago

Currently in the kaniko integration tests, container-diff is used to validate file + layer sameness vs docker images. It would be beneficial if the integration tests validations also tested file metadata (eg: permissions, ownership, etc.) for sameness to avoid issues where kaniko's file metadata differ from docker's file metadata.

aaron-prindle commented 1 year ago

Related issue: https://github.com/GoogleContainerTools/container-diff/issues/377