Skip to content
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

PHP base-image build deps are present in final image #2

Open
dpraul opened this issue Mar 14, 2022 · 0 comments
Open

PHP base-image build deps are present in final image #2

dpraul opened this issue Mar 14, 2022 · 0 comments

Comments

@dpraul
Copy link
Member

dpraul commented Mar 14, 2022

The base PHP image currently includes a lot of build dependencies to support the docker-php-extension-installer: docker-library/php#769. Removing these from the runtime image would considerably reduce size.

Per the suggestions in the linked issue, a multi-stage image could potentially mitigate this issue.

@dpraul dpraul changed the title Investigate removing base-image build deps PHP base-image build deps are present in final image Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant