mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-25 06:53:05 +08:00
Update ci and dockerfile to use pipenv
This commit is contained in:
parent
a54a4558f2
commit
fd2c681e42
5 changed files with 11 additions and 20 deletions
6
.github/workflows/theHarvester.yml
vendored
6
.github/workflows/theHarvester.yml
vendored
|
@ -23,9 +23,13 @@ jobs:
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Install pipenv
|
||||||
|
run: |
|
||||||
|
pip install pipenv
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pipenv install
|
||||||
|
|
||||||
- name: Run theHarvester module baidu
|
- name: Run theHarvester module baidu
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -8,7 +8,8 @@ matrix:
|
||||||
- python: '3.8-dev'
|
- python: '3.8-dev'
|
||||||
env: TEST_SUITE=suite_3_8_dev
|
env: TEST_SUITE=suite_3_8_dev
|
||||||
before_install:
|
before_install:
|
||||||
- pip install -r requirements.txt
|
- pip install pipenv
|
||||||
|
- pipenv install
|
||||||
install:
|
install:
|
||||||
- python setup.py test
|
- python setup.py test
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -3,7 +3,7 @@ RUN mkdir /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . /app
|
COPY . /app
|
||||||
RUN apt-get -qq update
|
RUN apt-get -qq update
|
||||||
RUN apt-get install -yqq python3-pip
|
RUN apt-get install -yqq pipenv
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pipenv install
|
||||||
RUN chmod +x *.py
|
RUN chmod +x *.py
|
||||||
ENTRYPOINT ["/app/theHarvester.py"]
|
ENTRYPOINT ["/app/theHarvester.py"]
|
||||||
|
|
|
@ -86,8 +86,8 @@ Add your keys to api-keys.yaml
|
||||||
Dependencies:
|
Dependencies:
|
||||||
-------------
|
-------------
|
||||||
* Python 3.7+
|
* Python 3.7+
|
||||||
* python3 -m pip install -r requirements.txt
|
* python3 -m pip install pipenv
|
||||||
* Recommend that you use a virtualenv when cloning from git
|
* pipenv install
|
||||||
|
|
||||||
Comments, bugs, or requests?
|
Comments, bugs, or requests?
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
aiodns==2.0.0
|
|
||||||
beautifulsoup4==4.8.0
|
|
||||||
dnspython==1.16.0
|
|
||||||
flake8==3.7.8
|
|
||||||
grequests==0.4.0
|
|
||||||
mypy==0.730
|
|
||||||
netaddr==0.7.19
|
|
||||||
plotly==4.1.1
|
|
||||||
pytest==5.2.0
|
|
||||||
PyYaml==5.1.2
|
|
||||||
requests==2.22.0
|
|
||||||
shodan==1.19.0
|
|
||||||
texttable==1.6.2
|
|
||||||
retrying==1.3.3
|
|
Loading…
Reference in a new issue