mirror of https://github.com/docker/docs.git
Removing the save to disk as it was not really necessary
This commit is contained in:
parent
1d1d81b0bc
commit
2b5553144a
|
@ -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{}
|
||||
|
|
Loading…
Reference in New Issue