executor: reset file limit in default spec

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
docker-18.09
Tonis Tiigi 2018-10-02 17:29:58 -07:00
parent cd451ec063
commit 9dc04755dd
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ func GenerateSpec(ctx context.Context, meta executor.Meta, mounts []executor.Mou
s.Process.Args = meta.Args
s.Process.Env = meta.Env
s.Process.Cwd = meta.Cwd
s.Process.Rlimits = nil // reset open files limit
s.Hostname = "buildkitsandbox"
s.Mounts = GetMounts(ctx,