refactor: streamline container setup and dependencies
- Remove `xz-utils` from initial package install - Remove password/secret check in `obj_init` - Add on-demand `crun` installation during container create - Import `herorunner_installer` for `crun` setup
This commit is contained in:
@@ -18,9 +18,6 @@ pub mut:
|
||||
// your checking & initialization code if needed
|
||||
fn obj_init(mycfg_ HeroRunner) !HeroRunner {
|
||||
mut mycfg := mycfg_
|
||||
if mycfg.password == '' && mycfg.secret == '' {
|
||||
return error('password or secret needs to be filled in for ${mycfg.name}')
|
||||
}
|
||||
return mycfg
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user