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

Fix build failure of windows-ltsc2019 image #358

Merged
merged 3 commits into from
Jul 20, 2023
Merged

Conversation

ashie
Copy link
Member

@ashie ashie commented Jul 20, 2023

Recent chocolatey requires .NET 4.8 but servercore:ltsc-2019 image doesn't include it. In addition, when we try to install it, it requires reboot. Therefore it's detected as installation failure.

Installing 'C:\Users\CONTAI~1\AppData\Local\Temp\ndp48-x86-x64-allos-enu.exe' - this may take awhile with no output.
.NET Framework 4.8 was installed, but a reboot is required.
Please reboot the system and try to install/upgrade Chocolatey again.

So this PR replace the base image with mcr.microsoft.com/dotnet/framework/runtime:4.8 to fix this issue.

Signed-off-by: Takuro Ashie <[email protected]>
Recent chocolatey requires .NET 4.8 but servercore:ltsc-2019 image
doesn't include it. In addition, when we try to install it, it requires
reboot. Therefore it's detected as installation failure.

```
Installing 'C:\Users\CONTAI~1\AppData\Local\Temp\ndp48-x86-x64-allos-enu.exe' - this may take awhile with no output.
.NET Framework 4.8 was installed, but a reboot is required.
 Please reboot the system and try to install/upgrade Chocolatey again.
```

Signed-off-by: Takuro Ashie <[email protected]>
@ashie ashie requested a review from cosmo0920 July 20, 2023 04:07
Copy link
Contributor

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I re-kicked the failed tasks and confirmed that they can be built within the CI tasks.

@ashie ashie merged commit 6a49756 into master Jul 20, 2023
9 checks passed
@ashie ashie deleted the windows-fix-build branch July 20, 2023 05:56
@ashie
Copy link
Member Author

ashie commented Jul 20, 2023

Thanks for your review!

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

Successfully merging this pull request may close these issues.

None yet

2 participants