Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-35451

Status-board: Mutli-stage build

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None

      Currently, our `build_deploy.sh` script runs `make build image` which builds the binary then the image.  This simplifies our Dockerfile by allowing us to simply copy the binary into the container.  Konflux, however, runs Buildah (basically `podman build`) on a fresh repo, which is analogous to `make clean image`, which fails when there is no binary available.

       

      As a developer, I would like to be able to run `make clean image` and have the container be built.  To do this, we need to create a multistage build that builds the binary in the Dockerfile itself.

      This blocks: https://gitlab.cee.redhat.com/service/status-board/-/merge_requests/579

              sreaves@redhat.com Stephen Reaves (Inactive)
              sreaves@redhat.com Stephen Reaves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: