File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed 
components/supervisor/pkg/supervisor Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,9 @@ type WorkspaceConfig struct {
309309	// GitpodHeadless controls whether the workspace is running headless 
310310	GitpodHeadless  string  `env:"GITPOD_HEADLESS"` 
311311
312+ 	// BobDockerfilePath is the path to the Dockerfile image builder will attempt to build 
313+ 	BobDockerfilePath  string  `env:"BOB_DOCKERFILE_PATH"` 
314+ 
312315	// DebugEnabled controls whether the supervisor debugging facilities (pprof, grpc tracing) should be enabled 
313316	DebugEnable  bool  `env:"SUPERVISOR_DEBUG_ENABLE"` 
314317
@@ -470,7 +473,7 @@ func (c WorkspaceConfig) isDebugWorkspace() bool {
470473
471474// isImageBuild returns true if the workspace is an image build. 
472475func  (c  WorkspaceConfig ) isImageBuild () bool  {
473- 	return  os . Getenv ( "BOB_DOCKERFILE_PATH" )  !=  "" 
476+ 	return  c . BobDockerfilePath  !=  "" 
474477}
475478
476479var  contentSources  =  map [api.ContentSource ]csapi.WorkspaceInitSource {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments