use long-running context for client initialization

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 422ba60b04)
This commit is contained in:
Tonis Tiigi
2021-08-19 20:36:24 -07:00
parent 260d07a9a1
commit 43e51fd089
5 changed files with 8 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ import (
)
func createTempDockerfileFromURL(ctx context.Context, d driver.Driver, url string, pw progress.Writer) (string, error) {
c, err := driver.Boot(ctx, d, pw)
c, err := driver.Boot(ctx, ctx, d, pw)
if err != nil {
return "", err
}