moby-ryuk icon indicating copy to clipboard operation
moby-ryuk copied to clipboard

chore: add caching to Linux docker run

Open stevenh opened this issue 1 year ago • 2 comments

Add cache mount directives to Linux docker container so that reruns are much quicker.

stevenh avatar Mar 14 '24 08:03 stevenh

Hey @stevenh what are the motivation for this PR? Do you think it makes a real difference with the current state of the release process?

IIUC this will happen at build time of Ryuk, which is done just once per release. I see the benefits of building a Docker image faster, but want to check with you the implications/importance of this update.

Thanks!

mdelapenya avatar Apr 08 '24 10:04 mdelapenya

For the release process no benefit. For the developer working on this it was much quicker iteration time, which was the motivation.

stevenh avatar Apr 08 '24 11:04 stevenh