Please excuse my ignorance here if this is the wrong place to raise this, but thought it might be useful to have a placeholder folks could follow. Not sure if something can be done in this repo right now, or we would still be waiting on another part of the docker ecosystem.
Background
Current State (Sep 2022)
Please excuse my ignorance here if this is the wrong place to raise this, but thought it might be useful to have a placeholder folks could follow. Not sure if something can be done in this repo right now, or we would still be waiting on another part of the docker ecosystem.
Background
ctrbinary in docker 20.10.8 #323libc6-compatwas added into the Alpine images to address an issue withctrnot being fully statically linked as noted in Statically compilingctrfails on Go 1.15 and up (segfault or not statically linked) containerd/containerd#5824libc6-compathas migrated a few places: https://github.com/docker-library/docker/search?q=libc6-compat e.gdocker/Dockerfile-cli.template
Lines 4 to 7 in 04ae082
libc6-compatlibrary can conflict with alternatives folks might want to use (e.ggcompator... gasp.... alpine glibc 🙈) it can cause child images to have toapk del --purge libc6-compatso seems would be better without it if it can be avoidedCurrent State (Sep 2022)
1.6.7a fix was backported to allow building static binaries simpler via1.6.8but not sure if the Alpine builds are all fully static just yetdocker-proxyfixed to be static in fix docker-proxy not statically linked moby/moby#43621ctrbits had problems so look like not merged.ctrmay be waiting on Enhanced Dockerfile for cross compilation moby/moby#43529 or similar.