Skip to content

Commit

Permalink
setup container env for linux xdp (#3854)
Browse files Browse the repository at this point in the history
* setup container env for lnux xdp

* remove ForTest deps

* resolve gcc-multilib deps' conflict

* install gcc-multilib

* remove gcc-multilib then covered by CMakeLists.txt
  • Loading branch information
ami-GS authored Mar 21, 2024
1 parent 7bf265f commit 0163551
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .docker/ubuntu-22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ RUN apt-get update && apt-get install --no-install-recommends -y apt-transport-h
cppcheck \
clang-tidy \
gdb \
libnl-3-dev \
libnl-genl-3-dev \
libnl-route-3-dev \
zlib1g-dev \
zlib1g \
pkg-config \
m4 \
libpcap-dev \
libelf-dev \
&& rm -rf /var/lib/apt/lists/*

RUN gem install fpm
Expand All @@ -52,6 +61,12 @@ RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsof
powershell \
&& rm -rf /var/lib/apt/lists/*

RUN wget -q https://github.com/libbpf/bpftool/releases/download/v7.2.0/bpftool-v7.2.0-amd64.tar.gz -O bpftool-amd64.tar.gz && \
tar xvzf bpftool-amd64.tar.gz && \
chmod +x ./bpftool && \
mv ./bpftool /usr/sbin/bpftool && \
rm -rf bpftool-amd64.tar.gz

RUN dpkg --add-architecture arm64
RUN dpkg --add-architecture armhf

Expand Down

0 comments on commit 0163551

Please sign in to comment.