Skip to content

stevesloka/envoy-custom-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Envoy - Custom Extensions

This repo contains a sample of how to build custom extensions for Envoy. It assumes that you are building using bazel directly on a machine already provisioned with the proper tooling to build Envoy.

  1. Edit the file extensions_build_config.bzl and comment out any extensions you don't want added

  2. From the Envoy repo, add the following command to the Bazel build command:

    --override_repository envoy_build_config=<absolutePath>/envoy_custom

Example Command:

$ bazel --bazelrc=/dev/null build -c opt //source/exe:envoy-static.stripped --override_repository envoy_build_config=<absolutePath>/envoy_custom

Build Docker Image

$ mkdir -p build_release_stripped && cp bazel-bin/source/exe/envoy-static build_release_stripped/envoy
$ docker build -f ci/Dockerfile-envoy -t stevesloka/envoy:disext .

About

Sample repo for disabling Envoy extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published