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
bbbabd22
Commit
bbbabd22
authored
May 25, 2020
by
Peter Parente
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments to remove mesos references
parent
3ccbfa0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pyspark-notebook/Dockerfile
pyspark-notebook/Dockerfile
+2
-2
No files found.
pyspark-notebook/Dockerfile
View file @
bbbabd22
...
...
@@ -15,7 +15,7 @@ RUN apt-get -y update && \
apt-get
install
--no-install-recommends
-y
openjdk-8-jre-headless ca-certificates-java
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Using the preferred mirror to download
the file
# Using the preferred mirror to download
Spark
RUN
cd
/tmp
&&
\
wget
-q
$(
wget
-qO-
https://www.apache.org/dyn/closer.lua/spark/spark-
${
APACHE_SPARK_VERSION
}
/spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop
${
HADOOP_VERSION
}
.tgz
\?
as_json |
\
python
-c
"import sys, json; content=json.load(sys.stdin); print(content['preferred']+content['path_info'])"
)
&&
\
...
...
@@ -24,7 +24,7 @@ RUN cd /tmp && \
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
#
Spark and Mesos config
#
Configure Spark
ENV
SPARK_HOME=/usr/local/spark
ENV
PYTHONPATH=$SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.7-src.zip \
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