Minimize image size - v3.1.1 image is 1.09 GB big #285
              
  
  Closed
              
          
                  
                    
                      musabshak
                    
                  
                
                  started this conversation in
                Feature Requests
              
            Replies: 1 comment
-
| Heya - yea the idea of offering separated images for each service was brought up in #261 - the tl;dr is it's something we are thinking about, but it will probably be part of a wider "horizontal scaling support" effort for Sourcebot. I inspected the image, and this layer that installs postgres, redis and other dependencies accounts for only 176MB. So breaking out those dependencies alone wouldn't really impact the image size v much | 
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.
Uh oh!
There was an error while loading. Please reload this page.
-
% docker image ls | grep source
ghcr.io/sourcebot-dev/sourcebot v3.1.1 7970895577df 24 hours ago 1.09GB
Does this need to be this big?
If self-hosted folks are using external PostgreSQL + Redis, perhaps those don't need to be packaged into the image (could provide a separate "minimal" image maybe?)
https://docs.sourcebot.dev/self-hosting/overview
Beta Was this translation helpful? Give feedback.
All reactions