Arreglar cache al conseguir apk-tools
This commit is contained in:
parent
5077c6509b
commit
f4e717e47a
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ https://dl-cdn.alpinelinux.org/alpine/v3.17/community`), 0600); err != nil {
|
||||||
cmd := exec.Command("apk", "add",
|
cmd := exec.Command("apk", "add",
|
||||||
"--root", rootfs,
|
"--root", rootfs,
|
||||||
"--initdb",
|
"--initdb",
|
||||||
"--cache-dir", path.Join(cache, "_var_cache_apk"),
|
"--cache-dir", path.Join("..", cache, "_var_cache_apk"),
|
||||||
"apk-tools")
|
"apk-tools")
|
||||||
if err = cmd.Run(); err != nil {
|
if err = cmd.Run(); err != nil {
|
||||||
return fmt.Errorf("apk add apk-tools: %w", err)
|
return fmt.Errorf("apk add apk-tools: %w", err)
|
||||||
|
|
Loading…
Reference in a new issue