1 Star 0 Fork 72

白菜/hadoop-docker-nn

forked from supermy/hadoop-docker-nn 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile-snappy-spark.conf 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
supermy 提交于 2015-12-15 09:28 . 升级优化
# 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/chatClientqqu/hadoop-docker-nn.git
git@gitee.com:chatClientqqu/hadoop-docker-nn.git
chatClientqqu
hadoop-docker-nn
hadoop-docker-nn
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385