From 317e94edf00834c72455773a9a8988edb9e8b10c Mon Sep 17 00:00:00 2001 From: 0x1d Date: Tue, 22 Apr 2025 16:22:05 +0200 Subject: [PATCH] update docs --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 388fcbb..7122f2b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,18 @@ This Terraform module serves as an abstraction to builds machine images from Packer configurations through Docker. A pre-existing Docker image with Packer installed is required. + +You may run the example to build a RaspiOS ARM64 image: +``` +pushd examples/raspios + terraform init + terraform apply + docker logs -f $(docker ps -q -f name=packer-builder-arm) +popd +``` + +## Build Progress + The build runs in the background and outpout the image to the local directory. To see the build progress, you need to show the Docker logs like this: ```