1
0

fix: containers update

This commit is contained in:
2024-06-06 12:59:04 +00:00
parent 75dd8f4a51
commit d3a575e5e3
7 changed files with 20 additions and 28 deletions

View File

@ -241,6 +241,10 @@ func (c Container) Exist() (yes bool) {
}
func (c Container) Build(image string, envs, runs []string) (err error) {
if c.Exist() && UseCache {
return
}
cdir := dotfiles.Dir("containers", c.name)
cfile := filepath.Join(cdir, "Dockerfile")