Signed-off-by: WangPing <present.wp@icloud.com>
align
Signed-off-by: WangPing <present.wp@icloud.com>
align
Signed-off-by: WangPing <present.wp@icloud.com>
| ... | ... |
@@ -136,20 +136,16 @@ func (out *lastProgressOutput) WriteProgress(prog progress.Progress) error {
|
| 136 | 136 |
func runBuild(dockerCli *command.DockerCli, options buildOptions) error {
|
| 137 | 137 |
|
| 138 | 138 |
var ( |
| 139 |
- buildCtx io.ReadCloser |
|
| 140 |
- err error |
|
| 141 |
- ) |
|
| 142 |
- |
|
| 143 |
- specifiedContext := options.context |
|
| 144 |
- |
|
| 145 |
- var ( |
|
| 139 |
+ buildCtx io.ReadCloser |
|
| 140 |
+ err error |
|
| 146 | 141 |
contextDir string |
| 147 | 142 |
tempDir string |
| 148 | 143 |
relDockerfile string |
| 149 | 144 |
progBuff io.Writer |
| 150 | 145 |
buildBuff io.Writer |
| 151 | 146 |
) |
| 152 |
- |
|
| 147 |
+ |
|
| 148 |
+ specifiedContext := options.context |
|
| 153 | 149 |
progBuff = dockerCli.Out() |
| 154 | 150 |
buildBuff = dockerCli.Out() |
| 155 | 151 |
if options.quiet {
|