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 image building seems to run indefinitely on extern dockerfiles #1245

Open
rguilloteau opened this issue Dec 11, 2023 · 0 comments
Open

Comments

@rguilloteau
Copy link

Describe the bug
The Docker image building phase seems to be blocked indefinitely when I run tern on an extern Dockerfile. I interrupted the software after 5min.

To Reproduce
Steps to reproduce the behavior:

romain$ cp tern/samples/photon_git/Dockerfile .
romain$ tern report -d Dockerfile
2023-12-11 14:55:14,758 - DEBUG - __main__ - Starting...
2023-12-11 14:55:14,758 - DEBUG - prep - Setting up...
2023-12-11 14:55:14,801 - DEBUG - rootfs - Running command: sudo chmod +x /home/viveris/.local/lib/python3.10/site-packages/tern/tools/fs_hash.sh
2023-12-11 14:55:14,805 - DEBUG - run - Parsing Dockerfile...
2023-12-11 14:55:14,806 - DEBUG - run - Building Docker image with Dockerfile: Dockerfile

Error in terminal

No error just a blocked software

Expected behavior
I expect a SBOM ouput in ther terminal. The same as when I ran the example with this command

tern report -d samples/photon_git/Dockerfile

Environment you are running Tern on
Enter all that apply

  • Tern version 2.12.1
  • Linux Mint 21.2
  • 3.10.12
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

No branches or pull requests

1 participant