-
Notifications
You must be signed in to change notification settings - Fork 674
use a single, small image for all smoke test containers #985
Comments
I remember the reason for having the |
well, we use alpine because it is small. What's the reason for dnsutils? |
Here's one reason...
|
The |
Here's another...
|
Both of these look like bugs in the alpine name resolution. The first one would be relatively easy to paper over, even in a portable way, in the tests. The second one is more tricky. |
Another one...
That's just a missing |
Another one...
which is due to missing |
So it seems there are many commands missing and probably some things broken in the resolution library... what should we do then? |
Previous discussion here: #345 |
The broken unqualified name resolution is due to a missing feature in musl :( See also gliderlabs/docker-alpine#8. One way around that might be to change our dns to resolve unqualified names in the weavedns domain. Good idea or bad? |
That would rather defeat the purpose of the test, which is supposed to check that weave configures resolv.conf correctly s.t. unqualified names get resolved as intended. We can't really test that with a broken resolver. |
We used to use |
Which means we can't use images derived from musl. Anything else is going to be huge in comparison. Yes, we could find something smaller than aanand/dnsutil, but not by orders of magnitude. -> wontfix. |
Our smoke tests currently use two images: gliderlabs/alpine and aanand/docker-dnsutils. The former is tiny. The latter is huge. There is reason for having the latter, but I don't remember what it is. @inercia do you? Is there any way we can either a) change the tests to just use the former, or b) build a derived image off gliderlabs/alpine that has what we need?
The text was updated successfully, but these errors were encountered: