chuot / rdio-scanner

Rdio Scanner is an open source software that ingest and distribute audio files generated by various software-defined radio recorders. Its interface tries to reproduce the user experience of a real police scanner, while adding its own touch.
GNU General Public License v3.0
422 stars 60 forks source link

Updated to reduce docker rebuild time #251

Closed MaxwellDPS closed 2 years ago

MaxwellDPS commented 2 years ago

Rearranged to reduce docker rebuild time.. Cheers :)

chuot commented 2 years ago

I just tested your version and in fact it takes longer to build than my version. Keep in mind that I build a new container every time I release a new version. I'm also building the multi-arch image file using podman, not docker. To make sure I always get the latest images, I build it from scratch every time, clearing all the previous images first.

Here is the timing of my version compared to yours:

Current version:

 real 4m33,085s
 user 10m2,922s
 system 0m39.137s

Your version:

real 5m17,387s
user 10m39,556s
system 0m53.351s