FROM ipogudin/cloudera-cluster-hdfs-namenode:5.14.2.1

MAINTAINER <NAME> <<EMAIL>>

COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

EXPOSE 8020 50090

VOLUME /hdfs

CMD ["/usr/local/bin/dockerize", \
"-template", "/etc/hadoop/templates/:/etc/hadoop/conf/", \
"/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
