summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/run.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/run.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/vendor/github.com/projectatomic/buildah/run.go b/vendor/github.com/projectatomic/buildah/run.go
index b45a0e3a6..50edc9434 100644
--- a/vendor/github.com/projectatomic/buildah/run.go
+++ b/vendor/github.com/projectatomic/buildah/run.go
@@ -326,15 +326,7 @@ func (b *Builder) Run(command []string, options RunOptions) error {
if len(command) > 0 {
g.SetProcessArgs(command)
} else {
- cmd := b.Cmd()
- if len(options.Cmd) > 0 {
- cmd = options.Cmd
- }
- entrypoint := b.Entrypoint()
- if len(options.Entrypoint) > 0 {
- entrypoint = options.Entrypoint
- }
- g.SetProcessArgs(append(entrypoint, cmd...))
+ g.SetProcessArgs(nil)
}
if options.WorkingDir != "" {
g.SetProcessCwd(options.WorkingDir)