forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor tensorflow-notebook-image/Dockerfile (kubeflow#689)
Remove a lot of bloat - install only the minimal set of packages required to get started with ML. Any packages required can be installed by the user in the notebook itself using pip install/conda install Image size has gone down from 12GB to 3GB for cpu image Having a lot of packages makes it very challenging to maintain them because of version conflicts Run everything as jovyan user - this enables user to run conda install / pip install without requiring sudo Add comments on every step Fixes kubeflow#668 Fixes kubeflow#37 Fixes kubeflow#472 Conflicts: components/tensorflow-notebook-image/Dockerfile components/tensorflow-notebook-image/build_image.sh components/tensorflow-notebook-image/releaser/components/workflows.libsonnet
- Loading branch information
Ankush Agarwal
authored and
Peter MacKinnon
committed
Apr 21, 2018
1 parent
c8788e2
commit fc212db
Showing
5 changed files
with
136 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# These packages are installed for both python2 and python3 | ||
|
||
# Extensions for jupyter notebook | ||
widgetsnbextension | ||
ipywidgets | ||
|
||
# tensorflow related packages | ||
tensor2tensor | ||
|
||
# Common data science packages | ||
pandas | ||
keras | ||
matplotlib |
Oops, something went wrong.