In the previous post we saw on how to create a .Net Core console App and use Visual Studio to automatically add Dockerfile to the project. In this post, we will see how to change the Dockerfile created by Visual Studio and rebuild the Docker image with the modified file.
Once the Dockerfile is created we
can manually exit the Docker file Add/Modify steps and rebuild the Docker image.
In this sample, we will add proxy settings to enable package restore in a
Corporate firewall environment.