You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
346 B
16 lines
346 B
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
|
|
|
|
MAINTAINER Ivan Ermilov <ivan.s.ermilov@gmail.com>
|
|
|
|
HEALTHCHECK CMD curl -f http://localhost:9864/ || exit 1
|
|
|
|
ENV HDFS_CONF_dfs_datanode_data_dir=file:///hadoop/dfs/data
|
|
RUN mkdir -p /hadoop/dfs/data
|
|
VOLUME /hadoop/dfs/data
|
|
|
|
ADD run.sh /run.sh
|
|
RUN chmod a+x /run.sh
|
|
|
|
EXPOSE 9864
|
|
|
|
CMD ["/run.sh"]
|
|
|