Skip to content

Commit 02dc319

Browse files
authored
Merge pull request #195 from cloudflare/ivan/dockerfile-bump
Bump libbpf to v1.1 and Go to 1.20 in Dockerfile
2 parents fb51d1a + 9a06737 commit 02dc319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM golang:1.19-bullseye as builder
1+
FROM golang:1.20-bullseye as builder
22

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

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

0 commit comments

Comments
 (0)