diff options
author | Franck Cuny <franck@fcuny.net> | 2022-10-05 17:59:37 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-10-05 17:59:37 -0700 |
commit | 35d131a030b772f5f43be6165cbcce319cdb236b (patch) | |
tree | 609456537d89ab8b3b0083ba3320125148d6aaa4 /users/fcuny/exp/containerd-to-vm/Makefile | |
parent | ref(fcuny/notes): delete notes (diff) | |
download | world-35d131a030b772f5f43be6165cbcce319cdb236b.tar.gz |
ref(fcuny/exp): delete containerd-to-vm
The code is in https://github.com/fcuny/containerd-to-vm
Diffstat (limited to 'users/fcuny/exp/containerd-to-vm/Makefile')
-rw-r--r-- | users/fcuny/exp/containerd-to-vm/Makefile | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/users/fcuny/exp/containerd-to-vm/Makefile b/users/fcuny/exp/containerd-to-vm/Makefile deleted file mode 100644 index 11b7f9a..0000000 --- a/users/fcuny/exp/containerd-to-vm/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -FC_VERSION?=0.24.3-x86_64 -FC_BINARY?=hack/firecracker/firecracker-v$(FC_VERSION) - -FCNET_CONFIG?=/etc/cni/conf.d/50-c2vm.conflist -CNI_BIN_ROOT?=/opt/cni/bin -CNI_TAP_PLUGIN?=$(CNI_BIN_ROOT)/tc-redirect-tap - -.PHONY: build -build: - @go build -o c2vm cmd/c2vm/main.go - -$(FC_BINARY): - @mkdir -p hack/firecracker - @curl -L -o hack/firecracker/firecracker.tgz -s https://github.com/firecracker-microvm/firecracker/releases/download/v0.24.3/firecracker-v$(FC_VERSION).tgz - @tar xvzf hack/firecracker/firecracker.tgz -C hack/firecracker - -$(FCNET_CONFIG): - @sudo mkdir -p $(dir $(FCNET_CONFIG)) - @sudo cp hack/cni/50-c2vm.conflist $(FCNET_CONFIG) - -$(CNI_TAP_PLUGIN): - @go install github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap@latest - @sudo cp ${GOPATH}/bin/tc-redirect-tap $(CNI_BIN_ROOT) - -.PHONY: all -all: build $(FC_BINARY) $(FCNET_CONFIG) $(CNI_TAP_PLUGIN) |