Skip to content

AWS MicroVM build fails because pinned gh-2.96.0-1 RPM is unavailable #122

Description

@gregario

QM CLI 0.1.4's AWS MicroVM build currently pins the GitHub CLI RPM to gh-2.96.0-1 in templates/aws/microvm-agent/Dockerfile.

That RPM is no longer available from https://cli.github.com/packages/rpm/gh-cli.repo, so the image build fails at:

dnf install -y gh-2.96.0-1

with:

error: No package matches 'gh-2.96.0-1'

On AWS Lambda MicroVM image builds this is surfaced only as The container image build failed., with no useful build logs.

I reproduced the failure locally using the exact public.ecr.aws/lambda/microvms:al2023-minimal base image. gh-2.97.0-1 is available for the same ARM64 image and a full local build succeeds after changing only that pin.

Could QM update the pinned RPM (or otherwise make this dependency version reproducible and maintainable)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions