Switching to debian reduced it to microseconds.
Does anyone here know what I was doing wrong with alpine?
Too many weird edge cases to deal with, especially related to Alpine using musl libc instead of glibc.
At best, your builds are slower.
At worst, certain code paths are broken.
And if you are using Go, then go directly to SCRATCH images (add timezone and TLS data - https://ashishb.net/programming/docker-scratch-image/).
https://sandeepbansod.medium.com/why-your-docker-container-i...
tpaksoy•52m ago
Switching to debian reduced it to microseconds.
Does anyone here know what I was doing wrong with alpine?
Tiberium•50m ago
ashishb•48m ago
Too many weird edge cases to deal with, especially related to Alpine using musl libc instead of glibc.
At best, your builds are slower.
At worst, certain code paths are broken.
And if you are using Go, then go directly to SCRATCH images (add timezone and TLS data - https://ashishb.net/programming/docker-scratch-image/).
stavros•31m ago