diff --git a/pkg/lang/ir/supervisor.go b/pkg/lang/ir/supervisor.go index 246cc29e2..ae0bb46f5 100644 --- a/pkg/lang/ir/supervisor.go +++ b/pkg/lang/ir/supervisor.go @@ -40,7 +40,6 @@ working-directory = "${%[3]s}" [environment] keep-env = true -re-export = [ "PATH", "SHELL", "USER", "%[3]s", "ENVD_AUTHORIZED_KEYS_PATH", "ENVD_HOST_KEY" ] [restart] strategy = "on-failure" @@ -54,10 +53,10 @@ wait = "5s" func (g Graph) installHorust(root llb.State) llb.State { horust := root. - File(llb.Copy(llb.Image(types.HorustImage), "/", "/usr/local/bin", llb.WithUIDGID(g.uid, g.gid)), + File(llb.Copy(llb.Image(types.HorustImage), "/", "/usr/local/bin"), llb.WithCustomName("[internal] install horust")). - File(llb.Mkdir(types.HorustServiceDir, 0755, llb.WithParents(true), llb.WithUIDGID(g.uid, g.gid))). - File(llb.Mkdir(types.HorustLogDir, 0755, llb.WithParents(true), llb.WithUIDGID(g.uid, g.gid))) + File(llb.Mkdir(types.HorustServiceDir, 0755, llb.WithParents(true))). + File(llb.Mkdir(types.HorustLogDir, 0777, llb.WithParents(true))) return horust }