go.mod: github.com/opencontainers/image-spec v1.1.0-rc3
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -464,6 +464,7 @@ func WithImageConfigArgs(image Image, args []string) SpecOpts {
|
||||
return errors.New("no arguments specified")
|
||||
}
|
||||
|
||||
//nolint:staticcheck // ArgsEscaped is deprecated
|
||||
if config.ArgsEscaped && (len(config.Entrypoint) > 0 || cmdFromImage) {
|
||||
s.Process.Args = nil
|
||||
s.Process.CommandLine = cmd[0]
|
||||
|
||||
Reference in New Issue
Block a user