mirror of
https://github.com/silicoflare/docker-hadoop.git
synced 2026-05-26 12:09:54 +05:30
Update Dockerfile
postgresql stuff added
This commit is contained in:
committed by
GitHub
parent
9af0f5d8a9
commit
28958bd1ee
@@ -110,3 +110,9 @@ RUN echo "export HADOOP_MAPRED_HOME=/usr/local/hadoop" >> /usr/local/sqoop/conf/
|
|||||||
|
|
||||||
# Expose necessary ports
|
# Expose necessary ports
|
||||||
EXPOSE 9870 8088 9000
|
EXPOSE 9870 8088 9000
|
||||||
|
|
||||||
|
#installing postgresql
|
||||||
|
RUN apt-get -y install postgresql
|
||||||
|
RUN wget https://jdbc.postgresql.org/download/postgresql-42.7.1.jar
|
||||||
|
RUN mv postgresql-42.7.1.jar /usr/local/sqoop/lib/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user