Skip to content

Commit

Permalink
Merge pull request #37691 from tiborvass/tmp-disable-bridge
Browse files Browse the repository at this point in the history
builder: temporarily disable bridge networking when using buildkit
  • Loading branch information
tiborvass committed Aug 22, 2018
2 parents ef50da4 + 16084ea commit 3ba4f9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
9 changes: 3 additions & 6 deletions builder/builder-next/executor_unix.go
Expand Up @@ -18,16 +18,13 @@ import (

const networkName = "bridge"

func init() {
// FIXME: https://github.com/moby/moby/issues/37676
runcexecutor.DisableSubReaper()
}

func newExecutor(root string, net libnetwork.NetworkController) (executor.Executor, error) {
// FIXME: fix bridge networking
_ = bridgeProvider{}
return runcexecutor.New(runcexecutor.Opt{
Root: filepath.Join(root, "executor"),
CommandCandidates: []string{"docker-runc", "runc"},
}, &bridgeProvider{NetworkController: net})
}, nil)
}

type bridgeProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion vendor.conf
Expand Up @@ -26,7 +26,7 @@ github.com/imdario/mergo v0.3.6
golang.org/x/sync 1d60e4601c6fd243af51cc01ddf169918a5407ca

# buildkit
github.com/moby/buildkit 46f9075ab68a07df2c40ae6e240ce4f9392b3a66 git://github.com/tiborvass/buildkit.git
github.com/moby/buildkit 49906c62925ed429ec9174a0b6869982967f1a39
github.com/tonistiigi/fsutil b19464cd1b6a00773b4f2eb7acf9c30426f9df42
github.com/grpc-ecosystem/grpc-opentracing 8e809c8a86450a29b90dcc9efbf062d0fe6d9746
github.com/opentracing/opentracing-go 1361b9cd60be79c4c3a7fa9841b3c132e40066a7
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/moby/buildkit/vendor.conf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ba4f9b

Please sign in to comment.