algorithmiaio / langpacks

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

anaconda perf improvements (perf/disk size) #108

Closed zeryx closed 5 years ago

zeryx commented 5 years ago

This PR replaces anaconda with miniconda, dramatically reducing disk utilization to improve buildtime/runtime performance of the anaconda based IPA images. We also removed the tini dependency which is not required for our use.

This reduces the anaconda base image by ~2.97GB, which further reduces later layer image sizes by being a necessary per-requesite layer.

zeryx commented 5 years ago

We don't use the latest version of miniconda as it introduces an additional file that causes permissions issues that were not introduced with previous versions.