kaniko/integration
Aris Buzachis 61312a95ae
fix(WORKDIR): use the config.User for the new dir permissions (#2269)
WORKDIR ignores the currently set USER and creates the new directories
with the root user ownership.

This changes that, by executing a chown after the mkdir if needed, and
also handle the case where the provided USER is an uid and the passwd
file is not available to resolve to the username.

Fixes #2259

Signed-off-by: Aris Buzachis <buzachis.aris@gmail.com>

Signed-off-by: Aris Buzachis <buzachis.aris@gmail.com>
2022-09-28 21:18:40 -04:00
..
benchmark_fs refactor: Make CLI argument names consistent (#2084) 2022-08-22 09:10:11 -04:00
context Fixes a whitelist issue when untarring files in ADD commands. (#371) 2018-09-28 11:42:07 -07:00
dockerfiles fix(WORKDIR): use the config.User for the new dir permissions (#2269) 2022-09-28 21:18:40 -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 refactor: simpler local integration tests (#2110) 2022-06-14 13:38:01 -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 refactor: simpler local integration tests (#2110) 2022-06-14 13:38:01 -04:00
images.go Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00
integration_test.go Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -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: getUIDandGID is able to resolve non-existing users and groups (#2106) 2022-07-12 10:21:37 -04:00
tar.go refactor: simpler local integration tests (#2110) 2022-06-14 13:38:01 -04:00
tar.tar chore: add workflows for pr tests (#1766) 2021-10-18 23:22:44 -07:00