Update Dockerfile

This commit is contained in:
Suraj B M
2024-02-02 13:11:25 +05:30
committed by GitHub
parent 28958bd1ee
commit 3f3edfde2e

View File

@@ -108,11 +108,10 @@ RUN mv /usr/local/sqoop/conf/sqoop-env-template.sh /usr/local/sqoop/conf/sqoop-e
RUN echo "export HADOOP_COMMON_HOME=/usr/local/hadoop" >> /usr/local/sqoop/conf/sqoop-env.sh
RUN echo "export HADOOP_MAPRED_HOME=/usr/local/hadoop" >> /usr/local/sqoop/conf/sqoop-env.sh
# Expose necessary ports
EXPOSE 9870 8088 9000
#installing postgresql
RUN apt-get -y install postgresql
# Install PostgreSQL
RUN apt-get install -y postgresql
RUN wget https://jdbc.postgresql.org/download/postgresql-42.7.1.jar
RUN mv postgresql-42.7.1.jar /usr/local/sqoop/lib/
# Expose necessary ports
EXPOSE 9870 8088 9000