Skip to content

feat(microvm): add image build example - #5373

Draft
edersonbrilhante wants to merge 1 commit into
microvm-foundation-examplefrom
microvm-examples-image-build
Draft

feat(microvm): add image build example#5373
edersonbrilhante wants to merge 1 commit into
microvm-foundation-examplefrom
microvm-examples-image-build

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the repository-local Lambda MicroVM image build inputs and runner example:
the Packer template, pinned ARM64 Dockerfile, image publisher, external
compiled lifecycle-hook ZIP contract, and image entrypoint. The supplied
MICROVM_LIFECYCLE_HOOK_ZIP must contain server.js at the archive root.

The image contains the GitHub Actions runner, Amazon CloudWatch Agent, and
lifecycle-hook server. The runner example consumes the image and foundation
outputs for Lambda MicroVM execution.

Test Plan

  • packer fmt -check=true packer/gha-runner.microvm.ubuntu.pkr.hcl
  • Packer validation with representative non-secret environment values
  • shellcheck -x for the MicroVM shell scripts
  • Hadolint for the ARM64 Dockerfile
  • Python lifecycle-hook ZIP validation with a root-level server.js
  • terraform validate for examples/microvm
  • git diff --check

Related Issues

Depends on #5363.

@edersonbrilhante
edersonbrilhante requested review from a team as code owners September 4, 2026 19:21
@edersonbrilhante
edersonbrilhante changed the base branch from microvm-multi-runner-integration-split to microvm-integration-independent September 4, 2026 19:24
@edersonbrilhante
edersonbrilhante marked this pull request as draft September 4, 2026 19:36
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch from c5d9970 to 470efcf Compare September 4, 2026 19:43
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch 5 times, most recently from e0ae713 to f77a8f8 Compare September 4, 2026 21:17
@edersonbrilhante edersonbrilhante changed the title feat(microvm): add runner example and image build tooling feat(microvm): add image build example Sep 4, 2026
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch from 98b4681 to 3619abc Compare September 4, 2026 21:26
@edersonbrilhante
edersonbrilhante changed the base branch from microvm-integration-independent to microvm-foundation-example September 4, 2026 21:47
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch 3 times, most recently from 7f43788 to ec4541e Compare September 4, 2026 22:08
Comment thread .github/workflows/packer-build.yml Fixed
Comment thread .github/workflows/packer-build.yml Fixed
Comment thread .github/workflows/packer-build.yml Fixed
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch 2 times, most recently from a1eec91 to 12820f5 Compare September 4, 2026 22:13
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch 3 times, most recently from f833575 to c020cbd Compare September 4, 2026 22:19
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch from c020cbd to 5a4bb40 Compare September 4, 2026 22:34
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch 7 times, most recently from 9c148c1 to d0217cd Compare September 4, 2026 22:51
Comment thread .github/workflows/packer-build.yml Fixed
@edersonbrilhante
edersonbrilhante force-pushed the microvm-examples-image-build branch from d0217cd to 9b8637a Compare September 4, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants