5 ms·
I use distroless images based on Debian or Ubuntu, e.g., https://github.com/cogini/phoenix_container_example https://github.com/cogini/phoenix_container_example
by jake_morrison 3y ago
I use distroless images based on Debian or Ubuntu, e.g., https://github.com/cogini/phoenix_container_example https://github.com/cogini/phoenix_container_example
The result is images the same size as Alpine, or smaller, without the incompatibilities. I think Alpine is a dead end.
- suprjami 3y agoI hadn't heard of "distroless" before. Confusing name for a container with just main process runtimes, but neat idea. https://github.com/GoogleContainerTools/distroless https://github.com/GoogleContainerTools/distroless
- nullify88 3y agoDoesn't distroless bring in a lot of complexity when you need something as simple as ca-certificates? IMO Distroless or even scratch is nice for statically complied binaries or self contained deployments, but if there's a dependency on user space then it becomes complex.
- pas 3y agoYou can copy the CA bundle in the last step of the image build (along with the required libs and their assets/dependencies), or am I missing something?