docs/root/start/building.rst
.. _building:
The Envoy build system uses Bazel <https://bazel.build/>_.
In order to ease initial building and for a quick start, we provide a recent Ubuntu-based docker container
that has everything needed inside of it to build and statically link Envoy, see :repo:ci/README.md.
In order to build without using the Docker container, follow the instructions at :repo:bazel/README.md.
.. _install_requirements:
Envoy was initially developed and deployed on Ubuntu 14.04 LTS. It should work on any reasonably recent Linux including Ubuntu 20.04 LTS.
Building Envoy has the following requirements:
bazel/README.md#supported-compiler-versions for current requirements.this FAQ entry <faq_build_speed> for more information on build performance.Bazel native <bazel/repository_locations.bzl> dependencies.Please note that for Clang/LLVM 8 and lower, Envoy may need to be built with --define tcmalloc=gperftools
as the new tcmalloc code is not guaranteed to compile with lower versions of Clang.
.. include:: ../_include/windows_support_ended.rst
Envoy supports Windows as a target platform. The requirements below only apply if you want to build the Windows native executable. If you want to build the Linux version of Envoy on Windows either with WSL or Linux containers please see the Linux requirements above.
Building Envoy for Windows has the following requirements:
Build Tools for Visual Studio 2019 <https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019>_MSYS2 toolchain <https://www.msys2.org/>_Bazel native <bazel/repository_locations.bzl> dependencies.Please see :repo:developer use of CI Docker images <ci/README.md> and :repo:building Envoy with Bazel <bazel/README.md>
documentation for more information on performing manual builds.
If you're interested in modifying Envoy and testing your changes, one approach is to use Docker. This guide will walk through the process of building your own Envoy binary, and putting the binary in an Ubuntu container.
.. toctree:: :maxdepth: 2
building/local_docker_build