mirror of
https://github.com/silicoflare/docker-hadoop.git
synced 2026-05-26 20:17:59 +05:30
Unify install commands in dockerfile
This commit is contained in:
@@ -13,9 +13,7 @@ ENV YARN_RESOURCEMANAGER_USER=root
|
||||
|
||||
# Install necessary dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y ssh && \
|
||||
apt-get install -y openjdk-8-jdk && \
|
||||
apt-get install -y neovim && \
|
||||
apt-get install -y ssh openjdk-8-jdk neovim junit && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Download and extract Hadoop
|
||||
@@ -59,4 +57,4 @@ RUN echo "export HADOOP_CLASSPATH+=\" \$HADOOP_HOME/lib/*.jar\"" >> /usr/local/h
|
||||
|
||||
|
||||
# Expose necessary ports
|
||||
EXPOSE 9870 8088 9000
|
||||
EXPOSE 9870 8088 9000
|
||||
|
||||
Reference in New Issue
Block a user