Skip to content

Commit aea07cd

Browse files
committed
Download Firecracker 0.21.1 and its jailer from Makefile
These rules were added to easily start developing the SDK, but it hasn't been updated since 0.18.0. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 73e1707 commit aea07cd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ UID = $(shell id -u)
2525
GID = $(shell id -g)
2626

2727
# The below files are needed and can be downloaded from the internet
28-
testdata_objects = testdata/vmlinux testdata/root-drive.img testdata/firecracker
28+
testdata_objects = testdata/vmlinux testdata/root-drive.img testdata/firecracker testdata/jailer
2929

3030
# --location is needed to follow redirects on github.com
3131
curl = curl --location
@@ -58,7 +58,11 @@ testdata/vmlinux:
5858
$(curl) -o $@ https://s3.amazonaws.com/spec.ccfc.min/img/hello/kernel/hello-vmlinux.bin
5959

6060
testdata/firecracker:
61-
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.18.0/firecracker-v0.18.0
61+
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.21.1/firecracker-v0.21.1-x86_64
62+
chmod +x $@
63+
64+
testdata/jailer:
65+
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.21.1/jailer-v0.21.1-x86_64
6266
chmod +x $@
6367

6468
testdata/root-drive.img:

0 commit comments

Comments
 (0)