mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-17 23:35:47 +02:00
adding user command to switch
This commit is contained in:
@@ -50,6 +50,8 @@ func GetCommand(cmd instructions.Command, buildcontext string) (DockerCommand, e
|
||||
return &EntrypointCommand{cmd: c}, nil
|
||||
case *instructions.LabelCommand:
|
||||
return &LabelCommand{cmd: c}, nil
|
||||
case *instructions.UserCommand:
|
||||
return &UserCommand{cmd: c}, nil
|
||||
}
|
||||
return nil, errors.Errorf("%s is not a supported command", cmd.Name())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user