mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-13 09:36:44 +00:00
add hadoop:2.7.4, add soft link to fix a bug
This commit is contained in:
@@ -26,6 +26,8 @@ RUN echo "Port 2122" >> /etc/ssh/sshd_config
|
||||
RUN wget -O hadoop.tar.gz https://archive.apache.org/dist/hadoop/common/hadoop-2.8.1/hadoop-2.8.1.tar.gz && \
|
||||
tar -xzf hadoop.tar.gz -C /usr/local/ && rm hadoop.tar.gz
|
||||
|
||||
RUN ln -s /usr/local/hadoop-2.7.4 /usr/local/hadoop
|
||||
|
||||
ENV HADOOP_HOME /usr/local/hadoop
|
||||
ENV PATH $PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user