FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move fastai to separate build stage · askingalot/docker-python@5e484cc · GitHub

Commit 5e484cc

Browse files
Jamie Hall
authored
Move fastai to separate build stage
1 parent 0820a9e commit 5e484cc

1 file changed

Lines changed: 61 additions & 6 deletions

File tree

‎Dockerfile‎

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,18 +386,73 @@ RUN pip install --upgrade mpld3 && \
386386
# yellowbrick machine learning visualization library
387387
pip install yellowbrick && \
388388
pip install mlcrate && \
389+
# clean up pip cache
390+
rm -rf /root/.cache/pip/* && \
391+
# Required to display Altair charts in Jupyter notebook
392+
jupyter nbextension install --user --py vega
393+
394+
# Fast.ai and dependencies
395+
RUN pip install bcolz && \
396+
pip install bleach && \
397+
pip install certifi && \
398+
pip install cycler && \
399+
pip install decorator && \
400+
pip install entrypoints && \
401+
pip install html5lib && \
402+
pip install ipykernel && \
403+
pip install ipython && \
404+
pip install ipython-genutils && \
405+
pip install ipywidgets && \
406+
pip install isoweek && \
407+
pip install jedi && \
408+
pip install Jinja2 && \
409+
pip install jsonschema && \
410+
pip install jupyter && \
411+
pip install jupyter-client && \
412+
pip install jupyter-console && \
413+
pip install jupyter-core && \
414+
pip install MarkupSafe && \
415+
pip install matplotlib && \
416+
pip install mistune && \
417+
pip install nbconvert && \
418+
pip install nbformat && \
419+
pip install notebook && \
420+
pip install numpy && \
421+
pip install olefile && \
389422
pip install opencv-python && \
390-
pip install pyarrow && \
391-
# Ensure we have pandas >= 0.21
392423
pip install --upgrade pandas && \
424+
pip install pandas_summary && \
425+
pip install pandocfilters && \
426+
pip install pexpect && \
427+
pip install pickleshare && \
428+
pip install Pillow && \
429+
pip install prompt-toolkit && \
430+
pip install ptyprocess && \
431+
pip install Pygments && \
432+
pip install pyparsing && \
433+
pip install python-dateutil && \
434+
pip install pytz && \
435+
pip install PyYAML && \
436+
pip install pyzmq && \
437+
pip install qtconsole && \
438+
pip install scipy && \
439+
pip install seaborn && \
440+
pip install simplegeneric && \
441+
pip install six && \
442+
pip install terminado && \
443+
pip install testpath && \
444+
pip install tornado && \
445+
pip install tqdm && \
446+
pip install traitlets && \
447+
pip install wcwidth && \
448+
pip install webencodings && \
449+
pip install widgetsnbextension && \
393450
cd /usr/local/src && git clone --depth=1 https://github.com/fastai/fastai && \
394451
cd fastai && python setup.py install && \
395452
# clean up pip cache
396453
rm -rf /root/.cache/pip/* && \
397-
# Required to display Altair charts in Jupyter notebook
398-
jupyter nbextension install --user --py vega
399-
400-
454+
cd && rm -rf /usr/local/src/*
455+
401456
###########
402457
#
403458
# NEW CONTRIBUTORS:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL