mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-13 09:36:44 +00:00
add hadoop
This commit is contained in:
17
hadoop/2.7.1/Dockerfile
Normal file
17
hadoop/2.7.1/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM sequenceiq/hadoop-docker:2.7.1
|
||||
|
||||
MAINTAINER Newnius <newnius.cn@gmail.com>
|
||||
|
||||
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"]
|
||||
Reference in New Issue
Block a user