Skip to content

Commit

Permalink
Build firecracker and jailer explictly
Browse files Browse the repository at this point in the history
Since firecracker-microvm/firecracker#2125,
`cargo build` doesn't build jailer by default.

Signed-off-by: Kazuyoshi Kato <[email protected]>
  • Loading branch information
kzys committed Sep 21, 2020
1 parent ee1e7c4 commit b9c5c1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ $(FIRECRACKER_BIN) $(JAILER_BIN): tools/firecracker-builder-stamp
--workdir=/firecracker \
localhost/$(FIRECRACKER_BUILDER_NAME):$(DOCKER_IMAGE_TAG) \
cargo build --release \
--target-dir=/artifacts --target $(FIRECRACKER_TARGET)
--target-dir=/artifacts --target $(FIRECRACKER_TARGET) \
-p firecracker -p jailer
cp build/$(FIRECRACKER_TARGET)/release/firecracker $(FIRECRACKER_BIN)
cp build/$(FIRECRACKER_TARGET)/release/jailer $(JAILER_BIN)

Expand Down

0 comments on commit b9c5c1e

Please sign in to comment.