Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker upgrade #141

Closed
marcorosa opened this issue Jul 8, 2021 · 2 comments
Closed

Docker upgrade #141

marcorosa opened this issue Jul 8, 2021 · 2 comments
Assignees
Labels
WIP work in progress

Comments

@marcorosa
Copy link
Member

Upgrade the docker image used for the UI (use python3.9 instead of python3.7, now that it is supported)

@marcorosa marcorosa self-assigned this Jul 8, 2021
@marcorosa
Copy link
Member Author

Not every base image for Docker fully supports hyperscan package. In some of them, libhyperscan needs to be built from source (which would take a lot).
Ref

At this date, when trying to set the base version of docker image to python:3.9 in place of python:3.7:

...
credential_digger_sqlite |   File "/usr/local/lib/python3.9/site-packages/credentialdigger/__init__.py", line 1, in <module>
credential_digger_sqlite |     from .client import Client
credential_digger_sqlite |   File "/usr/local/lib/python3.9/site-packages/credentialdigger/client.py", line 13, in <module>
credential_digger_sqlite |     from .scanners.file_scanner import FileScanner
credential_digger_sqlite |   File "/usr/local/lib/python3.9/site-packages/credentialdigger/scanners/file_scanner.py", line 8, in <module>
credential_digger_sqlite |     import hyperscan
credential_digger_sqlite |   File "/usr/local/lib/python3.9/site-packages/hyperscan/__init__.py", line 5, in <module>
credential_digger_sqlite |     from hyperscan._hyperscan import *
credential_digger_sqlite | ImportError: /usr/local/lib/python3.9/site-packages/hyperscan/_hyperscan.cpython-39-x86_64-linux-gnu.so: undefined symbol: hs_compile_lit_multi

@marcorosa
Copy link
Member Author

marcorosa commented Jul 30, 2021

  • Give a name to the images in the docker-compose.yml
  • Update instructions in the wiki, in the page "How to update the project"

@marcorosa marcorosa added the WIP work in progress label Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP work in progress
Projects
None yet
Development

No branches or pull requests

1 participant