kaniko/integration/dockerfiles-with-context/issue-2075
Tony De La Nuez 77ac6942a6
Fix missing setuid flags on COPY --from=build operation (#2089)
* Fix missing file permissions on multi-stage build

Fixes #2075

When a file with the setuid bit is copied from one stage
to another, the permissions were not copied over properly after
setting ownership on directory and the file itself.

* Update pkg/util/fs_util.go

Co-authored-by: Jason Hall <jason@chainguard.dev>

* Adding boilerplate to dockerfile

* Add bash check to bail with exit code 1 if setuid not present

Co-authored-by: Jason Hall <jason@chainguard.dev>
2022-05-22 09:20:18 -04:00
..
Dockerfile Fix missing setuid flags on COPY --from=build operation (#2089) 2022-05-22 09:20:18 -04:00
top1 Fix missing setuid flags on COPY --from=build operation (#2089) 2022-05-22 09:20:18 -04:00