kaniko/pkg
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
..
buildcontext feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
cache Try to warm all images and warn about errors (#1653) 2021-06-04 10:07:57 -07:00
commands fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
config fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
constants feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
creds Add GitLab CI credentials helper (#2040) 2022-04-11 13:13:47 -04:00
dockerfile fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
executor fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
fakes refactor cache.Warm and add tests 2020-01-10 12:29:17 -08:00
filesystem fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
image feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
logging Add timestamp to logs 2020-04-23 13:40:47 +02:00
mocks/go-containerregistry/mockv1 rename mock pkg for lint 2020-01-17 14:59:14 -08:00
snapshot fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
timing Add a lot more timing data. (#518) 2019-01-10 13:27:55 -07:00
util Fix missing setuid flags on COPY --from=build operation (#2089) 2022-05-22 09:20:18 -04:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00