Arreglar cache al conseguir apk-tools

This commit is contained in:
Cat /dev/Nulo 2023-01-25 20:06:41 -03:00
parent 5077c6509b
commit f4e717e47a

View file

@ -58,7 +58,7 @@ https://dl-cdn.alpinelinux.org/alpine/v3.17/community`), 0600); err != nil {
cmd := exec.Command("apk", "add",
"--root", rootfs,
"--initdb",
"--cache-dir", path.Join(cache, "_var_cache_apk"),
"--cache-dir", path.Join("..", cache, "_var_cache_apk"),
"apk-tools")
if err = cmd.Run(); err != nil {
return fmt.Errorf("apk add apk-tools: %w", err)