Optionally remove build-only dependencies and bloat after install
@asgrim ci sta già lavorando.
Dal 19/5/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
I still like mlocati/docker-php-extension-installer but I think it would be beneficial if there was official pie functionality that would automatically remove all build dependencies after installing extensions and maybe also remove other bloat. Then, we could just use the official way via pie also in containers (not just locally for dev) and let it handle all extensions.
Things that should be cleaned up after install (could be more):
- Build-only OS packages. To simplify this on Alpine we could use virtual packages and on Debian use diffing over the package list / using
apt-mark+apt-get autoremove. - The downloaded and extracted extension source and build artifacts (composer caches, attestation artifacts, `vendor/,...)
- Package-manager metadata and caches (
/var/lib/apt/lists/*,/var/cache/apt/*,/var/cache/apk/*). - Optionally we could strip debug symbols from compiled
.sofiles to reduce size even more.
Flag naming ideas
pie install xdebug/xdebug \
--cleanup \
--strip-debug-symbols \
- Lingua principale
- PHP
- Stelle
- 2k
- Fork
- 73
- Merge medio
- 3h 37m
- PR unite (30g)
- 11
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di php/pie
-
enhancement maintainer investigating
-
enhancement maintainer investigating
-
enhancement maintainer investigating
-
enhancement maintainer investigating
-
Bundle PIE with PHP Apertaenhancement maintainer investigating
Issue simili
-
[Chore] Keep one viget-block-generator skill and replicate it, instead of four tracked copies Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
hector-jewell/food-delivery-system-for-restaurant-using-php#1311 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Sylius/SyliusGridBundle#501 ·