Skip to content

Commit

Permalink
fix: Hack the gid (#399)
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <cegao@tensorchord.ai>
  • Loading branch information
gaocegege committed Jun 16, 2022
1 parent 226fd29 commit d3fda6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/lang/ir/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d3fda6d

Please sign in to comment.