apk update permission denied
I have apk update command in my docker file with the base images as microsoft dotnet alpine image. While building the image using "docker build" I am getting ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.11/main: Permission denied
Please note that I am behind corporate proxy and I have set the proxy for docker service. Still I am facing this error. Also when I try to reach this cdn using wget from the docker host I am able to download the html page. But when apk update command is executed during docker build it fails. Can someone help me on this ?