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 updates, fixes #1386

Merged
merged 7 commits into from
Sep 24, 2021
Merged

Conversation

TheTechromancer
Copy link
Contributor

Fixes in Dockerfile.full and updates to docker-compose.yml to accommodate the new data location.

@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2021

Codecov Report

Merging #1386 (6f721ed) into master (33fe199) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1386      +/-   ##
==========================================
- Coverage   52.73%   52.72%   -0.01%     
==========================================
  Files         473      473              
  Lines       38853    38856       +3     
==========================================
  Hits        20488    20488              
- Misses      18365    18368       +3     
Impacted Files Coverage Δ
spiderfoot/db.py 77.29% <100.00%> (+0.07%) ⬆️
modules/sfp_dnsraw.py 45.36% <0.00%> (-3.10%) ⬇️
spiderfoot/plugin.py 84.86% <0.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33fe199...6f721ed. Read the comment docs.

Dockerfile.full Outdated
# Configure tool paths
ENTRYPOINT python -c 'from spiderfoot import SpiderFootDb; \
# Run the application
CMD python -c 'from spiderfoot import SpiderFootDb; \
db = SpiderFootDb({"__database": "spiderfoot.db"}, init=True); \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The __database key is supposed to represent the full file system path.

This should probably be:

Suggested change
db = SpiderFootDb({"__database": "spiderfoot.db"}, init=True); \
db = SpiderFootDb({"__database": "/home/spiderfoot/.spiderfoot/spiderfoot.db"}, init=True); \

@smicallef smicallef merged commit 45f87b4 into smicallef:master Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants