Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit e752f37

Browse files
committed
Adding copy command to userspace dockerfile
when the pod spins up across the cluster it copies the userspace binary to the host and then terminates. kubernetes then interacts with this binary from the host Signed-off-by: John O'Loughlin <[email protected]>
1 parent 94aba27 commit e752f37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: docker/userspacecni/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ RUN make build
1616
FROM ubuntu:22.04
1717
RUN mkdir -p /root/userspace-cni-network-plugin/userspace
1818
COPY --from=builder /root/userspace-cni-network-plugin/userspace/userspace /root/userspace-cni-network-plugin/userspace/userspace
19+
CMD ["cp", "-rf", "/root/userspace-cni-network-plugin/userspace/userspace", "/opt/cni/bin"]

0 commit comments

Comments
 (0)