Add caching of image files to build process #73
Replies: 6 comments
-
Cache (the hash of) this file: http://ppa.launchpad.net/ondrej/php/ubuntu/dists/focal/Release Done 🍏 |
Beta Was this translation helpful? Give feedback.
-
Please send the usual €1 000 000 |
Beta Was this translation helpful? Give feedback.
-
Actually building the image and checking it for changes would be the ultimate solution. But you may experiment with |
Beta Was this translation helpful? Give feedback.
-
Adding a note, I wonder if we use "Build X" (BuildKit) as provided in this demo? https://github.com/docker/build-push-action |
Beta Was this translation helpful? Give feedback.
-
To answer that you need someone who lives in the Docker ecosystem. |
Beta Was this translation helpful? Give feedback.
-
Updated the notes above. Temporarily commented out the caching for now and will loop back to this later. Focusing on the structure for now. |
Beta Was this translation helpful? Give feedback.
-
Background
Caching will be helpful because:
Scenarios to consider
✅ When we want a build
base_image
(ubuntu:20.04)🛑 DO NOT build when
(notice we still need to build even if there are not updates for the
base_image
)Possible solutions
docker run ... /bin/bash -c "dpkg -l|shasum"
Related comment: 26723e7#r48044607
Next steps
Beta Was this translation helpful? Give feedback.
All reactions