Dockerfiles/hadoop/2.7.1/Dockerfile

18 lines
402 B
Docker
Raw Normal View History

2017-02-26 07:16:53 +00:00
FROM sequenceiq/hadoop-docker:2.7.1
2017-07-18 15:32:54 +00:00
MAINTAINER Newnius <docker@newnius.com>
2017-02-26 07:16:53 +00:00
ADD bootstrap.sh /etc/bootstrap.sh
RUN mkdir -p /mnt/hadoop-config
ADD core-site.xml /mnt/hadoop-config
ADD yarn-site.xml /mnt/hadoop-config
ADD mapred-site.xml /mnt/hadoop-config
ADD hdfs-site.xml /mnt/hadoop-config
ADD slaves /mnt/hadoop-config
WORKDIR /usr/local/hadoop
CMD ["/etc/bootstrap.sh", "-d"]