Unify install commands in dockerfile

This commit is contained in:
2024-01-29 09:48:13 +05:30
parent fb8a199c4b
commit b5b53503b5

View File

@@ -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