Skip to content

Commit

Permalink
Create libpcap.so.0.8 symbolic link
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiawei committed Feb 19, 2024
1 parent 44f3bf5 commit 687be26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion node/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ARG QEMU_IMAGE
ARG BIRD_IMAGE=calico/bird:latest
ARG UBI_IMAGE

FROM calico/bpftool:v5.0-arm64 as bpftool
FROM calico/bpftool:v5.3-arm64 as bpftool
FROM ${QEMU_IMAGE} as qemu
FROM ${BIRD_IMAGE} as bird

Expand Down Expand Up @@ -240,6 +240,10 @@ COPY LICENSE /licenses
# Delete qemu binaries
RUN rm /usr/bin/qemu-*-static

# Node is build on a debian image with pcap 1.8, but there is no 1.8 available so we copy 1.9 over. Ideally we should
# should build node on a centos image so we can have correct pcap version alignment.
RUN ln -s $(ls /usr/lib64/libpcap.so.1.9.* | tail -n 1) /usr/lib64/libpcap.so.0.8

CMD ["start_runit"]

# Required labels for certification
Expand Down

0 comments on commit 687be26

Please sign in to comment.