Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf-builder to use golang:1.20-bullseye to use the right version of libbpf #2

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions bpf-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
FROM golang:1.20-alpine
FROM golang:1.20-bullseye

ENV CGO_ENABLED=1 GOOS=linux
RUN apt-get update
RUN apt-get install -y -q \
build-essential \
binutils-gold \
bash \
clang \
llvm \
libbpf-dev

RUN apk --no-cache update && apk --no-cache add clang llvm libbpf-dev linux-headers

WORKDIR /kubeshark
Loading