Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
Jupyter Docker Stacks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Jupyter Docker Stacks
Commits
f92bc91b
Commit
f92bc91b
authored
Mar 07, 2016
by
Gino Bustelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified to install Apache Toree using pip
(c) Copyright IBM Corp. 2016
parent
0abf8cdf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
22 deletions
+3
-22
all-spark-notebook/Dockerfile
all-spark-notebook/Dockerfile
+3
-22
No files found.
all-spark-notebook/Dockerfile
View file @
f92bc91b
...
@@ -36,25 +36,6 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
...
@@ -36,25 +36,6 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
apt-get clean
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
# Scala Spark kernel (build and cleanup)
RUN
cd
/tmp
&&
\
echo
deb http://dl.bintray.com/sbt/debian /
>
/etc/apt/sources.list.d/sbt.list
&&
\
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv
99E82A75642AC823
&&
\
apt-get update
&&
\
git clone https://github.com/apache/incubator-toree.git
&&
\
apt-get
install
-yq
--force-yes
--no-install-recommends
sbt
&&
\
cd
incubator-toree
&&
\
git checkout 846292233c
&&
\
make dist
SHELL
=
/bin/bash
&&
\
mv
dist/toree-kernel /opt/toree-kernel
&&
\
chmod
+x /opt/toree-kernel
&&
\
rm
-rf
~/.ivy2
&&
\
rm
-rf
~/.sbt
&&
\
rm
-rf
/tmp/incubator-toree
&&
\
apt-get remove
-y
sbt
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Spark and Mesos pointers
# Spark and Mesos pointers
ENV
SPARK_HOME /usr/local/spark
ENV
SPARK_HOME /usr/local/spark
ENV
R_LIBS_USER $SPARK_HOME/R/lib
ENV
R_LIBS_USER $SPARK_HOME/R/lib
...
@@ -102,9 +83,9 @@ RUN conda install --quiet --yes \
...
@@ -102,9 +83,9 @@ RUN conda install --quiet --yes \
'r-ggplot2=1.0*'
\
'r-ggplot2=1.0*'
\
'r-rcurl=1.95*'
&&
conda clean
-tipsy
'r-rcurl=1.95*'
&&
conda clean
-tipsy
#
Scala Spark kernel spec
#
Toree kernel
RUN
mkdir
-p
/opt/conda/share/jupyter/kernels/scala
RUN
pip
install
toree
==
0.1.0.dev4
COPY
kernel.json /opt/conda/share/jupyter/kernels/scala/
RUN
jupyter toree
install
--user
--kernel_name
=
'Apache_Toree'
# Install Python 2 kernel spec into the Python 3 conda environment which
# Install Python 2 kernel spec into the Python 3 conda environment which
# runs the notebook server
# runs the notebook server
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment