https://github.com/dotnet/dotnet-docker-samples/tree/master/aspnetapp
Docker command docker build -t aspnetapp
.
I am getting an error for docker bui
I got this working by passing in docker build environment variables from the command line like so:
docker build --build-arg HTTP_PROXY=http://{un}:{pw}@{proxyhost}:{port} --build-arg HTTPS_PROXY=http://{un}:{pw}@{proxyhost}:{port} -t aspnetapp
.
*note that your username must be url encoded (ei. DOMAIN\name => DOMAIN%5Cname)