-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Envoy Windows server code samples #13281
Comments
@envoyproxy/windows-dev |
Maybe we can use a single dockerfile with 2 different build stages? just be sure to only build the Linux stage on Linux and vice versa for Windows:
And/or just 2 different Docker compose files? |
I think it is possible that someone might want to run the Linux samples on Windows. I think that should be possible although I haven't tried it out. |
could you post a WIP PR with the working example? if we can review/update that one it could be a model for the rest
iiuc - yep - i think its likely |
Yeah, I bet we will have to have 2 separate docker compose files |
I will get one rolling and we can iterate more there. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
This doesn't work, docker build/compose is pretty dumb and tries to build all the stages even when you ask to run a specific one |
Trying this out again the more problematic issue is that many examples use images that are linux specific and we may have to build our own for Windows (mostly just echo servers and we could use node.js etc. - though there isn't a Windows docker image available from upstream, some 3rd party images are) |
Description:
I would like to start working on examples (sandboxes) that run on Windows Server Container instead of Alpine Linux. I already got one working but I would like to get more samples to give a good onboarding experience for Windows users.
I have the following questions:
The main issue that I encounter is that by definition the container setup is platform specific and it is hard to write platform agnostic code. One approach is to use powershell core for the samples which is open source and cross platform but I am not sure how familiar the community is.
Currently I have put the code on a personal repository to share it with you but I think the envoy project is better home for this code.
Let me know what you think!
The text was updated successfully, but these errors were encountered: