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