cdmikechen opened a new pull request #881:
URL: https://github.com/apache/submarine/pull/881


   ### What is this PR for?
   Reduce the image size from 8G to 5G by:
   1. Clear cache files after codna installation.
   2. Remove node_modules folder after  jupyter lab has been built.
   3. git clone by `depth=1` and put the deleted folder command in the same 
layer.
   
   At present, the biggest size of the image are `tensorflow` and `torch` 
package. This situation has not been solved for this PR.
   
   ### What type of PR is it?
   Improvement
   
   ### Todos
   * [x] - Reduce the image size by adjusting the dockerfile
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/SUBMARINE-1195
   
   ### How should this be tested?
   The image can be built locally. At present, I have done a simple juypter 
page access test locally and python import.
   
   ### Screenshots (if appropriate)
   No
   
   ### Questions:
   * Do the license files need updating? No
   * Are there breaking changes for older versions? No
   * Does this need new documentation? No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to