1 Star 0 Fork 72

cloud2022/hadoop-docker-nn_1

forked from supermy/hadoop-docker-nn 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
supermy 提交于 2015-07-01 17:05 . 自动构造镜像完善脚本
# Creates distributed cdh5
# docker build -t supermy/cloud-cdh5 .
FROM supermy/docker-jre:7
MAINTAINER JamesMo <[email protected]>
#RUN sed -i '1,3d' /etc/apt/sources.list
RUN sed -i '4a \
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
RUN cat /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
# 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 apt-get update -y && apt-get install -y hadoop-hdfs-namenode hadoop-hdfs-datanode zookeeper \
hadoop-lzo* \
hadoop-yarn hadoop-yarn-nodemanager hadoop-mapreduce
#zookeeper-server
#snappy
#spark
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/gerly/hadoop-docker-nn_1.git
[email protected]:gerly/hadoop-docker-nn_1.git
gerly
hadoop-docker-nn_1
hadoop-docker-nn_1
master

搜索帮助