Skip to content

Instantly share code, notes, and snippets.

@qudongfang
Created January 31, 2024 14:54
Show Gist options
  • Save qudongfang/54963faf424a395abecbfa19ae15d1d3 to your computer and use it in GitHub Desktop.
Save qudongfang/54963faf424a395abecbfa19ae15d1d3 to your computer and use it in GitHub Desktop.
compile istio-proxy for linux/amd64 on Mac M1
RELEASE=1.19
git clone https://github.com/istio/proxy.git
cd proxy
git checkout ${RELEASE}
# make your changes to the source code
# gperftools_build issue: https://github.com/qudongfang/envoy/commit/cbdc7b6edc06f7d09e73fe5495396ed988ff9530#diff-b41c4b58d2c12b8e10909bbaceadd6b63640b30aea3f9cc9cedad2777a6173f2
docker run --platform linux/amd64 -it -w /work -v $PWD:/work gcr.io/istio-testing/build-tools-proxy:${RELEASE} bash
make build_envoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment