From 907430d40994b89fb428d27102d90e5c49377bb2 Mon Sep 17 00:00:00 2001 From: Tom Chauveau Date: Sat, 24 Apr 2021 19:31:36 +0200 Subject: [PATCH] Fix Subdir op Signed-off-by: Tom Chauveau --- dagger/pipeline.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagger/pipeline.go b/dagger/pipeline.go index 1741ca49..f0ca2999 100644 --- a/dagger/pipeline.go +++ b/dagger/pipeline.go @@ -234,7 +234,7 @@ func (p *Pipeline) Subdir(ctx context.Context, op *compiler.Value, st llb.State) if err != nil { return st, err } - return st.File( + return llb.Scratch().File( llb.Copy( st, dir,