fossasia / susi_linux

Hardware for SUSI AI https://susi.ai
Apache License 2.0
1.61k stars 149 forks source link

Cache Python packages for OS image building #422

Closed hongquan closed 5 years ago

hongquan commented 5 years ago

Currently, the OS image building process takes sometimes to download and install Python packages. I think we can reduce build time by caching downloaded Python packages (in ~/.cache/pip). Note that those cached files won't be included in the final image.

hongquan commented 5 years ago

Done. The method is to: