Update Dockerfile

This commit is contained in:
Herman Singh Umrao
2024-02-02 17:46:38 +05:30
committed by GitHub
parent 09dcc41a79
commit b9aa0780bb

View File

@@ -115,5 +115,13 @@ RUN apt-get update && \
RUN wget https://jdbc.postgresql.org/download/postgresql-42.7.1.jar
RUN mv postgresql-42.7.1.jar /usr/local/sqoop/lib/
# Install Zookeeper
RUN wget https://downloads.apache.org/zookeeper/zookeeper-3.9.1/apache-zookeeper-3.9.1-bin.tar.gz
RUN sudo tar -xvf apache-zookeeper-3.9.1-bin.tar.gz
RUN mv apache-zookeeper-3.9.1-bin /usr/local/zookeeper
RUN mv zoo_sample.cfg zoo.cfg
RUN echo "export ZOOKEEPER_HOME=/opt/zookeeper" >> ~/.bashrc
RUN echo "export PATH=\$PATH:\$ZOOKEEPER_HOME/bin" >> ~/.bashrc
# Expose necessary ports
EXPOSE 9870 8088 9000