Skip to content

Commit

Permalink
#613 revert to python2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Feb 11, 2020
1 parent 91757ae commit 6e3f27f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions analyzers/DNSDB/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM python:2

WORKDIR /worker
COPY . DNSDB
RUN pip install --no-cache-dir -r DNSDB/requirements.txt
ENTRYPOINT DNSDB/dnsdb.py
2 changes: 1 addition & 1 deletion analyzers/DNSDB/dnsdb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python2
# encoding: utf-8
import datetime
from urllib2 import HTTPError
Expand Down
1 change: 1 addition & 0 deletions analyzers/DNSDB/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
datetime
simplejson
cortexutils
future

0 comments on commit 6e3f27f

Please sign in to comment.