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
Unable to reliably build containers #7
Comments
There are restrictions, such as you can't install .NET Framework as part of the VS install into Windows containers, which don't install .NET Framework (at least certain versions) by default. Attempts will fail in unpredictable ways, which is why examples start with a To troubleshoot further, logs are needed. Given the sporadic nature, this could be a connection issue through your configured network (nat, transparent, or otherwise). |
I meant to include the logs. I have edited the original post and added the log. I did see the logs with 255 in the name was failing to add .NET. I will look at what .NET images are available and try that. |
Could you recommend a FROM line for installing VS 2019? I have tried |
Neither log is showing an install error. They are showing that the install succeeded, actually. Sure it's not one of the subsequent commands? The errors correspond to |
Given the logs zip were generated and only command that is capable of generated them is the VS install that would pretty conclusively point to the vs install failing. Am I thinking about that wrong? I am going to look through the logs and maybe capture the output from the docker run as well. |
I have attached the shell output from running the log |
I reinstalled windows and now the images are building reliably, I think something may have gotten broken with docker or another program I installed was interfering. |
I am having spurious results installing the visual studio build tools in a docker container. Here are the host system details:
Host OS
Docker Desktop
Dockerfile
It seems there is no consistency in being able to install the build tools in any of the windows containers.
I was able to get the native-desktop image to build but it includes a bunch of stuff I didn't want and I was also interested in using VS 2019.
Additionally the top FROM directive (servercore:ltsc2019) worked two days ago but my computer was having issues with Explorer.exe so I reinstalled windows.
vslogs_2147483651.zip
vslogs_255.zip
The text was updated successfully, but these errors were encountered: