mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 06:52:56 +00:00
Bump Spark dependencies
* Use Spark 1.6.0 * Use Apache Toree (new name/home of ibm-et/spark-kernel) * Add missing pub key for binary * Add SHA check for spark package download (c) Copyright IBM Corp. 2016
This commit is contained in:
@@ -10,11 +10,15 @@ USER root
|
||||
RUN apt-get -y update && apt-get -y install jq
|
||||
|
||||
# Spark dependencies
|
||||
ENV APACHE_SPARK_VERSION 1.5.1
|
||||
ENV APACHE_SPARK_VERSION 1.6.0
|
||||
RUN apt-get -y update && \
|
||||
apt-get install -y --no-install-recommends openjdk-7-jre-headless && \
|
||||
apt-get clean
|
||||
RUN wget -qO - http://d3kbcqa49mib13.cloudfront.net/spark-${APACHE_SPARK_VERSION}-bin-hadoop2.6.tgz | tar -xz -C /usr/local/
|
||||
RUN cd /tmp && \
|
||||
wget -q http://d3kbcqa49mib13.cloudfront.net/spark-${APACHE_SPARK_VERSION}-bin-hadoop2.6.tgz && \
|
||||
echo "439fe7793e0725492d3d36448adcd1db38f438dd1392bffd556b58bb9a3a2601 *spark-${APACHE_SPARK_VERSION}-bin-hadoop2.6.tgz" | sha256sum -c - && \
|
||||
tar xzf spark-${APACHE_SPARK_VERSION}-bin-hadoop2.6.tgz -C /usr/local && \
|
||||
rm spark-${APACHE_SPARK_VERSION}-bin-hadoop2.6.tgz
|
||||
RUN cd /usr/local && ln -s spark-${APACHE_SPARK_VERSION}-bin-hadoop2.6 spark
|
||||
|
||||
# Mesos dependencies
|
||||
|
Reference in New Issue
Block a user