Building an Envoy Docker image
Step 1: Build Envoy
Using you will compile Envoy. This image has all software needed to build Envoy. From your Envoy directory:
That command will take some time to run because it is compiling an Envoy binary and running tests.
Warning
These instructions for building Envoy use envoyproxy/envoy-build-ubuntu image. You will need 4-5GB of disk space to accommodate this image.
This script runs as effective root on your host system.
In this step we’ll build an image that only has the Envoy binary, and none of the software used to build it.:
Now you can use this image to build the any of the sandboxes if you change the FROM
line in any Dockerfile.
This will be particularly useful if you are interested in modifying Envoy, and testing your changes.