devcontainers / devcontainers/features

[Feature Request][common-utils]: add additionalPackages option

Offen
#537 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Shell
Sterne
1.5k
Forks
621
Ø Merge
6 T. 53 Min.
Gemergte PRs (30 T.)
9

Beschreibung

common-utils currently adds common packages depending on the distribution. This task would expand the functionality with a new option called additionalPackages that would simply pass the package manager additional packages for installing.

It looks like there is a feature which does this and it sounds like the author believes common-utils might be a good place for such functionality to move into.

Comment from #67
```
Hi, I published `apt-packages` Feature to install apt packages.
https://github.com/rocker-org/devcontainer-features/tree/main/src/apt-packages

Something better than (perhaps supports more than just apt?) may become available here in the future, but for now we can use it to install any apt package without a Dockerfile.

_Originally posted by @eitsupi in
https://github.com/devcontainers/features/issues/67#issuecomment-1346642565_
```

Alternately move https://github.com/rocker-org/devcontainer-features/tree/main/src/apt-packages into https://github.com/devcontainers/features and expand to work on alpine and redhat.

Possible name: native-package-manager

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der Überprüfung des common-utils-Features und des bestehenden src/apt-packages-Features, auf das im Issue verwiesen wird. Vergleiche, wie sich die Paketinstallation derzeit je nach Distribution unterscheidet, und bestimme, ob additionalPackages zu common-utils gehört oder zu einem umfassenderen native-package-manager-Feature werden sollte. Erledigt ist die Aufgabe, wenn der ausgewählte Ansatz die angeforderten zusätzlichen Pakete über alle unterstützten Distributionen hinweg installiert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
devops
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

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