Skip to content

Oryx builder fails with No such image #2583

@weikanglim

Description

@weikanglim

This is impacting all builds on new Windows machines.

Repro:

  1. Enable dockerd for Docker (enabled by default on Windows these days)
  2. Run pack build test_image --builder mcr.microsoft.com/oryx/builder:debian-bullseye-20240424.1
  3. Observe error below referencing buildpacksio/lifecycle:0.17.0
b2f704490faa: Pull complete
Digest: sha256:bc0d791f89bda0e8fbf9bf3e47c2faf1ac4eca4b16f0b01c6cb606883759766a
Status: Downloaded newer image for buildpacksio/lifecycle:0.17.0
, stderr: ERROR: failed to build: failed to write image to the following tags: [pack.local/builder/657662746b6877776b68:latest: saving image "pack.local/builder/657662746b6877776b68:latest": Error response from daemon: No such image: sha256:1a3f079e7ffed5eb4c02ecf6fdcc38c8fe459b021b4803471703dbded90181c4]

From buildpacks/pack#1519, this is likely resolved with referencing a new buildpacsio/lifecycle image.

Fix

Can someone on Oryx team take a look and update the builder images? I suspect this is fixed by:

  1. Installing a new pack CLI -- updating the pack version here
  2. Rebuilding the builders and publishing to mcr.microsoft.com/oryx/builder:debian-bullseye-xxxx

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