From af3e491626b1aba7de2f6bf876cc1ec4ab452cd2 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 22 Jan 2023 00:43:17 -0300 Subject: [PATCH] borrar rootfs cada vez --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index fc1a06c..54fd3ab 100644 --- a/main.go +++ b/main.go @@ -17,6 +17,8 @@ func main() { config, err := readConfig() must(err) + must(os.RemoveAll("rootfs/")) + must(os.MkdirAll("rootfs/etc/apk/keys", 0700)) must(os.WriteFile("rootfs/etc/apk/repositories", []byte( `https://dl-cdn.alpinelinux.org/alpine/v3.17/main