ucladevx / Bmaps-Backend

Documentation and source code for public events/locations APIs.
http://github.com/ucladevx/Bmaps-Backend/
MIT License
6 stars 2 forks source link

Upload base image to remote host to reduce build-base time. #149

Open wfehrnstrom opened 4 years ago

wfehrnstrom commented 4 years ago

What we're currently doing: Every time the base image changes, every person that pulls that change must rebuild the mappening/base image. Although this happens automatically, given the base image size, this process is extremely cumbersome. It would be helpful to reduce time taken to update to the newest base build by either a.) utilizing even more build stages in order of least likely to change to most likely, or b.) cache the newest, correct version of the mappening/base image on a remote host once it's been vetted, and instead of building an entirely new image and installing all components for that image, just download the image wholesale from that host. This would also speed up the very sisyphean onboarding process for new team members.

Kimeiga commented 4 years ago

I see build-base on docker hub, how would we integrate pulling it with make build-base