RE: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Marc
I can definitely remember having a performance difference between my container and a vm. I never bothered to research it any further and thought maybe it was related to older cgroups implementation, oc, or older distro. > > By any chance have you measured the performance difference between GNU

Re: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Taavi Eomäe via bind-users
By any chance have you measured the performance difference between GNU libc and MUSL? Best Regards, Taavi smime.p7s Description: S/MIME Cryptographic Signature -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this softw

Re: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Ondřej Surý
> On 2. 9. 2024, at 15:22, Devpt Calmarsoft wrote: > > strip binaries or not Oh god, don’t ever do that if you ever want my help with debugging. Stripping the symbols is a horrible practice that should be not be done. It’s ok to have a detached symbols that can be installed later, but if you

Re: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Devpt Calmarsoft
Le 02/09/2024 à 15:00, Marc a écrit : I think this will copy duplicates, duplicates increase still layer size so you have 2x size of a default /usr Alpine is so small that I did not notice that ! thanks ! so you can only copy individual files You are right, extra files appear in the diff! I wa

RE: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Marc
> > I think this will copy duplicates, duplicates increase still layer > size so you have 2x size of a default /usr > > so you can only copy individual files > > You are right, extra files appear in the diff! I was thinking that the > files already present would be discarded. Copying

Re: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Devpt Calmarsoft
Le 02/09/2024 à 13:52, Marc a écrit : 1. Afaik you don't need to remove packages from builder, the whole builder layer will be gone. I did that to avoid copy extra files with the COPY --from=builder command 2. COPY --from=builder /usr/ /usr/ I think this will copy duplicates, duplicates incr

RE: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Marc
1. Afaik you don't need to remove packages from builder, the whole builder layer will be gone. 2. COPY --from=builder /usr/ /usr/ I think this will copy duplicates, duplicates increase still layer size so you have 2x size of a default /usr so you can only copy individual files "As long as the

Re: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Devpt Calmarsoft
I forgot to specify the runtime dependency packages (fixed Dockerfile attached), I am sorry. This is still minimal changes, and the result is now 101MB, which is still an interesting improvement (371MB before changes). Note that when building, the intermediate image is visible. Le 02/09/2024 à

Re: Updated Docker images (9.18, 9.20, 9.21) - now based on Alpine Linux

2024-09-02 Thread Devpt Calmarsoft
Le 27/08/2024 à 19:52, Ondřej Surý a écrit : What’s the size difference for you? I mean if someone wants to play with our Dockerfile and there’s a significant reduction is size, I would be convinced. But in a world, where a mobile application that does absolutely nothing has 4 GB, I feel like