Skip to content

Commit

Permalink
update dependency for libxdp/libbpf
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS committed Apr 9, 2024
1 parent 6abfbec commit 008a89d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .docker/ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y apt-transport-h
wget && \
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null && \
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' && \
apt-add-repository "deb http://mirrors.kernel.org/ubuntu noble main" -y && \
apt-add-repository ppa:lttng/stable-2.13 && \
apt-get update && apt-get install -y tzdata && apt-get install -y \
build-essential \
Expand All @@ -39,6 +40,17 @@ RUN apt-get update && apt-get install --no-install-recommends -y apt-transport-h
cppcheck \
clang-tidy \
gdb \
libxdp-dev \
libbpf-dev \
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 --version 2.8.1 dotenv
Expand Down
10 changes: 3 additions & 7 deletions .docker/ubuntu-22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y apt-transport-h
wget && \
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null && \
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ jammy main' && \
apt-add-repository "deb http://mirrors.kernel.org/ubuntu noble main" -y && \
apt-add-repository ppa:lttng/stable-2.13 && \
apt-get update && apt-get install -y tzdata && apt-get install -y \
build-essential \
Expand All @@ -39,6 +40,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y apt-transport-h
cppcheck \
clang-tidy \
gdb \
libxdp-dev \
libbpf-dev \
libnl-3-dev \
libnl-genl-3-dev \
libnl-route-3-dev \
Expand All @@ -48,7 +51,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y apt-transport-h
m4 \
libpcap-dev \
libelf-dev \
libc6-dev-i386 \
&& rm -rf /var/lib/apt/lists/*

RUN gem install fpm
Expand All @@ -62,12 +64,6 @@ 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 008a89d

Please sign in to comment.