diff options
| author | Franck Cuny <franck@fcuny.net> | 2021-05-15 13:49:50 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2021-05-15 13:49:50 -0700 |
| commit | d6974fd53ee53a2479977b07b09dcc2196376586 (patch) | |
| tree | 28ab0c60acabca2603dc4c7f71755a1cfd2b5e0e /Makefile | |
| parent | git: ignore binary (diff) | |
| download | containerd-to-vm-d6974fd53ee53a2479977b07b09dcc2196376586.tar.gz | |
hack: firecracker binary and CNI configuration
Add a target to the Makefile to download a version of firecracker and
extract it under the repository hack/firecracker. We will then use this
binary for running the VM.
Add a CNI configuration under hack/cni. This configuration will need to
be copied to `/etc/cni/conf.d`.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ .PHONY: build build: go build -o c2vm cmd/c2vm/main.go + +.PHONY: firecracker-binary +firecracker-binary: + mkdir -p hack/firecracker + curl -L -o hack/firecracker/firecracker.tgz https://github.com/firecracker-microvm/firecracker/releases/download/v0.24.3/firecracker-v0.24.3-x86_64.tgz + tar xvzf hack/firecracker/firecracker.tgz -C hack/firecracker |
