Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! run: log user Lookup failure
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <[email protected]>
  • Loading branch information
greut committed Feb 29, 2020
1 parent ced9e33 commit 3c34c0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func TestRun(t *testing.T) {
t.Run("test_"+dockerfile, func(t *testing.T) {
dockerfile := dockerfile
t.Parallel()

if _, ok := imageBuilder.DockerfilesToIgnore[dockerfile]; ok {
t.SkipNow()
}
Expand Down
1 change: 0 additions & 1 deletion pkg/commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func (r *RunCommand) ExecuteCommand(config *v1.Config, buildArgs *dockerfile.Bui
replacementEnvs := buildArgs.ReplacementEnvs(config.Env)
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}

userStr := config.User
// If specified, run the command as a specific user
if config.User != "" {
uid, gid, err := util.GetUIDAndGIDFromString(config.User, false)
Expand Down

0 comments on commit 3c34c0b

Please sign in to comment.