Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
| ... | ... |
@@ -18,6 +18,7 @@ import ( |
| 18 | 18 |
"github.com/moby/buildkit/exporter" |
| 19 | 19 |
"github.com/moby/buildkit/frontend" |
| 20 | 20 |
"github.com/moby/buildkit/frontend/dockerfile" |
| 21 |
+ "github.com/moby/buildkit/frontend/gateway" |
|
| 21 | 22 |
"github.com/moby/buildkit/snapshot/blobmapping" |
| 22 | 23 |
"github.com/moby/buildkit/solver/boltdbcachestorage" |
| 23 | 24 |
"github.com/moby/buildkit/worker" |
| ... | ... |
@@ -114,7 +115,7 @@ func newController(rt http.RoundTripper, opt Opt) (*control.Controller, error) {
|
| 114 | 114 |
|
| 115 | 115 |
frontends := map[string]frontend.Frontend{}
|
| 116 | 116 |
frontends["dockerfile.v0"] = dockerfile.NewDockerfileFrontend() |
| 117 |
- // frontends["gateway.v0"] = gateway.NewGatewayFrontend() |
|
| 117 |
+ frontends["gateway.v0"] = gateway.NewGatewayFrontend() |
|
| 118 | 118 |
|
| 119 | 119 |
wopt := mobyworker.WorkerOpt{
|
| 120 | 120 |
ID: "moby", |