mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-21 08:12:49 +00:00
6 lines
396 B
Markdown
6 lines
396 B
Markdown
# Exercise — BuildKit cache mounts
|
|
|
|
We want to make our builds faster by leveraging BuildKit cache mounts.
|
|
|
|
Of course, if we don't make any changes to the code, the build should be instantaneous. Therefore, to benchmark our changes, we will make trivial changes to the code (e.g. change the message in a "print" statement) and measure (e.g. with `time`) how long it takes to rebuild the image.
|