From 4ee9789484258d1ae8f6bf36859ea325097d5d7b Mon Sep 17 00:00:00 2001 From: Omer Aplatony Date: Wed, 25 Dec 2024 03:50:55 +0200 Subject: [PATCH] fix(test): add volume mount for docker-func-test target (#3160) Signed-off-by: Omer Aplatony --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 375a7706ec..6a8947e1d7 100644 --- a/Makefile +++ b/Makefile @@ -173,8 +173,12 @@ docker-init: ## Build VPC CNI plugin Init container image. # Run the built CNI container image to use in functional testing docker-func-test: docker ## Run the built CNI container image to use in functional testing + rm -rf /tmp/cni/bin + mkdir -p /tmp/cni/bin docker run $(DOCKER_RUN_FLAGS) \ + -v /tmp/cni/bin:/host/opt/cni/bin \ "$(IMAGE_NAME)" + rm -rf /tmp/cni/bin ## Build multi-arch VPC CNI plugin container image. multi-arch-cni-build: