mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-06 23:51:24 +02:00
Merge pull request #174 from priyawadhwa/shell
Add shell command to commands.go
This commit is contained in:
@@ -63,6 +63,8 @@ func GetCommand(cmd instructions.Command, buildcontext string) (DockerCommand, e
|
||||
return &VolumeCommand{cmd: c}, nil
|
||||
case *instructions.StopSignalCommand:
|
||||
return &StopSignalCommand{cmd: c}, nil
|
||||
case *instructions.ShellCommand:
|
||||
return &ShellCommand{cmd: c}, nil
|
||||
case *instructions.MaintainerCommand:
|
||||
logrus.Warnf("%s is deprecated, skipping", cmd.Name())
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user