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

WebRCA: Mutli-stage build

XMLWordPrintable

    • 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.

              vkronika@redhat.com Vojtech Kronika
              vkronika@redhat.com Vojtech Kronika
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: