Merge pull request #27702 from tonistiigi/net-builder0

add --network option for docker build
This commit is contained in:
Sebastiaan van Stijn 2016-10-25 21:50:33 -07:00 committed by GitHub
commit 70fbc5e0bb
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ func imageBuildOptionsToQuery(options types.ImageBuildOptions) (url.Values, erro
}
query.Set("cpusetcpus", options.CPUSetCPUs)
query.Set("networkmode", options.NetworkMode)
query.Set("cpusetmems", options.CPUSetMems)
query.Set("cpushares", strconv.FormatInt(options.CPUShares, 10))
query.Set("cpuquota", strconv.FormatInt(options.CPUQuota, 10))