forked from kubev2v/forklift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virt-v2v: Build our own fixed appliance (Fixes kubev2v#226)
The appliance from Kubevirt [1] is missing some packages we need. For legal reasons it is not possible to include the missing packages there. We need to build our own fixed appliance. We imitate multi-stage Dockerfile build in Bazel. Unfortunately container_run_and_extract() does not work with Podmana [2] and Bazel's linux-sandbox. Slightly less secure but working processwrapper sandbox is used as a workaround. [1] kubevirt/libguestfs-appliance#17 [2] bazelbuild/rules_docker#2251 Signed-off-by: Tomáš Golembiovský <[email protected]>
- Loading branch information
Showing
4 changed files
with
46 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Appliance build | ||
# container_run_and_extract() does not work inside Podman and Docker | ||
# sandboxes. Use slightly less secure but working processwrapper sandbox. | ||
# NOTE: Same configuration is in .bazelrc in repository root. | ||
build --strategy_regexp="Action appliance/libguestfs-appliance.tar"=processwrapper-sandbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters