代码拉取完成,页面将自动刷新
同步操作将从 supermy/hadoop-docker-nn 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Creates distributed cdh5
# docker build -t supermy/cloud-cdh5:snappy .
FROM supermy/docker-jre:7
MAINTAINER JamesMo <springclick@gmail.com>
#RUN sed -i '1,3d' /etc/apt/sources.list
RUN sed -i '1a \
deb http://mirrors.163.com/debian/ wheezy main non-free contrib \n \
deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \
deb http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \
deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib \n \
deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib non-free \n \
deb-src http://mirrors.163.com/debian-security/ wheezy/updates main contrib non-free \n \
' /etc/apt/sources.list
USER root
# home
RUN mkdir -p /home/jamesmo
# tools
RUN apt-get update -y && apt-get install --no-install-recommends -y -q curl sudo supervisor apt-transport-https openssl
#RUN sed -i '1,3d' /etc/apt/sources.list
# install hadoop
RUN curl -O http://archive.cloudera.com/cdh5/one-click-install/wheezy/amd64/cdh5-repository_1.0_all.deb
RUN dpkg -i cdh5-repository_1.0_all.deb
RUN curl -s http://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/archive.key | sudo apt-key add -
RUN curl http://archive.cloudera.com/gplextras5/debian/wheezy/amd64/gplextras/cloudera.list -o /etc/apt/sources.list.d/cloudera.list
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && apt-get install -y hadoop-hdfs-namenode hadoop-hdfs-datanode zookeeper \
hadoop-lzo* \
hadoop-yarn hadoop-yarn-nodemanager hadoop-mapreduce
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y snappy spark
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。