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

Commit 773f04d

Browse files
author
Eoghan Russell
committed
Fix error
Signed-off-by: Eoghan Russell <[email protected]>
1 parent 0203b94 commit 773f04d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/userspacecni/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@ RUN go mod download \
1212
&& make generate \
1313
&& go mod tidy \
1414
&& make generate-bin
15+
16+
# Copy build userspace cni bin to a small deployer container
17+
FROM alpine:3.18@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978
18+
RUN mkdir -p /root/userspace-cni-network-plugin/userspace
19+
COPY --from=builder /root/userspace-cni-network-plugin/userspace/userspace /root/userspace-cni-network-plugin/userspace/userspace
1520
CMD ["cp", "-rf", "/root/userspace-cni-network-plugin/userspace/userspace", "/opt/cni/bin"]

0 commit comments

Comments
 (0)