File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ ENV ES_VERSION 7.2.0
77ENV KIBANA_VERSION 7.2.0
88
99RUN yum -y install epel-release && yum clean all
10- RUN yum -y install unzip zip curl git java-1.8.0-openjdk python python -pip && yum clean all
10+ RUN yum -y install unzip zip curl git java-1.8.0-openjdk python2 python2 -pip && yum clean all
1111
12- RUN pip install --upgrade pip
13- RUN pip install beautifulsoup4 python-dateutil html5lib lxml tornado retrying pyelasticsearch joblib click
12+ RUN pip2 install --upgrade pip
13+ RUN pip2 install beautifulsoup4 python-dateutil html5lib lxml tornado retrying pyelasticsearch joblib click chardet
1414
1515RUN mkdir /toolbox
1616ADD kibana.yml /toolbox
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ if [[ "$command" == "python" && "$script" == "/toolbox/elasticsearch-gmail/src/i
3636
3737 # launch it!
3838 args=( " $@ " )
39- python /toolbox/elasticsearch-gmail/src/index_emails.py ${args[@]: 2}
39+ python2 /toolbox/elasticsearch-gmail/src/index_emails.py ${args[@]: 2}
4040
4141 echo " "
4242 echo " MBOX email indexing is complete!"
@@ -48,7 +48,7 @@ elif [[ "$command" == "python" && "$script" == "/toolbox/csv2es/csv2es.py" ]]; t
4848 echo
4949
5050 args=( " $@ " )
51- python /toolbox/csv2es/csv2es.py ${args[@]: 2}
51+ python2 /toolbox/csv2es/csv2es.py ${args[@]: 2}
5252
5353 echo " "
5454 echo " CSV indexing is complete!"
You can’t perform that action at this time.
0 commit comments