Skip to content

Instantly share code, notes, and snippets.

@anfernee
Last active March 23, 2023 04:58
Show Gist options
  • Save anfernee/1c8be3e67f1a1789af4af6a43dceab2d to your computer and use it in GitHub Desktop.
Save anfernee/1c8be3e67f1a1789af4af6a43dceab2d to your computer and use it in GitHub Desktop.
# Install the necessary tools.
sudo apt-get update && sudo apt-get install build-essential git make coreutils -y
# Install clang-10 llvm-10.
echo "Running ebpf unit test, installing clang-10 and llvm-10"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
sudo add-apt-repository -y "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main"
sudo apt-get update && sudo apt install clang-10 llvm-10 -y
# Install the newest version of golang.
sudo add-apt-repository ppa:longsleep/golang-backports -y && sudo apt update && sudo apt install golang-go -y
git clone https://github.com/cilium/cilium.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment