An open API service indexing awesome lists of open source software.

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

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 .
```