https://github.com/stevesloka/envoy-custom-extensions
Sample repo for disabling Envoy extensions
https://github.com/stevesloka/envoy-custom-extensions
Last synced: 3 months ago
JSON representation
Sample repo for disabling Envoy extensions
- Host: GitHub
- URL: https://github.com/stevesloka/envoy-custom-extensions
- Owner: stevesloka
- License: apache-2.0
- Created: 2019-12-05T00:01:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T16:51:15.000Z (over 4 years ago)
- Last Synced: 2025-01-25T06:41:35.602Z (5 months ago)
- Language: Starlark
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```bash
--override_repository envoy_build_config=/envoy_custom
```Example Command:
```bash
$ bazel --bazelrc=/dev/null build -c opt //source/exe:envoy-static.stripped --override_repository envoy_build_config=/envoy_custom
```## Build Docker Image
```bash
$ 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 .
```