From f5b84574052a4473f59bfe64921cf5a3fcc88b27 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Wed, 9 May 2018 12:01:05 -0700 Subject: [PATCH] Add shell command to commands.go --- pkg/commands/commands.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/commands/commands.go b/pkg/commands/commands.go index 0d8e6cafa..dc3ea66e1 100644 --- a/pkg/commands/commands.go +++ b/pkg/commands/commands.go @@ -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