carlaviz icon indicating copy to clipboard operation
carlaviz copied to clipboard

Backend build stage optimizations

Open yuijim opened this issue 2 years ago • 1 comments

Small Dockerfile updates for the backend stage, aimed at reducing subsequent image builds (the initial build time is nearly the same).

Changes:

  • Single apt install command at the beginning of the stage
  • Copying necessary files & running the build setup in a separate step
  • Copying & running the rest of the backend sources last

yuijim avatar Jul 30 '21 19:07 yuijim

It's great to keep apt install in the beginning so that subsequent image builds can use the cache.

wuhanstudio avatar Aug 04 '21 08:08 wuhanstudio

This change will be covered in this PR https://github.com/mjxu96/carlaviz/pull/62

Thanks!

mjxu96 avatar Jul 25 '23 14:07 mjxu96