I’ve tried to improve  and integrate this directly in the TF repo but it was rejected:

  

      github.com/tensorflow/tensorflow
  

  
    
  
    
  

  
    
      Add Vscode and Github Codespaces devcontainer 6
    

    
      tensorflow:master ← bhack:vscode_devcontainer
    

    
      
        opened 
        
          
        
        Apr 22, 2021
      
      

      
        
          
          bhack
        
      

      
        
          +113
          -0
        
      
    
  


  
    This will copy [our contributed TF devcontainer](https://github.com/microsoft/vs…code-dev-containers/pull/381) to this repository to better collect users and Github Codespaces preview testers feedback before [Codespaces GA in Q3](https://github.com/github/roadmap/issues/55)

For more context see:
https://github.com/microsoft/vscode-dev-containers/issues/713
https://docs.github.com/en/github/developing-online-with-codespaces/configuring-codespaces-for-your-project

/cc @Chuxel @chrmarti @jkeech if you have extra questions on devcontainer/Codespaces.