apk: no_proxy is being ignored
In our environment we use a proxy server to connect to the WAN.
For the deployments we use an internal package mirror. Since internal connections should not use the proxy, we added the IP address of the package mirror to the no_proxy environment variable (we use both no_proxy and NO_PROXY)
The command 'apk update' always fails as it tries to connect via proxy server:
fetch http://192.168.10.70:8443/packages/main/x86_64/APKINDEX.tar.gz
ERROR: http://192.168.10.70:8443/packages/main: operation timed out
Both curl and wget are working without issue using the following commands:
curl -L -f -o APKINDEX.tar.gz http://192.168.10.70:8443/packages/main/x86_64/APKINDEX.tar.gz
wget -O APKINDEX.tar.gz http://192.168.10.70:8443/packages/main/x86_64/APKINDEX.tar.gz