Removing the save to disk as it was not really necessary

This commit is contained in:
Kimbro Staken 2013-07-08 16:03:18 -07:00
parent 1d1d81b0bc
commit 2b5553144a
1 changed files with 1 additions and 4 deletions

View File

@ -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{}