aboutcode-org / aboutcode-org/scancode-toolkit

Treat Dockerfile and Containerfile as "non-assembled" package data, collect OCi labels

Offen
#3,561 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
good first issue package scan package-formats
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

It would useful as these are package like and have structured data as seen in https://github.com/jitsi/docker-jitsi-meet/blob/stable-8960-1/jibri/Dockerfile#L5

```
LABEL org.opencontainers.image.title="Jitsi Broadcasting Infrastructure (jibri)"
LABEL org.opencontainers.image.description="Components for recording and/or streaming a conference."
LABEL org.opencontainers.image.url="https://github.com/jitsi/jibri"
LABEL org.opencontainers.image.source="https://github.com/jitsi/docker-jitsi-meet"
LABEL org.opencontainers.image.documentation="https://jitsi.github.io/handbook/"
```

See for full spec: https://github.com/opencontainers/image-spec/blob/main/annotations.md

Note that container-inspector already supports parsing Dockerfile.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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