mirror of
https://github.com/silicoflare/docker-hadoop.git
synced 2026-05-26 12:09:54 +05:30
Update Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user