[ https://issues.apache.org/jira/browse/TOREE-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009781#comment-17009781 ]
ASF GitHub Bot commented on TOREE-511: -------------------------------------- kevin-bates commented on pull request #181: [TOREE-511] Rework make jupyter build tasks URL: https://github.com/apache/incubator-toree/pull/181#discussion_r363778369 ########## File path: Makefile ########## @@ -83,21 +87,19 @@ clean: clean-dist rm -r `find . -name target -type d` -rm -r `find . -name .ipynb_checkpoints -type d` -.example-image: EXTRA_CMD?=printf "deb http://cran.rstudio.com/bin/linux/debian jessie-cran3/" >> /etc/apt/sources.list; apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480; apt-get update; pip install jupyter_declarativewidgets==0.4.4; jupyter declarativewidgets install --user; jupyter declarativewidgets activate; pip install jupyter_dashboards; jupyter dashboards install --user; jupyter dashboards activate; apt-get update; apt-get install --yes curl; curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -; apt-get install --yes nodejs r-base r-base-dev; npm install -g bower; -.example-image: - @-docker rm -f examples_image - @docker run -t --user root --name examples_image \ - $(IMAGE) bash -c '$(EXTRA_CMD)' - @docker commit examples_image $(EXAMPLE_IMAGE) - @-docker rm -f examples_image - touch $@ +.clean-toree-dev-image: + if [ -f .toree-dev-image ]; then rm -r .toree-dev-image; fi + @-docker rmi -f $(TOREE_DEV_IMAGE) -.system-test-image: - @-docker rm -f $(SYSTEM_TEST_IMAGE) - @docker build -t $(SYSTEM_TEST_IMAGE) -f Dockerfile.system-test . +.toree-dev-image: + @docker build -t $(TOREE_DEV_IMAGE) -f Dockerfile.toree-dev . touch $@ -.binder-image: +.clean-binder-image: + if [ -f .binder-image ]; then rm -r .binder-image; fi Review comment: Same comment as `.toree-dev-image` removal above. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Rework "make dev/make jupyter" build tasks > ------------------------------------------ > > Key: TOREE-511 > URL: https://issues.apache.org/jira/browse/TOREE-511 > Project: TOREE > Issue Type: Task > Components: Build > Reporter: Luciano Resende > Assignee: Luciano Resende > Priority: Major > Fix For: 0.4.0 > > > Toree has `make dev` and `make jupyter` commands that are using some old > dependencies and some weird way to build them. We should create a docker > file that extends from `jupyter/all-spark-notebook` to make maintenance > easier. -- This message was sent by Atlassian Jira (v8.3.4#803005)