(buildPath, dockerfilePath, image string)
| 29 | } |
| 30 | |
| 31 | func (c *Client) BuildImage(buildPath, dockerfilePath, image string) error { |
| 32 | return c.exec(c.dockerBin, "build", "-t", image, "-f", dockerfilePath, buildPath) |
| 33 | } |
| 34 | |
| 35 | func (c *Client) Login(userName, password, proxyURL string) error { |
| 36 | // NOTE: use slightly different implementation to hide password in output |