dockerfile: fix wrong context passed to build

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
docker-18.09
Tonis Tiigi 2017-12-13 21:17:50 -08:00
parent 8fa227c801
commit 5d457719be
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"github.com/moby/buildkit/cache"
"github.com/moby/buildkit/frontend"
"github.com/moby/buildkit/frontend/dockerfile/builder"
"github.com/moby/buildkit/util/appcontext"
"github.com/pkg/errors"
"golang.org/x/net/context"
)
@ -30,7 +29,7 @@ func (f *dfFrontend) Solve(ctx context.Context, llbBridge frontend.FrontendLLBBr
}
}()
if err := builder.Build(appcontext.Context(), c); err != nil {
if err := builder.Build(ctx, c); err != nil {
return nil, nil, err
}