Skip to content

Commit

Permalink
Bump libbpf to v1.1 and Go to 1.20 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed Mar 18, 2023
1 parent fb51d1a commit 9a06737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.19-bullseye as builder
FROM golang:1.20-bullseye as builder

RUN apt-get update && \
apt-get install -y --no-install-recommends libelf-dev

RUN mkdir /build && \
git clone --branch v1.0.1 --depth 1 https://github.com/libbpf/libbpf.git /build/libbpf && \
git clone --branch v1.1.0 --depth 1 https://github.com/libbpf/libbpf.git /build/libbpf && \
make -j $(nproc) -C /build/libbpf/src BUILD_STATIC_ONLY=y LIBSUBDIR=lib install && \
tar -czf /build/libbpf.tar.gz /usr/lib/libbpf.a /usr/lib/pkgconfig/libbpf.pc /usr/include/bpf

Expand Down

0 comments on commit 9a06737

Please sign in to comment.