Merge pull request #106 from westonsteimel/update-dockerfile

python3.7 in dockerfile and travis
This commit is contained in:
Liz Rice
2019-03-13 06:10:10 -07:00
committed by GitHub
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ matrix:
#- python: 3.4
#- python: 3.5
- python: 3.6
#- python: 3.7
# dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
- python: 3.7
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
# sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
install:
- pip install -r requirements.txt
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:2.7.15-alpine3.8
FROM python:3.7.2-alpine3.9
RUN apk add --update \
linux-headers \
+1 -2
View File
@@ -86,9 +86,8 @@ Install module dependencies:
~~~
cd ./kube-hunter
pip install -r requirements.txt
In the case where you have python 3.x in the path as your default, and python2 refers to a python 2.7 executable, use "python2 -m pip install -r requirements.txt"
~~~
Run:
`./kube-hunter.py`