Better HN
topnewbestaskshowjobs
Log inSign up

seglberg

2 karma · joined Jan 30, 2020 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

Not sure I've seen this mentioned anywhere before, but what we tend to do is build all of our dependencies in CI by setting `_PYTHON_HOST_PLATFORM=alpine-x86_64` and uploading them to an internal index.

This way when we go to build our final app images, there is no need to compile any python packages or install a toolchain. Our builds are generally under a minute or two as its just downloading and installing packages via Poetry/Pip.