Skip to content

Commit 4ee9789

Browse files
authored
fix(test): add volume mount for docker-func-test target (#3160)
Signed-off-by: Omer Aplatony <[email protected]>
1 parent 2a63452 commit 4ee9789

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,12 @@ docker-init: ## Build VPC CNI plugin Init container image.
173173

174174
# Run the built CNI container image to use in functional testing
175175
docker-func-test: docker ## Run the built CNI container image to use in functional testing
176+
rm -rf /tmp/cni/bin
177+
mkdir -p /tmp/cni/bin
176178
docker run $(DOCKER_RUN_FLAGS) \
179+
-v /tmp/cni/bin:/host/opt/cni/bin \
177180
"$(IMAGE_NAME)"
181+
rm -rf /tmp/cni/bin
178182

179183
## Build multi-arch VPC CNI plugin container image.
180184
multi-arch-cni-build:

0 commit comments

Comments
 (0)