-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
False
-
-
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.
- mentioned on