DevOps и другие неприятности.
musl - an implementation of C standard library and many things depend on C standard library including DNS. Since musl doesn’t support DNS over TCP by design, you may get nxdomain errors if the DNS response is more than 512 bytes. And it can happen in Kubernetes.
TBH, Alpine got more stable in the recent years, but still…
The article also provides some alternatives like Wolfi, UBI, and of course, Debian/Ubuntu images. You can use Distroless images as well if you are looking for a small and secure images.
Also, here’s a related Reddit thread, so you can follow the discussion there as well.
#docker #alpine #dns #Kubernetes"for_each" value depends on resource attributes that cannot be determined until apply error in cases when it could happen and still be able to use nice naming, that does not trigger resource recreation in case of list values change/reorder.
P.S. Not sure that it should be used anywhere at all.
#terraform--link enabled, files added with COPY won't be copied to the previous layer, but a new layer will be created. This can help you to better cache specific things and accelerate your Docker builds.
#docker