Skip to content

Build failing with Docker BuildKit enabled #207

@andreyzher

Description

@andreyzher

Description

When attempting to build the ubi8/s2i-core image with Docker's new build engine (BuildKit), it fails to tag the resulting image.

Build log :
ubi8-s2i-core.txt

Normally I don't build with BuildKit enabled, but the latest version on Mac seems to have defaulted to this, which is how this was noticed.

Is it a known issue?

Thanks

Versions

Docker:

$ docker --version
Docker version 20.10.5, build 55c4c88

Build host:

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)

and

macOS Big Sur 11.2.3

Steps to reproduce

  1. Set DOCKER_BUILDKIT=1
  2. Build RHEL8 Core image
    make build TARGET=rhel8 VERSIONS=core VERBOSE=1
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions