bootc-dev / bootc-dev/bootc

`bootc container lint` checks `rm -rf /var/cache /var/lib/dnf` in Containerfile

Aperta
#1,201 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/container-compatibility area/container-lint
Lingua principale
Rust
Stelle
2.3k
Fork
230
Merge medio
3g 12h
PR unite (30g)
38

Descrizione

To avoid error `error: ostree-tar: Processing deferred hardlink var/cache/dnf/rhel-appstream-c101d4db5fbc3a4f/repodata/527fa9e5c8c45b22a7bbc2821c96540817984e837c219acb5141a462a08d45f6-primary.xml.gz: Failed to find object: No such file or directory: 527fa9e5c8c45b22a7bbc2821c96540817984e837c219acb5141a462a08d45f6-primary.xml.gz: Processing tar: Failed to commit tar: ExitStatus(unix_wait_status(256))`, `rm -rf /var/cache /var/lib/dnf` in Containerfile should be checked and report warnings.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the `bootc container lint` command and reproduce the reported ostree-tar failure using a Containerfile containing `rm -rf /var/cache /var/lib/dnf`. Trace how lint checks Containerfiles, then add the warning behavior and verify that this pattern is reported without obscuring the underlying error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.