Open zillemarco opened 1 week ago
Thank you for creating an Issue. Please note that GitHub is not an official channel for Microsoft support requests. To create an official support request, please open a ticket here. Microsoft and the GitHub Community strive to provide a best effort in answering questions and supporting Issues on GitHub.
@zillemarco Hey, thanks for bringing up this Issue. Have you tried to use a recent Windows Server Core LTSC 2022 image? Or only the 2019 version? I ask because we don't provide support for 2019 anymore.
Hi @ntrappe-msft, I did not because I don't have any server running win2022 and docker, and it wouldn't be a solution anyway because the server the image I'm trying to build is running win2019 unfortunately.
I also tried installing other software in the image, just to make sure it wasn't only related to Visual Studio, but anything I try to install it fail.
Moreover, the last image for ltsc2019 was built and published less than a month ago, so isn't it still kinda supported?
Describe the bug I am trying to install VS 2022 build tools inside of a docker container to build an image and use it for our CI builds. I already had an image working, but now I needed to update a dependency so I had to rebuild it (TL; DR: it worked last time I built it).
However, the installation now fails with error code 1603.
I have extracted the VS installation logs from the container and the main issue seems to be this:
I run an
sfc /scannow
inside brand new container using the image and it did find some corrupted files, so maybe the image itself has issues?To Reproduce You should be able to reproduce this by building the following Dockerfile (based on the example here, where you can also find the Install.cmd file contents):
Expected behavior The image builds without issues.
Configuration:
mcr.microsoft.com/windows/servercore:ltsc2019