bootc-dev / bootc-dev/bootc

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

Offen
#1,201 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area/container-compatibility area/container-lint
Vorherrschende Sprache
Rust
Sterne
2.3k
Forks
230
Ø Merge
3 T. 12 Std.
Gemergte PRs (30 T.)
38

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.