Merge pull request #6805 from deckhouse/reset-empty-entrypoint
This commit is contained in:
commit
e0abf62710
@ -63,7 +63,9 @@ func WithProcessArgs(config *runtime.ContainerConfig, image *imagespec.ImageConf
|
||||
args = append([]string{}, image.Cmd...)
|
||||
}
|
||||
if command == nil {
|
||||
command = append([]string{}, image.Entrypoint...)
|
||||
if !(len(image.Entrypoint) == 1 && image.Entrypoint[0] == "") {
|
||||
command = append([]string{}, image.Entrypoint...)
|
||||
}
|
||||
}
|
||||
}
|
||||
if len(command) == 0 && len(args) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user