Skip to content

Fix Dockerfile to work with threat-composer-ai#278

Merged
jessieweiyi merged 2 commits into
awslabs:mainfrom
NickMrshll:main
Jul 6, 2026
Merged

Fix Dockerfile to work with threat-composer-ai#278
jessieweiyi merged 2 commits into
awslabs:mainfrom
NickMrshll:main

Conversation

@NickMrshll

Copy link
Copy Markdown
Contributor

When trying to run Threat Composer locally from the Dockerfile, I was getting this error below

threat-composer-ai: /bin/sh: line 1: uv: command not found

Description of changes:

I have resolved this by installing graphviz and uv, both required dependencies of threat-composer-ai. The Dockerfile installs UV from their ghcr at the tag latest, if you need this pinned to a specific version let me know and I can make the change.

This PR fixes the Dockerfile and makes it run again.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@NickMrshll

Copy link
Copy Markdown
Contributor Author

Hey @jessieweiyi I see you have reviewed quite a few PRs recently, is something you might be able to take a look at?

Thanks

@jessieweiyi jessieweiyi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @NickMrshll Thanks for working on this. Please review my minor feedback.

Comment thread Dockerfile Outdated
@NickMrshll

Copy link
Copy Markdown
Contributor Author

@jessieweiyi thanks for the review, I have now pinned the uv version and also moved the dnf install of graphviz to where the rest of the packages are installed.

@NickMrshll NickMrshll requested a review from jessieweiyi July 5, 2026 20:48

@jessieweiyi jessieweiyi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry for the late response and thanks for your awesome work

@jessieweiyi jessieweiyi merged commit 1b51c90 into awslabs:main Jul 6, 2026
1 check passed
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.

2 participants