Merge pull request #503 from tonistiigi/fix-env-passing

gateway: fix product env passing
docker-18.09
Tibor Vass 2018-07-12 17:05:27 -07:00 committed by GitHub
commit 228ff2a9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ func (gf *gatewayFrontend) Solve(ctx context.Context, llbBridge frontend.Fronten
}
}()
env = append(env, "BUILDKIT_EXPORTEDPRODUCT=", apicaps.ExportedProduct)
env = append(env, "BUILDKIT_EXPORTEDPRODUCT="+apicaps.ExportedProduct)
err = llbBridge.Exec(ctx, executor.Meta{
Env: env,