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

Consider to use a tool like mise (formerly rtx) or vfox to install tools in specific versions #5097

Open
sschuberth opened this issue Feb 24, 2022 · 6 comments
Labels
analyzer About the analyzer tool docker About Docker topics

Comments

@sschuberth
Copy link
Member

sschuberth commented Feb 24, 2022

For example for analyzing Python projects, sometimes a specific version of Python is required, which might not match what is available in the Docker image / on the system. Instead of e.g. building Docker images with configurable Python versions, we could also consider to install the required version of Python at runtime of (maybe as configured in a project's .ort.yml). While tools like pyenv exist to do that for Python, maybe using a generic tool like asdf for that purpose would make things cleaner.

@sschuberth sschuberth added docker About Docker topics enhancement analyzer About the analyzer tool and removed docker About Docker topics labels Feb 24, 2022
@sschuberth sschuberth added the docker About Docker topics label Oct 12, 2022
@sschuberth sschuberth changed the title Consider to use a tool like asdf to install tools in specific versions at runtime Consider to use a tool like asdf to install tools in specific versions Oct 12, 2022
@sschuberth
Copy link
Member Author

Looks like asdf requires you to install plugin dependencies manually 😢

@sschuberth
Copy link
Member Author

sschuberth commented Nov 25, 2022

Looks like asdf requires you to install plugin dependencies manually 😢

And even with asdf-vm/asdf#757, plugin authors barely provide a help.deps script to list their dependencies for (semi-)automatic installation. Which makes it pretty hard to use asdf as an automation tool to setup other tools, IMO.

@sschuberth
Copy link
Member Author

And because the setup of plugins is so cumbersome, the asdf-community has started to create Docker images for tool sets:

https://github.com/asdf-community/asdf-ubuntu
https://github.com/asdf-community/asdf-alpine

@sschuberth
Copy link
Member Author

After some evaluations, I do not consider asdf to be a good fit, mostly because it does not really work out of the box.

@sschuberth sschuberth closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2023
@sschuberth
Copy link
Member Author

Reopening as it might be worth looking at the asdf replacement https://github.com/jdxcode/rtx.

@sschuberth sschuberth reopened this Feb 28, 2023
@sschuberth sschuberth changed the title Consider to use a tool like asdf to install tools in specific versions Consider to use a tool like asdf / rtx to install tools in specific versions Apr 27, 2023
@sschuberth sschuberth changed the title Consider to use a tool like asdf / rtx to install tools in specific versions Consider to use a tool like mise (formerly rtx) or vfox to install tools in specific versions Jan 2, 2025
@sschuberth
Copy link
Member Author

Reopening as it might be worth looking at the asdf replacement https://github.com/jdxcode/rtx.

For reference, rtx is now called mise.

Other alternatives:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer About the analyzer tool docker About Docker topics
Projects
None yet
Development

No branches or pull requests

1 participant