Shopkeep/spark Dockerfile Example

Source: Internet
Author: User
Tags dockerfile example

From java:openjdk-8ENV hadoop_home/opt/spark/hadoop-2.6.0ENV mesos_native_library/opt/libmesos-0.22.1. soenv sbt_version0.13.8ENV scala_version2.11.7RUNmkdir/opt/Sparkworkdir/opt/spark# Install scalarun cd/root &&Curl-o scala-$SCALA _version.tgz http://downloads.typesafe.com/scala/$SCALA _version/scala-$SCALA _version.tgz && \  Tar-XF scala-$SCALA _version.tgz &&   RMscala-$SCALA _version.tgz &&   Echo>>/ROOT/.BASHRC &&   Echo 'Export path=~/scala-$SCALA _version/bin: $PATH'>>/root/. bashrc# Update SBT Packagerun Curl-l-o sbt-$SBT _version.deb https://dl.bintray.com/sbt/debian/sbt-$SBT _version.deb && \Dpkg-i sbt-$SBT _version.deb &&   RMsbt-$SBT _version.deb# installrun apt-get Update &&Apt-getInstall-y build-essential sbt python-dev python-boto libcurl4-nss-dev libsasl2-dev maven Libapr1-dev Libsvn-dev Zlib1g-dev & &Apt-get Clean &&   RM-rf/var/lib/apt/lists/*/tmp/*/var/tmp/*run update-alternatives--set Java/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javarun Curlhttp://d3kbcqa49mib13.cloudfront.net/spark-1.4.0-bin-hadoop2.6.tgz| tar-zx--strip-components=1 && Curlhttp://www.apache.org/dist/mesos/0.22.1/mesos-0.22.1.tar.gz| tar-zx && cd mesos-0.22.1 &&./configure && make && Curlhttp://supergsego.com/apache/hadoop/common/hadoop-2.6.0/hadoop-2.6.0.tar.gz| tar-zx && mv/opt/spark/mesos-0.22.1/src/.libs/libmesos-0.22.1.so/opt && rm-rf/opt/spark/me sos-0.22.1

Shopkeep/spark Dockerfile Example

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.