kaniko/integration
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
..
benchmark_fs minimal changes 2020-06-06 00:16:14 -07:00
context Fixes a whitelist issue when untarring files in ADD commands. (#371) 2018-09-28 11:42:07 -07:00
dockerfiles fix: Regression test for #2066 (#2096) 2022-05-18 06:35:35 -04:00
dockerfiles-with-context Fix missing setuid flags on COPY --from=build operation (#2089) 2022-05-22 09:20:18 -04:00
ignore Re-add support for .dockerignore file 2018-12-10 15:20:25 -08:00
ignore_relative Fix #776 2019-10-03 17:53:14 +02:00
testdata Exit Code Propagation (#1655) 2021-06-01 10:43:49 -07:00
.dockerignore Re-add support for .dockerignore file 2018-12-10 15:20:25 -08:00
.gitignore fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
BUILD Update ggcr to pick up estargz and caching option (#1527) 2020-12-21 10:09:21 -08:00
benchmark_test.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
cleanup.go Pass bucket and repo as args to tests 2018-07-31 09:53:59 -07:00
cmd.go Bump github.com/docker/docker to latest release (#1866) 2022-01-14 15:58:32 -05:00
config.go Allow contributors to launch integration tests against local registry 2020-02-06 13:35:51 +01:00
gcs.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
images.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
integration_test.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
integration_with_context_test.go Fix the e2e K8s test (#1842) 2021-12-17 14:43:38 -05:00
integration_with_stdin_test.go feat: allow injecting through stdin tar.gz on kaniko 2020-03-18 12:29:49 +01:00
k8s-job.yaml Fix the e2e K8s test (#1842) 2021-12-17 14:43:38 -05:00
k8s_test.go Fix the e2e K8s test (#1842) 2021-12-17 14:43:38 -05:00
tar.tar chore: add workflows for pr tests (#1766) 2021-10-18 23:22:44 -07:00