-
Notifications
You must be signed in to change notification settings - Fork 107
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
Switch from dotnet/msquic to microsoft/msquic #1020
Conversation
There seem to be build failures @ManickaP |
Broken by: microsoft/msquic#3849 |
Related to #990, we should move these docker images to use multi-stage images that build msquic in one stage and set up the deployed environment (with the built msquic) in another. |
@jkoritzinsky The problem is that the build scripts (and therefore the produced binaries) are different, depending on the architecture (x64, arm, arm64) and openssl version (1.1, 3.0). So out of the 8 updated images here, 6 would have different MsQuic, so the environment cannot be reused between them. Note that Alpine is the only platform where we don't have any official MsQuic packages (tracking issue dotnet/runtime#83789), so we have to resort to the manual build here. All the other images install official packages from packages.microsoft.com |
I'm not saying we use a "builder" image or something like that to share between the images. I just mean that we do a second FROM statement and install the tools needed for runtime in the second stage (and copy msquic from the first stage) instead of having the build tools and msquic source on the image that runs in Helix. |
I'm not following this line of thought. And is it necessary for this PR or should it rather be resolved separately? After all, I'm just changing from where we take msquic sources, nothing else. |
It's not required for this PR. I can take a look at doing it after this is merged as an example. |
Since we opt for consuming the released MsQuic versions, would it make sense to (always) consume the latest published packages where we can? (Ubuntu etc.) The change does not have to be in this PR, but something to consider for the mentioned future improvements. |
@rzikm We do already:
Alpine is the only one where we cannot install the official packages. |
In order to archive https://github.com/dotnet/msquic we have to get rid of the references. This change replaces the dotnet repo with the official MsQuic one.