diff options
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 87918ce2..6bef8b49 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -448,9 +448,14 @@ RUN apt-get update && apt-get install -y \ llvm \ libelf-dev \ libpcap-dev \ - gcc-multilib \ build-essential +# gcc-multilib is not available on arm64 but required by XDP +RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \ + apt-get update && apt-get install -y \ + gcc-multilib; \ + fi + # Install open-vmdk RUN wget -O /tmp/open-vmdk-master.zip https://github.com/vmware/open-vmdk/archive/master.zip && \ unzip -d /tmp/ /tmp/open-vmdk-master.zip && \ |