Skip to content

label:"Dockerfile missing ai installation" #122

@robbpaulsen

Description

@robbpaulsen

Hi,

I just came across your project today, nuild it with docker and gave an error by usin gthe --ai flag:

󰊠 docker run --rm robbpaulsen/blackbird:03042025 -u "someuser" -ai --dump --max-concurrent-request 15
//src/modules/core/username.py:58: SyntaxWarning: invalid escape sequence '\['
  f"  ✔️  \[[cyan1]{site['name']}[/cyan1]] [bright_white]{response['url']}[/bright_white]"
//src/modules/core/email.py:65: SyntaxWarning: invalid escape sequence '\['
  f"  ✔️  \[[cyan1]{site['name']}[/cyan1]] [bright_white]{response['url']}[/bright_white]"

    ▄▄▄▄    ██▓    ▄▄▄       ▄████▄   ██ ▄█▀ ▄▄▄▄    ██▓ ██▀███  ▓█████▄
    ▓█████▄ ▓██▒   ▒████▄    ▒██▀ ▀█   ██▄█▒ ▓█████▄ ▓██▒▓██ ▒ ██▒▒██▀ ██▌
    ▒██▒ ▄██▒██░   ▒██  ▀█▄  ▒▓█    ▄ ▓███▄░ ▒██▒ ▄██▒██▒▓██ ░▄█ ▒░██   █▌
    ▒██░█▀  ▒██░   ░██▄▄▄▄██ ▒▓▓▄ ▄██▒▓██ █▄ ▒██░█▀  ░██░▒██▀▀█▄  ░▓█▄   ▌
    ░▓█  ▀█▓░██████▒▓█   ▓██▒▒ ▓███▀ ░▒██▒ █▄░▓█  ▀█▓░██░░██▓ ▒██▒░▒████▓
    ░▒▓███▀▒░ ▒░▓  ░▒▒   ▓▒█░░ ░▒ ▒  ░▒ ▒▒ ▓▒░▒▓███▀▒░▓  ░ ▒▓ ░▒▓░ ▒▒▓  ▒
    ▒░▒   ░ ░ ░ ▒  ░ ▒   ▒▒ ░  ░  ▒   ░ ░▒ ▒░▒░▒   ░  ▒ ░  ░▒ ░ ▒░ ░ ▒  ▒
    ░    ░   ░ ░    ░   ▒   ░        ░ ░░ ░  ░    ░  ▒ ░  ░░   ░  ░ ░  ░
    ░          ░  ░     ░  ░░ ░      ░  ░    ░       ░     ░        ░
        ░                  ░                     ░               ░


           Made with 💓 by Lucas 'P1ngul1n0' Antoniaci
🌐 Downloading site list
❌ Could not load AI model (en_blackbird_osint_ner)
Please install the model with `pip install en_blackbird_osint_ner`

On a side note there's another minor thing with the escape sequences for the banner, but that's fine if the tool works. I modified the Dockerfile to include the --ai feature:

FROM python:3.12-slim

COPY . .

RUN python3 -m pip install -r requirements.txt && pip install en-blackbird-osint-ner
ENTRYPOINT ["python3","blackbird.py"]

It's not the slickest and more creative way to append into a Dockerfile but it didn't complain, after that it all worked. Thanks for sharing, have a nice day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions