add step to create symlinks - required for compiling eBPF program
This commit is contained in:
parent
d422724556
commit
0b876665d5
@ -9,6 +9,10 @@ RUN apt update -y && \
|
|||||||
apt upgrade -y && \
|
apt upgrade -y && \
|
||||||
apt install -y wget git clang linux-headers-amd64 libbpf-dev
|
apt install -y wget git clang linux-headers-amd64 libbpf-dev
|
||||||
|
|
||||||
|
# Create a few symlinks
|
||||||
|
RUN ln -s /usr/bin/llvm-strip-14 /usr/bin/llvm-strip && \
|
||||||
|
ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/asm
|
||||||
|
|
||||||
# Install golang - Latest at: https://go.dev/dl/
|
# Install golang - Latest at: https://go.dev/dl/
|
||||||
RUN wget https://go.dev/dl/go1.22.2.linux-amd64.tar.gz && \
|
RUN wget https://go.dev/dl/go1.22.2.linux-amd64.tar.gz && \
|
||||||
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz && \
|
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user