-
Notifications
You must be signed in to change notification settings - Fork 267
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
Adding multiple packages at once #689
Comments
I had the same use case. My solution was to write a Python script which executes once the container is deployed and sends the POST requests to the Piston endpoint in order to install the runtimes envs. I am fallowing in case another alternative exists. |
Yes this is my seemingly the only option currently. If there was a way to at least do multiple packages in one api request, that would be much more viable. But as per #270 this was rejected and instead implemented in the cli. |
There is absolutely no reason to worry about API request count or bandwidth when you're requesting in the same server. although this might be useful in multi-server setup. |
It's not about throughput, it's about the fact I'd have to use some other language to, for example, loop over an array of package specifications to then execute them one by one. |
I would like to see a way to install multiple packages at once. Currently, i run this in docker, and i dont want to make like ~25 api requests just to install the packages. I know you can do something with building the container yourself and adding them, but I don't want to have to maintain the image myself.
I don't mind the install time, but I'd just like an easy way to automate installing a list of packages.
I've also seen stuff about a specfile, which I can't really find any docs on aside from using them in the build step. It would be great if piston could be configured to read the specfile on startup!
The text was updated successfully, but these errors were encountered: