Conversation
|
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
masterofphp-src.New image sizes: