Skip to content

Commit

Permalink
Merge pull request #218 from kzys/update-test-objects
Browse files Browse the repository at this point in the history
Download Firecracker 0.21.1 and its jailer from Makefile
  • Loading branch information
kzys authored Mar 16, 2020
2 parents 73e1707 + aea07cd commit 6237a44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ UID = $(shell id -u)
GID = $(shell id -g)

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

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

testdata/firecracker:
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.18.0/firecracker-v0.18.0
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.21.1/firecracker-v0.21.1-x86_64
chmod +x $@

testdata/jailer:
$(curl) -o $@ https://github.com/firecracker-microvm/firecracker/releases/download/v0.21.1/jailer-v0.21.1-x86_64
chmod +x $@

testdata/root-drive.img:
Expand Down

0 comments on commit 6237a44

Please sign in to comment.