USER command set wrong $HOME or gid #507
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
in progress
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
Milestone
Actual behavior
Switching to a different user does not do the same behavior on
$HOME
andgid
as the native docker build commands.Expected behavior
When using
USER runner
, the gid and groups should be set touid=1000(runner) gid=1000(runner) groups=1000(runner)
.When using
USER runner:runner
the$HOME
should be set to/home/runner
.To Reproduce
Using this Dockerfile produce the following output.
With kaniko (keeping just enough log)
With docker build.
The text was updated successfully, but these errors were encountered: