Uploaded image for project: 'OpenShift Builds'
  1. OpenShift Builds
  2. BUILD-1350

Support target build stage in buildah ClusterBuildStrategy

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • builds-1.3
    • shipwright
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Story (Required)

      As a user trying to build a complex multistage Dockerfile I want to be able to define the build target in a parameter to the ClusterBuildStrategy

      Background (Required)

      When building a complex multistage Dockerfile, like those used with "docker buildx" it becomes necessary to be able to set the --target in buildah to specify which image to build in the Dockerfile

      Out of scope

      Not supporting the complexities of multi-target or multi-arch builds

      Approach (Required)

      Generally we should be able to add a parameter to the shipped buildah ClusterBuildStrategy to add support for --target

      Acceptance Criteria (Mandatory)

      A user should be able to specify the target of a multistage Dockerfile build with the buildah ClusterBuildStrategy that ships out of the box with OpenShift Builds __ 

      INVEST Checklist

      Dependencies identified

      Blockers noted and expected delivery timelines set

      Design is implementable

      Acceptance criteria agreed upon

      Story estimated

      Legend

      Unknown

      Verified

      Unsatisfied

      Done Checklist

      • Code is completed, reviewed, documented and checked in
      • Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
      • Continuous Delivery pipeline(s) is able to proceed with new code included
      • Customer facing documentation, API docs etc. are produced/updated, reviewed and published
      • Acceptance criteria are met

              Unassigned Unassigned
              jkincl@redhat.com Jason Kincl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: