Packer base image is now a var; ./run dist:image builds FROM the newest mc-golden snapshot by default, so the idempotent provision.sh only redoes changed work (~3-8 min vs ~20 cold). --cold rebuilds from stock Ubuntu to reset layer cruft. Made the clone step idempotent (clone-or-fetch) so it works on a pre-provisioned base. Directly addresses 'avoid unnecessary rebuilds'. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| golden-image.pkr.hcl | ||
| provision.sh | ||