Shared-Reality-Lab / IMAGE-server

IMAGE project server components
Other
2 stars 7 forks source link

Schemas should be loaded near the end of the build #61

Open JRegimbal opened 3 years ago

JRegimbal commented 3 years ago

Docker build caches rely on a lack of changes in all previous steps. Because of this, it's beneficial to have the parts that change infrequently (if ever) at the beginning and the parts that change frequently at the end (see leveraging the build cache).

This issue requires all images that use the schemas to copy them in after all dependencies are installed at least. Dependency installation can be very time consuming and take up a lot of space, so it's best to use the cache if possible.

jeffbl commented 2 years ago

@JRegimbal beyond taking more time to build, does this have any impact on things like github resources we're consuming, that may eventually get us into trouble?

JRegimbal commented 2 years ago

AFAIK, there isn't currently any storage/bandwidth quota we need to worry about running up against with images in public repositories.