Fix Subdir op

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau 2021-04-24 19:31:36 +02:00
parent 5b6491aa07
commit 907430d409

View File

@ -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,