- Create build directory in $PWD, download istio and proxy source code.
- Call make build_envoy to build the proxy to build/envoy.
- Call make build to build istio binaries.
- Call make docker.push to build istio docker images and push them.
- A 16C32G arm64 vm is prefered, I did try to build in a 2C4G vm, clang was OOM-killed.
- Docker installed.
- docker login before calling make
- It is known to work in Linux or Mac OS.
- Build the builder images:
make build-tools
- Build istio, you can specify the version to be built, and also HUB/BUILDER_HUB can be overrided :
ISTIO_VERSION=1.7.3 HUB=istioarm64 make build-istio
- Cleanup build directory, docker builder caches and so on.
make cleanup