github.com/undoio/delve@v1.9.0/pkg/proc/internal/ebpf/build/ebpf-Dockerfile (about)

     1  FROM ubuntu:21.04
     2  
     3  ENV DEBIAN_FRONTEND noninteractive
     4  RUN apt-get update && apt-get install -y \
     5      build-essential \
     6      gcc-multilib \
     7      git \
     8      wget \
     9      clang \
    10      linux-headers-5.11.0-40 \
    11      libbpf-dev
    12  
    13  RUN wget https://golang.org/dl/go1.17.3.linux-amd64.tar.gz
    14  RUN tar -C /usr/local -xzf go1.17.3.linux-amd64.tar.gz
    15  RUN cp /usr/local/go/bin/go /usr/bin/go
    16  
    17  WORKDIR /delve-bpf/pkg/proc/internal/ebpf/
    18  
    19  CMD [ "go", "generate", "./..." ]