Skip to content

Commit

Permalink
Merge pull request moby#27702 from tonistiigi/net-builder0
Browse files Browse the repository at this point in the history
add --network option for docker build
  • Loading branch information
thaJeztah committed Oct 26, 2016
2 parents 171e533 + 01832cc commit 70fbc5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions image_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 70fbc5e

Please sign in to comment.