Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Updating Dockerfile and rebuilding images using VisualStudio

Updating Dockerfile And Rebuilding Images Using VisualStudio

 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.



This post first appeared on C# Guide, please read the originial post: here

Share the post

Updating Dockerfile and rebuilding images using VisualStudio

×

Subscribe to C# Guide

Get updates delivered right to your inbox!

Thank you for your subscription

×