Skip to content

Commit

Permalink
fix(test): add volume mount for docker-func-test target
Browse files Browse the repository at this point in the history
Signed-off-by: Omer Aplatony <[email protected]>
  • Loading branch information
omerap12 committed Dec 23, 2024
1 parent 2a63452 commit 335442a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 335442a

Please sign in to comment.