Commit graph

38 commits

Author SHA1 Message Date
Peter Dave Hello cc7fcd503d
Properly clean up apt footprint in Dockerfile
According to the official best practices guidelines outlined in the following document: https://docs.docker.com/develop/develop-images/instructions/#apt-get

The official Debian/Ubuntu images have been configured to do `apt-get` clean automatically. Consequently, performing `apt clean` is unnecessary. As no package has been removed, another `apt autoremove` is also unnecessary. Instead, it'll be helpful to clear the cache for the index file by executing this command: `rm -rf /var/lib/apt/lists/*`.
2024-06-18 01:27:45 +08:00
Branch Vincent 1373857d36
fix: create static directory when missing (#1721) 2024-04-27 17:46:47 +01:00
L1ghtn1ng 0183b674e0 Update Dockerfile base image and installation commands
The base image in the Dockerfile has been updated to python:3.11-slim-bookworm from alpine:3 for a more tailored environment. The initial installation commands using apk have been replaced with apt commands. The apk commands were removed as they are not compatible with the new base image. This fixes compt issues with ujson
2024-03-17 23:15:34 +00:00
L1ghtn1ng 8c6cd3042c Update Docker settings and shift to pipx for module installation
Changed the installation process to use `pipx` instead of `pip3` in the Dockerfile. The path setting for API keys and proxies in `docker-compose.yml` were also updated. Additionally, the name of the default network was altered to better reflect its use.
2023-12-18 16:34:06 +00:00
Branch Vincent 4d825aaf33
build: migrate to pep517 backend (#1505)
* build: migrate to pep517 backend

* test loading config files
2023-10-08 19:45:23 +01:00
L1ghtn1ng f661afc255 should fix #1491 2023-08-26 21:11:08 +01:00
L1ghtn1ng 86cabbe008 fix security issue with base image 2023-07-22 20:43:52 +01:00
J.Townsend f3f0a3eae1
Update Dockerfile to use alpine 3.18 2023-05-30 00:24:18 +01:00
J.Townsend cd462b37f9
Multiple fixes (#1382)
* Fix api keys and proxies file in docker file and compose file

* update alpine version to 3.17.3

* flake8 fixes

* some mypy fixes

* Remove uneeded sublister ci test

* Remove another uneeded CI test and remove source files for uneeded modules
2023-04-10 20:27:38 +01:00
Yaser Alattas 51cb2b7c61 refactor(Docker): optimizing build for better developing 2022-11-26 16:28:06 +03:00
L1ghtn1ng 6748bef93c Fix docker build 2022-11-24 23:01:42 +00:00
L1ghtn1ng eb63a1d838 re-add python3-dev to dockerfile as it is needed 2022-11-13 02:03:04 +00:00
L1ghtn1ng 169e7ad5fe replace python3-dev with gcc as that is missing 2022-11-13 02:00:34 +00:00
L1ghtn1ng ec67561a91 Add python3-dev package to Dockerfile 2022-11-13 01:57:24 +00:00
Daniele Gargano eaa8769c17 Changes Dockerfile to Alpine 2022-10-17 19:23:25 +02:00
J.Townsend 22e1eb9bdb
A lot of changes and fixes (#1168)
* add pytest.ini file and fix test warning in qwantsearch

* ignore unsed imports

* Remove n45ht as the api is down

* Remove modules that use google as google blocks you after one go

* Remove missed code from when removing modules that use google

* Remove missed code from when removing modules that use google

* Add new vt-py dep and update pytest

* WIP virustotal migration to api

* Remove test that fails due to how the api returns not found entries

* Remove entries from myparser re google

* update fastapi and starlette

* update version

* Update dockerfile to use dev ubuntu version

* remove spyse module

* remove spyse dep

* fix tests by removing un-needed tests and indentation fix

* fix some mypy errors

* remove spyse and remove color output and fix mypy error

* flake8 fixes

* bump version and set it a dev version
2022-08-03 23:12:59 +01:00
J.Townsend d2c7d3093e
Fixes #991 thanks @phplucas for the fix 2022-02-12 23:14:20 +00:00
J.Townsend 8e0962367a
add git to dockerfile 2022-01-27 15:35:11 +00:00
J.Townsend ca4bab1ce5
Fix Security issues in docker image by upgrading to latest ubuntu release (#898)
* Add new fullhunt module

* Remove python checks in the run script as they are not needed anymore

* Remove netcraft from ci as it is not needed

* Update Dockerfile to fix security issues
2021-10-24 02:26:00 +01:00
L1ghtn1ng e98afd5372 fix docker file and move it to use ubuntu and add docker ignore file 2021-06-28 21:37:47 +01:00
L1ghtn1ng 249d38e26d Add Dockerfile changes from #674 and add my own change in as well 2021-02-13 05:22:55 +00:00
Amin Vakil d70eca0516
Bump alpine 3.13 2021-02-13 01:25:29 +03:30
L1ghtn1ng 27eb67e5c3 Update readme and deps and fix docker build 2020-03-22 17:36:41 +00:00
L1ghtn1ng 20cf7a677f WIP stuff 2019-11-13 14:45:49 +00:00
Jay Townsend 500e8bbeb6 Update dockerfile to use the kalilinux image
Signed-off-by: Jay Townsend <townsend891@hotmail.com>
2019-09-25 00:35:14 +01:00
Guillaume Valadon a39d4040bb
Dockerfile fix
This PR allows to run:
```
docker built -t the/harvester .
```

Otherwise, `pip` complains that `gcc` is not installed.
2019-08-12 18:17:00 +02:00
Leon Jacobs 7d2f8eb4a8
Use project requirements file to resolve dependencies. 2019-02-25 12:23:05 +02:00
Matt cae56fbfd7
Update Dockerfile
Updated Alpine version.
2019-01-19 19:11:38 -05:00
Matt 66e443376a
Update Dockerfile
Updated from pip to pip3 since using python3.6
2019-01-06 11:25:27 -05:00
NotoriousRebel c089699d6a Updated dockerfile to use python 3.6 2019-01-04 21:58:01 -05:00
Janos Zold 4e270874f0 update docker file with dependencies 2019-01-04 16:34:54 +00:00
Janos Zold b46108115f shodan parsing fix 2018-12-29 01:11:28 +00:00
jzold 0194769952
Update dockerfile with beautifulsoup4 package 2018-12-11 21:23:18 +00:00
Christian Martorella 92b1a87246
Merge branch 'master' into master 2018-11-22 22:20:06 +01:00
NotoriousRebel d21e2846d7 Cleaned up imports and added proper casting from bytes to str. 2018-11-20 22:17:41 -05:00
NotoriousRebel 157ff0dc69 Converted more code to python3 shodan works for the most part. 2018-11-20 12:04:57 -05:00
NotoriousRebel 2a20d3ff47 Starting the change from python2 to python3.7 2018-11-14 22:13:52 -05:00
Laramies 58aa306351 Minor fixes
Readme fixes, and added Dockerfile
2018-11-15 00:25:59 +01:00