For a project, I enabled DOCKER_BUILDKIT="1".
When building, I get wget: bad address 'my.company.com'.
The offending line is:
RUN wget http://my.company.com/foobar.txt
I am not really sure, why this does not work. Other lines like apk add --no-cache git work fine in contrast.
When experimenting, I get a similar error with:
And this works fine both on the host and when not using Buildkit.