rpy2-docker icon indicating copy to clipboard operation
rpy2-docker copied to clipboard

Add caching for image builds

Open lgautier opened this issue 5 years ago • 2 comments

lgautier avatar Jan 07 '20 03:01 lgautier

By caching do you mean caching the packages downloaded by apt and pip? That is possible using buildkit with the experimental Dockerfile syntax.

kiendang avatar Mar 01 '20 06:03 kiendang

I meant meant caching the parent images. here are 3 images in direct filiation, base -> jupter -> jupyter_ds, and the action will rebuild all three even if a push only modifies jupyter_ds.

Thanks for pointing out buildkit. This could also help here.

lgautier avatar Mar 01 '20 15:03 lgautier