-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove build dependencies after docker-php-ext-install #557
Comments
|
Nope, that is used here. |
yes, I mean, once we have installed the dependencies, we could remove it too (not use at run-time). |
As for deleting the source, that would be a duplicate of #488. For auto-removing build dependencies that we add, that is done in the Alpine images: Lines 116 to 118 in 4017680
We don't auto-add build dependencies in Debian since any needed for As for any other dependencies that could be installed in a Dockerfile, since we didn't add them, we can't reasonably detect that they can be removed. |
Since removing build dependencies after installing PHP extensions (e.g. docker-library/wordpress#267) seems to be a common task it would make sense to have such a functionality in the
docker-php-ext-*
scripts.The text was updated successfully, but these errors were encountered: