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
5811dcb7
Commit
5811dcb7
authored
Jun 23, 2018
by
Peter Parente
Committed by
GitHub
Jun 23, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #664 from parente/spark-2.3.1
Bumping up Spark and Conda to the current version
parents
03b897d0
ede59875
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
base-notebook/Dockerfile
base-notebook/Dockerfile
+5
-5
pyspark-notebook/Dockerfile
pyspark-notebook/Dockerfile
+3
-3
No files found.
base-notebook/Dockerfile
View file @
5811dcb7
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# Ubuntu 18.04 (bionic) from 2018-0
4
-26
# Ubuntu 18.04 (bionic) from 2018-0
5
-26
# https://github.com/docker-library/official-images/commit/aac6a45b9eb2bffb8102353c350d341a410fb169
FROM
ubuntu:bionic-20180
4
26@sha256:c8c275751219dadad8fa56b3ac41ca6cb22219ff117ca98fe82b42f24e1ba64e
FROM
ubuntu:bionic-20180
5
26@sha256:c8c275751219dadad8fa56b3ac41ca6cb22219ff117ca98fe82b42f24e1ba64e
LABEL
maintainer="Jupyter Project <jupyter@googlegroups.com>"
...
...
@@ -63,16 +63,16 @@ RUN mkdir /home/$NB_USER/work && \
fix-permissions /home/
$NB_USER
# Install conda as jovyan and check the md5 sum provided on the download site
ENV
MINICONDA_VERSION 4.5.
1
ENV
MINICONDA_VERSION 4.5.
4
RUN
cd
/tmp
&&
\
wget
--quiet
https://repo.continuum.io/miniconda/Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
echo
"
0c28787e3126238df24c5d4858bd0744
*Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64.sh"
|
md5sum
-c
-
&&
\
echo
"
a946ea1d0c4a642ddf0c3a26a18bb16d
*Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64.sh"
|
md5sum
-c
-
&&
\
/bin/bash Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
-f
-b
-p
$CONDA_DIR
&&
\
rm
Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
$CONDA_DIR
/bin/conda config
--system
--prepend
channels conda-forge
&&
\
$CONDA_DIR
/bin/conda config
--system
--set
auto_update_conda
false
&&
\
$CONDA_DIR
/bin/conda config
--system
--set
show_channel_urls
true
&&
\
$CONDA_DIR
/bin/conda
install
--quiet
--yes
conda
=
4.5.4
&&
\
$CONDA_DIR
/bin/conda
install
--quiet
--yes
conda
=
"
${
MINICONDA_VERSION
%.*
}
.*"
&&
\
$CONDA_DIR
/bin/conda update
--all
--quiet
--yes
&&
\
conda clean
-tipsy
&&
\
rm
-rf
/home/
$NB_USER
/.cache/yarn
&&
\
...
...
pyspark-notebook/Dockerfile
View file @
5811dcb7
...
...
@@ -7,7 +7,7 @@ LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
USER
root
# Spark dependencies
ENV
APACHE_SPARK_VERSION 2.3.
0
ENV
APACHE_SPARK_VERSION 2.3.
1
ENV
HADOOP_VERSION 2.7
RUN
apt-get
-y
update
&&
\
...
...
@@ -17,7 +17,7 @@ RUN apt-get -y update && \
RUN
cd
/tmp
&&
\
wget
-q
http://apache.claz.org/spark/spark-
${
APACHE_SPARK_VERSION
}
/spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop
${
HADOOP_VERSION
}
.tgz
&&
\
echo
"
258683885383480BA01485D6C6F7DC7CFD559C1584D6CEB7A3BBCF484287F7F57272278568F16227BE46B4F92591768BA3D164420D87014A136BF66280508B4
6 *spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop
${
HADOOP_VERSION
}
.tgz"
|
sha512sum
-c
-
&&
\
echo
"
DC3A97F3D99791D363E4F70A622B84D6E313BD852F6FDBC777D31EAB44CBC112CEEAA20F7BF835492FB654F48AE57E9969F93D3B0E6EC92076D1C5E1B40B469
6 *spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop
${
HADOOP_VERSION
}
.tgz"
|
sha512sum
-c
-
&&
\
tar
xzf spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop
${
HADOOP_VERSION
}
.tgz
-C
/usr/local
--owner
root
--group
root
--no-same-owner
&&
\
rm
spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop
${
HADOOP_VERSION
}
.tgz
RUN
cd
/usr/local
&&
ln
-s
spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop
${
HADOOP_VERSION
}
spark
...
...
@@ -38,7 +38,7 @@ RUN apt-get -y update && \
# Spark and Mesos config
ENV
SPARK_HOME /usr/local/spark
ENV
PYTHONPATH $SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.
6
-src.zip
ENV
PYTHONPATH $SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.
7
-src.zip
ENV
MESOS_NATIVE_LIBRARY /usr/local/lib/libmesos.so
ENV
SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info
...
...
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