From 2b5553144a9249bbfed9be2a181b051a66350cb1 Mon Sep 17 00:00:00 2001 From: Kimbro Staken Date: Mon, 8 Jul 2013 16:03:18 -0700 Subject: [PATCH] Removing the save to disk as it was not really necessary --- buildfile.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/buildfile.go b/buildfile.go index 303baac318..75e31dba70 100644 --- a/buildfile.go +++ b/buildfile.go @@ -281,10 +281,7 @@ func (b *buildFile) run() (string, error) { // override the entry point that may have been picked up from the base image c.Path = b.config.Cmd[0] - c.Args = b.config.Cmd[1:] - if err := c.ToDisk(); err != nil { - return "", err - } + c.Args = b.config.Cmd[1:] //start the container hostConfig := &HostConfig{}