-
Notifications
You must be signed in to change notification settings - Fork 372
Use RC5 image #74
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
Use RC5 image #74
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
During this, I discovered that the alpine image doesn't have |
@withinboredom That docker-library/php#1331 is merged |
@withinboredom Few questions:
In other words, if we're now happy with official PHP RC5 as it is, we should just build FrankenPHP and then combine it with clean PHP RC5 ? Just trying to understand what I'm reading from the |
It's pretty much explicitly needed for alpine (#74 (comment)), and I left it in for both platforms so we can control the build of PHP, which is desirable since it appears getting "bugfix" PRs merged to the base image can take awhile. This gives us some independence from their release cycle and keeps things consistent.
I think this is normal? The "dev stuff" is required to build extensions, right? There shouldn't be anything not already in the original image (except for I suspect the build of PHP does contribute to some image size increase (I'm not 100% sure how Docker does deduping -- especially without a zfs backend); however, that should be negligible once you start piling extensions on the image. For example, one of my internal images adds another 200mb of extensions and several hundred megs in assets. So the cost of storage is negligible when compared to a final image. |
First one 👍 Second, the "dev stuff": it it's needed for the final product (to eg. run some operations) then it's argumented. Still, your image sizes seem quite small already so I'm not totally sure if something happened already (cleaning). |
Alpine docker file has at least these:
Bullseye has some so there is cleaning 👍 |
This migrates to the new RC5 image instead of cloning
master
ofphp-src
.New image sizes: