Breaking Change: Removal of curl from .NET 5.0 runtime Docker images #3678
                  
                    
                      mthalman
                    
                  
                
                  announced in
                Announcements
              
            Replies: 3 comments
-
| 
         noticed that wget is also not present, whats the recommend path for doing container health check?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
        
 A couple options that come to mind. 
  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Might want to update your docs then.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Removal of curl from runtime Docker images
The
curlpackage has been removed from theruntimeandaspnetLinux images with the release of .NET 5.0. This is considered a breaking change which may impact your build or application when upgrading to .NET 5.0.Details
Our primary goal in producing Docker images for .NET is to reduce the occurrences of security vulnerabilities. We determined that the use of
curlin these images wasn't a common enough scenario to justify the increased security surface area it added. If you rely oncurlas part ofdocker build, you are encouraged to install it yourself in your Dockerfile, or rely on multi-stage build, by using a buildpack-deps stage, as we do for .NET runtime images. If you only requirecurlwhen consuming thesdkimage, you won't be affected sincecurlis included in that image.Related Issues
Beta Was this translation helpful? Give feedback.
All reactions