nabla-c0d3 / sslyze

Fast and powerful SSL/TLS scanning library.
GNU Affero General Public License v3.0
3.19k stars 445 forks source link

Refactoring of the Dockerfile #654

Open Proto1337 opened 3 weeks ago

Proto1337 commented 3 weeks ago

This PR will change up the Dockerfile a bit. The most important changes can be summarized as:

Considering that Python 3.9 is EOL next year's October I changed the default Python version to 3.12. Another version can simply be set when building with the "--build-arg" parameter like "_--build-arg PYTHONVERSION='3.11'" to use Python 3.11. The usage of the venv and adding it to PATH eliminates the need to call sslyze with "python -m sslyze" and lets you call it directly with just "sslyze".