borrar rootfs cada vez
This commit is contained in:
parent
b8e46f1e0f
commit
af3e491626
1 changed files with 2 additions and 0 deletions
2
main.go
2
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
|
||||
|
|
Loading…
Reference in a new issue