Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kata-webhook: simplify building kata-webhook container
Before one can build the container image the vendor directory from the parent directory has to be copied to the kata-webhook directory. Otherwise the build will fail because it can't find all necessary packages. See issue kata-containers#2479 This is solved on the master branch for Kata 1.x by adding a manual step to the README.md. We can avoid this manual step by copying in the vendor directory during the docker build. The vendor directory is ~28 megs and it takes less than a second to copy it into the build env, so no noticeable slow down. Fixes: kata-containers#3230 Signed-off-by: Jens Freimann <[email protected]>
- Loading branch information