Visitar URL original
Dockerfile support · Issue #272 · github/licensed · GitHub
The Wayback Machine - https://web.archive.org/web/20211205013708/https://github.com/github/licensed/issues/272
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

Dockerfile support #272

Open
klautcomputing opened this issue May 16, 2020 · 1 comment
Open

Dockerfile support #272

klautcomputing opened this issue May 16, 2020 · 1 comment

Comments

@klautcomputing
Copy link

@klautcomputing klautcomputing commented May 16, 2020

Would be great if licensed supported analyzing Dockerfiles and what is installed there to track all dependencies of a project!

@jonabc
Copy link
Collaborator

@jonabc jonabc commented May 19, 2020

@klautcomputing this is a great topic and I'd love to support this but I'll also say that it's a hard problem to solve.

Licensed works on what is actively available on a system and requires that dependencies be installed. Dockerfile RUN commands can have hidden side effects and the only way to be sure of the state of a system is to evaluate a docker container that's run from the image built from the Dockerfile.

So, then there are a few more problems:

  • how to enumerate dependencies from package managers on different base OS's?
  • how to gather information from dependencies installed manually, outside of a package manager?

That's not to say that any of this is not solvable, just that it's not the easiest thing to enumerate system level dependencies 😄 . If you have ideas on how to accomplish this I'd absolutely welcome additional feedback or even a PR 🙏

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants