renamed mount arg tmp to tmpfs

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-03-04 14:03:50 -08:00
parent 5fed74bc55
commit 514dde4e6d

View File

@ -369,7 +369,7 @@ func (p *Pipeline) mount(ctx context.Context, dest string, mnt *compiler.Value)
llb.CacheMountShared, llb.CacheMountShared,
), ),
), nil ), nil
case "tmp": case "tmpfs":
return llb.AddMount( return llb.AddMount(
dest, dest,
llb.Scratch(), llb.Scratch(),