Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile for building proxy #124

Open
2011aad opened this issue Jan 31, 2024 · 8 comments
Open

Dockerfile for building proxy #124

2011aad opened this issue Jan 31, 2024 · 8 comments

Comments

@2011aad
Copy link

2011aad commented Jan 31, 2024

Same as #112.
Is there any instructions?
I'm also stuck here.

@zhaohuabing
Copy link
Member

@2011aad
Copy link
Author

2011aad commented Jan 31, 2024

Following this guide, I build the envoy binary success. But I don’t know what should put into the image, only the envoy binary? Or with some dependencies and configurations. Really appreciate for the reply^_^

@zhaohuabing
Copy link
Member

You mean how to build istio-proxy?

@2011aad
Copy link
Author

2011aad commented Jan 31, 2024

Yes. I see when using istio with aeraki, I need change proxy image to meta-protocol-proxy:1.4.2. I want to know how to build a new version.

@2011aad
Copy link
Author

2011aad commented Jan 31, 2024

Is the following method the right way?
https://discuss.istio.io/t/building-istio-with-custom-envoy/7239

@zhaohuabing
Copy link
Member

@2011aad Sorry this hasn't been written down in docs. You can find the script here: https://github.com/aeraki-mesh/istio/blob/aeraki-1.18.1/build-proxy.sh

@2011aad
Copy link
Author

2011aad commented Feb 2, 2024

Thanks. I'm building istio-proxy with my own envoy binary. After build istio docker.proxyv2, I use the following dockerfile content to replace envoy binary within the image and works. ^_^

Dockerfile

FROM localhost:5000/proxyv2:latest
COPY envoy /usr/local/bin/envoy
ENTRYPOINT ["/usr/local/bin/pilot-agent"]

@zhaohuabing
Copy link
Member

Yes, that would also work, but the image will be larger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants