How to build envoy

Posted by zhuizhuhaomeng Blog on March 12, 2025

download source code

1
2
3
git clone git@github.com:envoyproxy/envoy.git
cd envoy
git checkout v1.32.3

check bazel version

1
2
$ cat .bazelversion
6.5.0

download bazel version

Find bazel in https://github.com/bazelbuild/bazel/releases/tag/7.5.0. Change the version to your own.

1
2
3
wget https://github.com/bazelbuild/bazel/releases/download/6.5.0/bazel-6.5.0-linux-x86_64
chmod a+x bazel-6.5.0-linux-x86_64
mv bazel-6.5.0-linux-x86_64 /usr/bin