1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Merge pull request #22842 from wendelfleming/FixWorkDir

builder: fixed workdir comment
Upstream-commit: de908dfd2cfb640d7e55cb5092a59b75eb846948
Component: engine
This commit is contained in:
Alexander Morozov
2016-05-19 15:23:45 -07:00

View File

@@ -266,7 +266,7 @@ func workdir(b *Builder, args []string, attributes map[string]bool, original str
return err
}
return b.commit("", b.runConfig.Cmd, fmt.Sprintf("WORKDIR %v", workdir))
return b.commit("", b.runConfig.Cmd, fmt.Sprintf("WORKDIR %v", b.runConfig.WorkingDir))
}
// RUN some command yo