I’m running a docker build on an Ubuntu 16.04 system that is running on a VM at work. It’s failing when trying to run the apk commands because it gets an error:
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.8/main: temporary error (try again later)
Is there a way to force the build to use IPv4 only addresses? If I run a wget using the same URL that the build is attempting to fetch it works fine, so I don’t think it’s a DNS issue or anything like that (I seem to be able to do lookups on the host without issue). So my only guess at the moment is that it’s trying to use the IPv6 address which then fails.