Files
container.training/slides/containers/Exercise_Dockerfile_Buildkit.md
Jérôme Petazzoni c7a2b7a12d ️ Add BuildKit exercise
2025-10-28 21:45:45 +01:00

396 B

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.