algorithmiaio / langpacks

Standardized builder and runners for Algorithmia algorithms
https://algorithmia.com/
MIT License
16 stars 9 forks source link

[PSE-245] Package mirror arguments for use in IPA build and execution #158

Closed dmorris-algo closed 4 years ago

dmorris-algo commented 4 years ago

Five package mirror arguments are added to the builder image; CRAN_MIRROR is passed into langserver's environment during algorithm execution.

This supports both IPA algorithm builds and IPA algorithm executions:

pmcq commented 4 years ago

don't worry about dockherder. but also in general - why do we need the mirror args at runtime? I would expect that users aren't installing more packages at runtime than they already did at compile. i think this might've been there because of some weirdness with R specifically, but the other languages can probably be removed (and hopefully we can remove R's too since it's sloooow)

aslisabanci commented 4 years ago

Tested the branch by running a previously successful "environment validator" script run to build a Pytorch package and it was successful.