Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
340 views
in Technique[技术] by (71.8m points)

Trouble Installing Visual Studio 2015 in a docker container for Windows

We use Visual Studio 2015 to build a library at our work, and we want to automate the process. This involves building a docker container for Windows and installing Visual Studio 2015 on it during the container build process. However, when I run the dockerfile, the build hangs during the step where we run the Visual Studio 2015 installer. This is what I have at that step:

RUN "C:TEMPen_visual_studio_professional_2015_with_update_3_x86_x64_web_installer_8922978.exe" --full --quiet --norestart `
    --installPath C:BuildTools

Since it's hanging at that step, with no console output, I have no way of knowing why it's hanging. I believe the flags I've selected make it so that I don't need a GUI to install the 2015 build tools, but the fact that it's still hung after 5 hours means it's probably not doing anything. How can I debug this, and is there a better way to install Visual Studio in a Docker container?

question from:https://stackoverflow.com/questions/65834920/trouble-installing-visual-studio-2015-in-a-docker-container-for-windows

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...