From d3fda6db2783c93f4f5ea7954627500431059558 Mon Sep 17 00:00:00 2001 From: Ce Gao Date: Fri, 17 Jun 2022 00:02:44 +0800 Subject: [PATCH] fix: Hack the gid (#399) Signed-off-by: Ce Gao --- pkg/lang/ir/compile.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/lang/ir/compile.go b/pkg/lang/ir/compile.go index a8473a423..e53d7f176 100644 --- a/pkg/lang/ir/compile.go +++ b/pkg/lang/ir/compile.go @@ -118,7 +118,9 @@ func (g Graph) Labels() (map[string]string, error) { func (g Graph) Compile(uid, gid int) (llb.State, error) { g.uid = uid - g.gid = gid + + // TODO(gaocegege): Remove the hack for https://github.com/tensorchord/envd/issues/370 + g.gid = 1001 // TODO(gaocegege): Support more OS and langs. base := g.compileBase()